yashsingh1/xdaforums huggingface dataset:
[Mi 3 General] SkipperRyujin:
hi all, this is my 1st post ni XDA :D

i found that in deepsleep mode, capacitive button didnt wake the screen on the first touch but only wake the cpu, and the next touch wake the display. I also trying to edit some governor parameter trying to eliminate the random reboot and it works on some point (see screenshot i posted) BUT the phone still reboot on kpanics (kernel panics) which we know we dont have source for it. im trying to disable reboot on kernel panic and it resulted in freeze, trying to disable panic on oops and it resulted in "no touch response"

dunno what to do if it related to kernel
[Mi 3 General] The Dork Knight Rises:
Keep up the good work... Hoping you may succeed...:fingers-crossed:
[Mi 3 General] Kamal_Saran:
Keep it up mate good work[emoji1]
[Mi 3 General] Deslang16:
Great Rom, but the reboots makes me crazy! Hope someone find a solution!
[Mi 3 General] The Dork Knight Rises:
Meantime, you can try the workaround. Get a wake lock app... It works fine for me.
[Mi 3 General] Hadi al-Haiqal:
Yup.. Wakelock apps.. Can't resist the smoothness in this rom.. Better than dev aosp 4.4.4
[Mi 3 General] Engic0:
Guys anyone getting touch problems with ivans AOSP 5.0? Or is this problem with my touchscreen? :(

Occurs all of a sudden, reboot solves it most of the time... Have not dropped the phone ,but have charged with different chargers. Have not gone back to stock/kitkat to check yet...
[Mi 3 General] The Dork Knight Rises:
I've always had touch problems when charging in all ROMs (something about faulty earthing in my building).

As for software problems, I think [MENTION=5324620]Mr Rainman[/MENTION] mentioned something like that...
[Mi 3 General] deepesh.tickoo:
I'm having sudden automatic touch issues, not a major for me because happens very less.
[Mi 3 General] Engic0:
Ya same here... Not that frequent but makes phone unusable for some time... I hope its some problem with ivans 5.0... No service centres around here :(
[Mi 3 General] deepesh.tickoo:
yups its ROM related only, had the same in my other phone too, at that time it was kernel related! Maybe this time phone continuously running on 300MHz is causing this. Not sure though...
[Mi 3 General] Tomi_Ohl:
I have touch issues sometimes even on MIUI, it happens most of the time when I boot my phone when it's in my pocket. To be accurate, I've experienced two types of problems so far:

The screen feels some touches even if I don't touch it (a.k.a ghost touch)

The screen becomes very less sensitive, I have to press it hard.
[Mi 3 General] patelumangv:
Same thing happens to me also. Exactly as you said.
[Mi 3 General] deepesh.tickoo:
+1
[Mi 3 General] The Dork Knight Rises:
1. When charging, get it in all ROMs I've tried (something to do with faulty earthing in my building like I said)

2. In AOSP 5.0, occasionally.
[Mi 3 General] Deslang16:
Can you recommend a wake lock app?

There many apps and by some, you need xposed and thats not working with lollipop.
[Mi 3 General] Tomi_Ohl:
Wake Lock - PowerManager from Play store, select Partial wakelock. Or just install SuperUI.

[MENTION=1007992]everyone[/MENTION], are the touch problems present for you in MIUI too?
[MENTION=5782089]The Dork Knight Rises[/MENTION], are you sure it's about that earthing? I had same ghost touch problems on Xperia mini pro because of an other charger/USB cable. Did you try it with other chargers/USB cables?
[Mi 3 General] sivabommakanti:
Source pls
[Mi 3 General] AmeyMhatre96:
I cant post links but you can find it in miui forums.
[Mi 3 General] ZenR2:
wondering how he managed to build it without the kernel sources :p
[Mi 3 General] Archmag3:
https://www.facebook.com/miuiromchi...3658043693779/797080023684908/?type=1&theater
[Mi 3 General] aditya2611:
OP just wants some attention

Don't make threads just for clicks. This is XDA not Miui forum where people make a thread like 'What is your favourite color ?' 'Do you prefer oranges or apples ?' .
[Mi 3 General] ddmanfire:
Do you think its possible to port it because its the exact same phone with different bands?
[Mi 3 General] fazreen:
I dont think so as TD version uses Tegra 4 and MI3W using snapdragon chipset. Its two major different things to deal with.
[Mi 3 General] AmeyMhatre96:
Not just bands but socs are also different! i.e tegra 4 on TD

Anyways we would get it too!!
[Mi 3 General] s4tch:
that's not fresh news, there has been a mi3td 5.0 thread on the official miui forum for about 10 days.
[Mi 3 General] The Dork Knight Rises:
Actually the similarities are only skin deep...

They're hardly the same phone. Different bands, different SoCs... They just share the same name...

---------- Post added at 07:25 PM ---------- Previous post was at 07:23 PM ----------

It's a port, not built from source, i think...

---------- Post added at 07:31 PM ---------- Previous post was at 07:25 PM ----------

Well, he's definitely got a booting build (see THIS post.)

Though yeah, there could be some red tape as sources are not released...
[Mi 3 General] buggerman:
There seems to be total silence on this matter now.. I hope Xiaomi hasn't pulled the plug on a potential release.
[Mi 3 General] LoveForEver:
Why should they? Cause they let him bring KitKat AOSP and Lolipop on MI3 TD. So i don't think it's related to asks from Xiaomi. He's still a programmer of xiaomi and he has to program on miui programs first i suppose. So he may be busy actually :)
[Mi 3 General] buggerman:
I heard he is a sys-admin, not a MIUI developer/ programmer..

Sent from my Android phone with SuperCow powers

---------- Post added at 04:35 AM ---------- Previous post was at 04:26 AM ----------

Also, you seem misinformed. Ivan did not bring Lollipop to TD.

Sent from my Android phone with SuperCow powers
[Mi 3 General] DroidBot:
Check 'Android Development' section, lollipop build is up...
[Mi 3 General] buggerman:
That one is a port using the AOSP KK as base. People have reported Volume keys not functioning, random reboots, etc. I'd wait for Ivan if I was to install this on a daily driver.
[Mi 3 General] The Dork Knight Rises:
Uh-uh, that's just the one guy who, according to the OP, got it to boot...

It hasn't booted for anyone on the thread at all...

EDIT: Decided to try myself. No luck. It's a sucky port with no hope of booting, cuz he just replaced some Lollipop stock apps in sytem/app and /priv-app....LOL
[Mi 3 General] The Dork Knight Rises:
UPDATE! Lollipop based MIUI!

My convo with Hugo Barra, confirming (hopefully truthfully this time) Lollipop for Mi3 and release of kernel sources.

See MY POST.
[Mi 3 General] lovleshgarg:
From Ivan's weibo:

3W is now 5.0 meters is still an unstable version.*So nothing planned.*Busy, plan did not break out!*!
[Mi 3 General] ZenR2:
He's just fooling around with us,

He wont be releasing android l for mi3 before miui gets updated to android l .
[Mi 3 General] KeyLimePies:
Exactly this. It took him such a short while to get lollipop running on the mi2, he even has official kernel sources available for mi3 as he is working there. Do you think Xiaomi will allow him to release stock android lollipop before miui gets updated to lollipop? Xiaomi just wants everyone to use iOS copy MIUI which is why they have kept delaying the release of the kernel source codes.
[Mi 3 General] Deslang16:
Thanks man! installed it and no reboots so far![emoji106]
[Mi 3 General] LKspro:
I reinstall miui5 yesterday, all touch problems seem to disappear...
[Mi 3 General] Hadi al-Haiqal:
Just need to clear cache and dalvik..
[Mi 3 General] SkipperRyujin:
Found some luck :D

Hi guys, this is the last screenshot of my mi3 running lollipop. If until tomorrow my phone didn't reboot at all, i will post the trick for reboot problem and yes, the capacitive button didnt wake up screen after about 5 seconds from the phone lock
[Mi 3 General] Jhayzt:
And here I'm dancing like an idiot because of excitement. YEAAAAAAAAHHHHHH!!
[Mi 3 General] Engic0:
Awesome man!!!

And that Antutu score... 40k plus with Lollipop ... How? I am getting 28k :confused:
[Mi 3 General] The Dork Knight Rises:
Even if it does reboot like, once in 24 hours, could you share it anyway? We'd all like to try this, I'm sure....

But awesome work, dude!:good:

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

This happens with both my Xiaomi chargers (I'll try with my older Samsung ones today).

I managed to eliminate the ghost touch problem by connecting a portable battery pack to the wall charger and charging my phone via the portable charger... But my portable charger has output of 1 Amp, hence it takes a LONG time to charge...

But I'll see if you're right and try my older chargers today.:fingers-crossed:
[Mi 3 General] srvoleti:
Fantastic man! Even if some reboots are present, it is worth trying. Waiting for your post eagerly....
[Mi 3 General] SkipperRyujin:
I just edited the interactive governor parameter with one that i found in lg g3 thread, and bcoz im not sure to add it with init.d, so i try to add it in changepowermode.sh (located in /system/bin) and init.qcom.post_boot.sh (located in /system/etc) and also disable NFC from build.prop and rename the NFC library so it will be useless when it acessed by system.

Why NFC? Coz some mi4 uses reported that their device didnt face reboot and capacitive button problem AND the difference between mi3 and mi4 is, mi4 dont have NFC! So i think accesing NFC in mi3 (which is not work yet in lollipop) might cause the kernel error.

I'm attaching the file that i edit in attachment. Sorry for my bad english.

Edit: yeah, it reboot again :'(
[Mi 3 General] deepesh.tickoo:
Great efforts bro!

How often your phone reboots with these changes?

Anyhow, I'm gonna try this ASAP.

Also, do we have to rename the files, remove .txt extensions and then paste them in the specified locations?

EDIT: I found the reason behind the 'less touch screen sensitivity' issue, it happens because of the phone being used up in low CPU frequencies, i.e 300MHz. There are many issues in this ROM regarding only the kernel!

I hope Xiaomi releases the sources soon!
[Mi 3 General] SkipperRyujin:
It rebooted once, and the reason is "other" with detail 0x80180 (i already googling it and still not found what is the code means). Maybe its related to proximity sensor? Coz the phone only reboot when inside pocket or in upside-down position.

Yes you can just rename it and copy to dedicated folder but i prefer if U open it and compare it with original one so we know what exactly the value that i change ;)

Btw anyone knows where the parameter of the battery stored?

---------- Post added at 12:34 PM ---------- Previous post was at 12:25 PM ----------

Well, i think its not because of the cpu coz i edited the cpu to running in lower speed :D

I also face that problem, not only less sensitive but also no response at all ( i face it when i just flashing lollipop and tryin to prevent reboot by disabling kernel panic and panic on oop) so dunno whats going on... in fact im not facing that problem anymore after doing the "trick" i mentioned above, the capacitive button also working "normally" (it not wake the screen after about 5 second the screen lock, under 5 second it still wake the screen).

I also found bug with pattern lockscreen. Sometimes when i wake the screen it written "wrong pattern, last attempts: 0" even i didnt touch the pattern but i still can open it with the right pattern
[Mi 3 General] Tomi_Ohl:
Thanks man, it looks like it still goes to deep sleep, if it reboots only a few times we can disable SIM PIN code and it will be okay.

AFAIK even the stock charger for Mi3 has 1 Amp (it takes 3.5h to charge it). How much has your charger?

Yeah, it could be related to it, cuz I get the touch issues only when I boot my phone in pocket, so maybe we have a problematic proximity sensor. I can imagine that those cause these issues, too.
[Mi 3 General] deepesh.tickoo:
Xiaomi's charger is of 2A bro.

Edit: nvm
[Mi 3 General] FcukBloat:
the charger i got with my mi3 is 1A not 2A....
[Mi 3 General] deepesh.tickoo:
o.O How is that possible!

Can you PM me the image of the readings on the charger?

Although it does not matter that much I guess. :/
[Mi 3 General] Jhayzt:
hmm that's weird.. I haven't got any sort of random reboots since using the trick. ....its....working?

---------- Post added at 07:11 PM ---------- Previous post was at 06:29 PM ----------

By the way, I think the op on the chinese thread has updated the ROM.. the date of the thread has been changed. can anyone check?
[Mi 3 General] ohcanada:
I had a hunch about NFC causing problem because the reboot is definitely due to kernel panic, by disabling the hardware that was not currently working, the system will ignore that. Good job! Since Ivan is not making any new update on mi3 yet (not his fault cuz as miui's engineer they are working hard to push miui6 to other xiaomi phones, plus chinese new year is fast approaching).
[Mi 3 General] SkipperRyujin:
The reboot caused by kpanics is not happen anymore in last 2 days but the "other" cause is still there :'(

Maybe if someone knows what is 0x80180 code, we can make it somehow

I already check it and no update. I think the update will be there in next year since ivan mentioned "the year the only version" (translated by google)

But some people in chinese thread mentioned about random reboot caused by google play service, i wanna check but the link is hidden and i dont have an account there
[Mi 3 General] ohcanada:
Hi there, i know chinese, I checked their link, it's basically a gapp zip.
[Mi 3 General] Jhayzt:
That's interesting.. Maybe its a modified of GAPPS. Can you try downloading it and see?
[Mi 3 General] ohcanada:
Is there a way to obtain the logcat when reboot happen?
[Mi 3 General] Jhayzt:
hmm.. now that you mentioned GPServices.. I think yes. It must be its fault. The messenger app from google is tied with GPServices. Whenever I receive and then ignore a text message, the phone wakes up from deepsleep and then sleeps again, the phone reboots.
[Mi 3 General] ohcanada:
Guys I got some logcat from the phone when the screen is off. GMS_NETWORKLOCATIONPROVIDER had a few errors and it seems like it's having hard time getting a fix. Not sure if that's helpful...
[Mi 3 General] Tomi_Ohl:
That's Google network location, it's a process of Google Play Services. So it's a Gapps related issue. Did you try to install that Gapps zip from MIUI forum mentioned some posts ago?

Already sent him a PM about it, and we discussed it and the conclusion is, that the Indian variant has 2A charger. Indian variant is the WCDMA version. We think we can use 2A chargers, it won't hurt the phone, because it will take only the amount what it can receive. So yes, this way we can charge our phones faster. Basically any 5V charger will be good, the A doesn't matter.
[Mi 3 General] FcukBloat:
here it is. easier than via pvt and may be interesting for other mi3 users i think :)[emoji14]

i guess it is a original charger by xiaomi.. you mean you guys with mi3 got a 2A charger with your phone? if so I guess i could use a 2A charger as well.. and maybe charge up my battery faster?!
[Mi 3 General] ohcanada:
First of all, I must say that NFC fix in this thread really made a huge improvement however occasional reboots (far less) are still happening.

I ran the logcat recorder and this is the log (Error only) right before the reboot (I set the rule as write to storage every 10 lines). We may be still missing a few lines but I think I captured most of the important info we need.

I wasn't sure so I ran the logcat recorder again so it's easier to detect recurrences.

So far I think the location provider and cpu power state may be the root cause...
[Mi 3 General] Jhayzt:
Thanks Ohcanada! After seeing your logcat, I think the phone needs to know where you are. I know this is weird but, have you tried installing google maps? Try installing GMaps and let it know where you are. Then do another logcat. :)
[Mi 3 General] ohcanada:
But that's just weird....I already had Google map....
[Mi 3 General] Jhayzt:
Hmmmmmmm. Glaring. How bout turn off the location and give it a try?
[Mi 3 General] ohcanada:
I'll look into that as well. But My guess to the problem now is that cpu power state error. Because that can have an effect on cpu's voltage. Based on my experience in over/underclocking, if you mess with the voltage, you WILL have reboots....
[Mi 3 General] Jhayzt:
So it does have to do with the kernel then. Maybe you can extract the kernel and fiddle with the frequencies.
[Mi 3 General] SkipperRyujin:
Thats why i edit the init.qcom.post_boot coz i found a line that edit sys_cap_freq of the cpu0, cpu1, cpu2, and cpu3 BUT i found that the only valid parameter is only on cpu0 direction. In other cpu folder there is no such file exist AND somehow it set the sys_cap_freq is set to 2456000 (which IS the max frequency for mi4)(its the original parameter, i edited it to mi3 max freq at 2265600 and in 2nd thought i edited it to 9600000). The file that I edited is set the cpu for running in lower frequency in order to save the battery ( its awesome to have the phone on from 6 a.m to 0 a.m) and increase the response from the governor. But I still dont understand why it bump the antutu score so high (first install it get about 37000 score)

Try to enable high accuracy in location setting. My phone didnt reboot from 0 a.m until now

Edit : its 8.50 a.m in here
[Mi 3 General] ohcanada:
Thank you for your reply. I have my gps location accuracy in High accuracy all the time. If you don't mind can you share your gapp zip? Or at least give me the link? Thank you very much!
[Mi 3 General] deepesh.tickoo:
I think if this issue is because of Google Location Provider Services then we should use the gapps provided in miui Chinese thread of Ivan's lollipop!
[Mi 3 General] Jhayzt:
I've been searching for that gapps since last night and.. I can't find it anywhere in the thread. :(
[Mi 3 General] SkipperRyujin:
i agree with [MENTION=3805298]deepesh.tickoo[/MENTION] , maybe someone can share the link to download or mirror it ? i'm using google app minimal edition release 2014-11-17 found in xda and the random reboot still happen :D
[Mi 3 General] Jhayzt:
I tried searching it and its nowhere to be found in the thread.. :(
[Mi 3 General] ohcanada:
Anyways I wipe the system and reflash everything. This time I used pa's gapp. Let see if that makes a difference.
[Mi 3 General] SkipperRyujin:
i found the link and password, also downloading it now but the connection very slow... anyway is it permitted to post the link here?

btw for anyone who use my edited parameter, change the io_is_busy parameter to 1,
[Mi 3 General] Jhayzt:
I don't think so its allowed. Can you pm me the link?

Umm in this file? init.qcom.post_boot?
[Mi 3 General] SkipperRyujin:
yes, and also in changepowermode. i also curious about the gapps, lets hope it not just another wakelock apss :D

download finished, trying it now

btw, PM sent

edit: its just add a wakelock app called SuperUI.APK :D
[Mi 3 General] Jhayzt:
umm.. in changepowermod, is it this line?

/sys/devices/system/cpu/cpufreq/interactive/io_is_busy

echo 300000 >

and in init

echo 0 > /sys/devices/system/cpu/cpufreq/interactive/io_is_busy

yup! got your pm! :D
[Mi 3 General] srvoleti:
Which file ? init.qcom.post_boot or changepowermode.sh? Please clarify. Also please pm me the link to gapps. Thanks.
[Mi 3 General] Jhayzt:
aww bummer.. haha. I was about to download it and saw your comment.
[Mi 3 General] SkipperRyujin:
change

echo 0 > /sys/devices/system/cpu/cpufreq/interactive/io_is_busy

to

echo 1 > /sys/devices/system/cpu/cpufreq/interactive/io_is_busy in both file,
[Mi 3 General] deinb:
R,,
[Mi 3 General] deepesh.tickoo:
each and every every link can be shared in this thread other than the ROM download link containing the boot image as we dont have the sources yet. :D
[Mi 3 General] vasishath:
gapps

hey! just saw you guys talking about gapps.. initially, when the rom was released, i installed gapps from oneplus forums. and during that time, i hardly experienced any reboots (once in a day or so).. but as soon as i installed minimal gapps as suggested in this forum, i get much more reboots (more than 5 to 6 times a day) and that too is more often if device is placed upside down (flipped).. i think the minimal gapps package is really causing trouble here
[Mi 3 General] i snort flour:
It's not just yours it seems to happen now and then but the longer you use the rom the better it seems to get mine rarely ever had a problem now usually only the touch problems happen in my browser in which case closing and reopening it usually solves the problem or reboot solves it. At first my aosp 5.0 by Ivan would lose the word prediction bar and my benchmarks were super low benchmarks have gone from -8k to -4k and word prediction bar never messes up anymore

Sent from my Xiaomi MI 3W
[Mi 3 General] Armin_van_buuren:
Then there are solution for restarts?

If so someone if you please put the link or send mp with the link, thanks.
[Mi 3 General] Hadi al-Haiqal:
Use wakelock apps.. By darken.. At playstore
[Mi 3 General] vasishath:
new gapps

Found these new minimal gapps on xda.. someone please try using these and tell accordingly.. since the link was very slow, i have uploaded it to mega. Here is the link: https://mega.co.nz/#!25xDTCzT!P3JCyn0elED_07BHDlhqRkrqIXpkyIhHeVptdwNpMKs
[Mi 3 General] FcukBloat:
can't believe reboots are due to gapps.. why should they make mi3 to reboot and other phones not?
[Mi 3 General] i snort flour:
Because of hardware and software conflicts. Its kinda like how 2 different phones can be running the same version of lollipop but if you flash the same kernel to both phones one runs perfectly and the other hard bricks

Sent from my Xiaomi MI 3W
[Mi 3 General] s4tch:
did anyone test the rom without gapps? that would be an easy way to check whether gapps cause the reboots or not.
[Mi 3 General] Armin_van_buuren:
Very good idea.

I'm loading some battery and now I try it.
[Mi 3 General] ohcanada:
I reflashed my rom and I used Pa's latest beta minimal gapp (~150MB) with the NFC fix in this thread. So far I only see 2 reboots which is a dramatic improvement. I can't believe that gapp can make a difference.....but why though?....
[Mi 3 General] Armin_van_buuren:
I'm using a minimal of 133MB and being in the pocket've had a reboot, putting the Mi3 upside down does not restart and if it's in my jacket pocket I do not have reboots.

---------- Post added at 10:45 PM ---------- Previous post was at 10:08 PM ----------

I flashed the rom with all the wipes, no root or gapps.

Took a long time trying to carry the phone in the pocket, jacket and forcing a reboot and now works perfectly.

I'm almost certain that it is problem of gapps.
[Mi 3 General] ohcanada:
This is really interesting! I know that Ivan stated in his microblog post that he didn't experienced any reboot but his user did. And he didn't have any gapp installed in his screenshots. As your observation in not rebooting when phone is upside down, my logcat (in this thread, around page 40) did have a few error entries about rotation vector. I'm not sure if that's related to this.
[Mi 3 General] Armin_van_buuren:
I just 30MB flash the gapps that come with the right to enter account.

Again tested in the same conditions.

---------- Post added at 11:08 PM ---------- Previous post was at 11:00 PM ----------

Same conditions of use and for now no trace of restarts.

I just put my mind without download or restore any application.
[Mi 3 General] s4tch:
i also flashed the rom without gapps, no reboots in the last 3 hours. i restored some basic apps like tapatalk, quickpic or es file explorer with titanium backup, all works fine so far.

EDIT: nevermind, test without gapps failed, just got my first reboot.
[Mi 3 General] colocynth:
Hey guys, is xposed working in this ROM?
[Mi 3 General] ZenR2:
Not yet
[Mi 3 General] colocynth:
THX :(
[Mi 3 General] theloneseeker:
Can someone try with Auto rotation off...
[Mi 3 General] vasishath:
Did you replace those files ? As described above to disable nfc..
[Mi 3 General] nsakhare:
Dude its kernel related issue... not gapps issue.:p so need to wait till kernel sources are available or Ivan releases an update :angel: