yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] costash:
Hi Mahdi,

I've had yet another reboot today and I noticed that it happened when my network connection switched from 3g to wifi and back again to 3g because of bad wifi signal. I hope this helps to find the root cause.

Also, when staying only on 3g or only on Wi-Fi I didn't have any problem. It happens only when I'm on the move.

P.S.: I don't have any background or other lockscreen options enabled.
[Nexus 4 Original Android Development] der_sascha:
I already use it but a completely original included pie will be much better!
[Nexus 4 Original Android Development] bsamardzhiev:
Hi,

My phone vibrates and I thought that I have incoming call. When I pulled out the phone it was off with blinking white led. I am with clean install. The only thing that I do is to switch from dalvik to art runtime yesterday. Also have catchups with the notification bar without anything customs. That came with the previous build.

I hope that helps.

Best regards superb rom!
[Nexus 4 Original Android Development] Andre_Vitto:
You need to decompile the app and change some line in which file? [MENTION=4337046]rush25[/MENTION] also.. Can you please tell me where is settings.java.. For custom shortcuts?
[Nexus 4 Original Android Development] CalicoJeb:
[MENTION=492385]mahdi[/MENTION] the 3/22 build, I notice if on blur lockscreen - once the lockscreen goes to landscape mode then back to portrait - it then shows default wallpaper only - no longer the blur of your last screen, 3/15 did not do that, it was consistent with screen blur, even tried a clean install of 3/22. Is that change intentional?

Not sure if anyone has noticed or mentioned this change previously ...... to maintain the blur of your last screen is a cooler look I think :cool:
[Nexus 4 Original Android Development] zhart:
Thanks it did the trick! nice camera btw, love the stock look and more options! :D:D
[Nexus 4 Original Android Development] HugoSilva:
Hey mahdi,

I'm using your ROM since the start of the year and never had any problems but since i install the 03/22 update my pocket mode is not working, already try clean flash but nothing. And yes is activated :)

Need some help please, thank you :)
[Nexus 4 Original Android Development] Mahdi786:
Yeah looks like lockscreen code in this build is totally messed up which is most probably causing these reboots, I've reverted a lot of stuff and I'm testing a much cleaner approach for lock screen wallpaper. These reboots you had, were they soft reboots?

Read my post above, most probably affecting pocket mode too but some people have said switching it off/on helps. Other than that Lsn code is the same as previous build.
[Nexus 4 Original Android Development] CalicoJeb:
I had No reboots - your stock kernel
[Nexus 4 Original Android Development] afbengochea:
Until lmt can show/hide menu button when it's necessary then it's not better. I don't like having a persistent menu button.
[Nexus 4 Original Android Development] der_sascha:
+1
[Nexus 4 Original Android Development] flrenato:
Mahdi,

Trying to help you figure out the random reboots, i´ve got some, only soft reboots, even during a phone call.

But, I don´t use any lockscreen, so I don´t think that have to do with the lockscreen options.

Just what happened to me and my opinion, hope it helps.

BTW , awesome rom.
[Nexus 4 Original Android Development] CalicoJeb:
I think a lot of people have Not really delved into the features of LMT - its Almost unlimited if one takes the time to setup correctly, its not your basic PIE If you Don't take advantage of the features you prolly won't like it and will think nothing of it - its no big deal guys, I always mention LMT because I know a lot of peeps love it, that's all. Including PIE is up to Mahdi certainly not me
[Nexus 4 Original Android Development] der_sascha:
But why not including "The Original" PIE if code is out ?

When its include everybody could decide for enable or disable this feature.
[Nexus 4 Original Android Development] CalicoJeb:
Cut Mahdi some slack anyway - he has a few bugs dealing with as he mentioned - the code was Just released, so patience, if he does it, he does it, if not, let No One Complain :)
[Nexus 4 Original Android Development] der_sascha:
Only want to ask for :)

Of course its mahdi Decision.
[Nexus 4 Original Android Development] ABHISHEKSR:
Hello.Thanks for the great ROM.I made a clean flash of the ROM last build as well 22/03 build...But Google Maps isn't able to locate my position correctly.I guess someone else had reported the same for the last build.Are there any one else who us experiencing the same ???
[Nexus 4 Original Android Development] MementoMoriM:
I, the navigation when I was driving to stop the process. Something very disturbing truth ...

Enviado desde la muerte a través de un Nexus4
[Nexus 4 Original Android Development] ijayesh:
Woah new update is awesome mahdi.. Thanks you are the best thing happen to my nexus 4 ... Thanks

That random reboot happens to me also .. In-call ,camera, overall I love this ROM .. Thanks again...
[Nexus 4 Original Android Development] TigerV:
I turn off the wifi and got a reboot.... :silly:
[Nexus 4 Original Android Development] Aytreon:
Hey Mahdi, van you please include the notification count from CM11? Thanks...

And someone know what's the size of Lockscreen ring png (000x000 for example)?

Enviado de meu Nexus 4 usando Tapatalk
[Nexus 4 Original Android Development] badluckclinton:
Gettin random reboots on a clean flash of the latest Mahdi ROM :(
[Nexus 4 Original Android Development] Mahdi786:
Thanks I can see there error in the log, are using appops to control WiFi?
[Nexus 4 Original Android Development] Mahdi786:
We have notification count in notification drawer settings

Also guys I think I've found the problem, its something to do with this commit:

https://github.com/Mahdi-Rom/android_frameworks_base/commit/0ff33a0438a032edba0934fe3ed8d01759cea537

I've reverted it and I'm making a build now so if all goes well I'll upload a build for you guys.
[Nexus 4 Original Android Development] TigerV:
No i don't use any if the app like that... But i think when the notification come for wifi network available then i use turn off wifi button from notification bar option but its dont work, then i go to the settings and turn off the wifi and suddenly i got a reboot...

Sent from my mind

?
[Nexus 4 Original Android Development] der_sascha:
[MENTION=4593553]Mahdi786[/MENTION]

Herr is the source for pie if you want to include it...would be nice

https://github.com/AOSPA/android_frameworks_base/commit/4a5042929f89ba4d6d14d3bd5848df0d8003ac19
[Nexus 4 Original Android Development] Zenzic:
Better than no answers...
[Nexus 4 Original Android Development] Mahdi786:
Thanks that helps a lot and explains what I saw in the log, this new build should fix the reboot problem.

Thanks, I have to explain something to people asking about pie. Were using slims navbar which is highly customizable, pie is linked to the navbar. Anyone that has used aospa knows that their navbar is stock which their new pie is linked to, all of this means I cannot just add their pie, too many conflicts. I looked at their code and their pie is also linked to their immersive mode which is quite different to whats in this ROM so even more conflicts. If I was to ever include pie it would be slims but at the moment its not priority for me at all.
[Nexus 4 Original Android Development] MementoMoriM:
Good. I wanted to expose the navigation of Google Maps stops the process when I'm driving. They will issue the Gapps Slim?

Thank you.

Enviado desde la muerte a través de un Nexus4
[Nexus 4 Original Android Development] moneyolo:
[MENTION=492385]mahdi[/MENTION] do we use expanded desktop type immersive mode similar to slim? Just curious while I was looking into some things.

Sent from Nexus 4
[Nexus 4 Original Android Development] Mahdi786:
Yes, like slims and cm's.
[Nexus 4 Original Android Development] moneyolo:
Okay cool thanks

Sent from Nexus 4
[Nexus 4 Original Android Development] MementoMoriM:
Any ideas?

Enviado desde la muerte a través de un Nexus4
[Nexus 4 Original Android Development] stankyou:
Will the next buid just for the wifi/reboot bug or will the kernel tweaker updates be included in it?

via Tapatalk
[Nexus 4 Original Android Development] Mahdi786:
Not really sure what your problem is, I haven't tested maps/location for a while but nothing in the ROM has changed regarding GPS/location

Yes I've made some updates to kernel tweaker which include fixing the fc when lowering the DPI, this will be included in the build.
[Nexus 4 Original Android Development] stankyou:
Nice! Thank you.

Also something you may want to look at. You can both have double tap lockscreen lock icon to turn on torch and to screen off. Only the screen off works when both are enabled. Maybe have one disabled when one of the option enabled? Just something i noticed before.

via Tapatalk
[Nexus 4 Original Android Development] 1ceb0x:
Sorry to say but i don't think the reboot is caused by that. I got soft reboots while the phone tries to enter deep sleep, while taking pictures, while locking the phone, all of them with wifi off. Luckily for me, they are settle in after 1 day of installation.

The reason that pushed me to think its not rom but kernel related is because people reported reboots with hell score + mahdi, hellscore + omni, mahdi rom + mahdi kernel. These 2 kernels are running version 3.4.82 if I'm not mistaken. You probably want to take a look ibto the kernel repos, maybe someone already adressed the issue.

Sent from my mind⁴
[Nexus 4 Original Android Development] stankyou:
I too have those soft reboots specially after a few hours of using from a clean flash. I was on semaphore kernel with my usual undervolt values I have been using for a long time. I tried the kernel that came with the rom with -100mv all across and I never had reboots. I had semaphore much lower than the -100mv.

via Tapatalk
[Nexus 4 Original Android Development] Mahdi786:
Build is up on goo.im, I've updated the detailed changelog.

Also just a note, soft reboot is a ROM issue, full reboot is a kernel issue.
[Nexus 4 Original Android Development] The Tox:
Even that i don't have any rondom reboots and every things work smoothly i'll update

DOWNLOADING NOW
[Nexus 4 Original Android Development] spirosbond:
By "Revert lock-screen wallpaper and blur radius" you mean that you removed blur lock-screen completely?
[Nexus 4 Original Android Development] IndianKarmas:
hi Mahdi,

I saw in the kernel tweaker glossary sound enhancer but I couldn't find the option in the tweaker.... is it me being silly n not finding it or is it for future build?

thanks :)
[Nexus 4 Original Android Development] Mahdi786:
No we still have blur, just removed blur radius option and replaced the wallpaper code with aospa's new code which is a lot cleaner.

The code is there but has been hidden by the author of the app because it doesn't seem to work, I'm going to work on fixing sound control but no promises whether it will be successful. I've added mpdecision/thermal control which was important to me because I have that in all my custom kernels.
[Nexus 4 Original Android Development] HugoSilva:
Hi mahdi,

I just install 25/03 version but now when i open OTA Center never show if i have a update or not, just say: "cannot read MahdiOTA properties"
[Nexus 4 Original Android Development] Mahdi786:
Has to be something on your end anyway because I'm running the same build and ota is fine. Also goo doesn't trigger the ota only builds on the main server. Try clearing ota app data see if it helps
[Nexus 4 Original Android Development] Mahdi786:
To get the app icon in your drawer you need to add the line back in the manifest, look at this commit the red part you need to add back.

https://github.com/Mahdi-Rom/androi...mmit/02e82c2d0b32507265e568188d7a87a71091e396

Settings.java is located here:

https://github.com/Mahdi-Rom/androi...-4.4/core/java/android/provider/Settings.java
[Nexus 4 Original Android Development] azsl1326:
4G doesn't seem to stay locked - switches back to H+. I have to constantly enable 4G using *#*#4636*#*# . What do I need to change to have this change permanent? Didn't have this problem before 3/22 build.

Thanks.
[Nexus 4 Original Android Development] The Tox:
i have the same issue and clearing data doesn't help
[Nexus 4 Original Android Development] azsl1326:
I also have the same issue with the same error.
[Nexus 4 Original Android Development] N4Solomon:
Can someone please make a mirror for today's build. Goo keeps failing half way for me and my phone keeps soft booting on the wifi :/
[Nexus 4 Original Android Development] SneakyGuyDavid:
I get this, I'm using the 0-day pa-gapps , faux kernel, and the 0315 build, gps doesn't work correctly sometimes or takes MANY MINUTES after getting "GPS locked" to show correct direction and movement
[Nexus 4 Original Android Development] dsmitty166:
Have you guys modified your build.prop's in any way?
[Nexus 4 Original Android Development] The Tox:
Yes but days ago , to modify density , the app worked good after that , now it's not detecting build

Envoyé de mon Nexus 4
[Nexus 4 Original Android Development] 1ceb0x:
Project name: android_packages_apps_KernelTweaker - Altaf-Mahdi - MSM 3-Phase Thermal Control

Altaf-Mahdi - MSM Mpdecision Control

I see these in the changelog but i don't see them reflecting in the kernel tweaker app :) are they hidden or i am blind?

Cheers!

Sent from my mind⁴
[Nexus 4 Original Android Development] azsl1326:
No modifications.
[Nexus 4 Original Android Development] psyonicus:
For those with GPS problems:

If you are feeling adventurous, extract gps.conf from the attached zip and overwrite the one in your phone. It goes in your ../etc folder.

It's the first thing I do when flashing new roms and it helps tremendously with my GPS signal. Backup yours just in case though.

Cheers.
[Nexus 4 Original Android Development] IndianKarmas:
or manually modify ur gps.conf to configure it to ur region :)

http://xdaforums.com/showthread.php?t=1239713
[Nexus 4 Original Android Development] dsmitty166:
Did you allow su access to the app?

Mahdi-Rom
[Nexus 4 Original Android Development] ABHISHEKSR:
Dirty flashed over 25/03,seeing double tap wake option twice in kernel tweaks...anyone else seeing the same?
[Nexus 4 Original Android Development] psyonicus:
Yup. Same here.

Can absolutely live with it tho :)
[Nexus 4 Original Android Development] azsl1326:
Yes
[Nexus 4 Original Android Development] Mahdi786:
There in the cpu screen

That's very strange but I did change the strings so try to clear app data, also which kernel are you guys using?
[Nexus 4 Original Android Development] 1ceb0x:
I haven't seen the msm hotplug options in the app with stock mahdi or hellscore kernel. Also, i didn't had the double tap to wake as duplicate in the app like others reported and i did a dirty flash. I also deleted and replaced the app in priv-apps manually just in case but still was unable to see the hot plug options.

Sent from my mind⁴
[Nexus 4 Original Android Development] ABHISHEKSR:
Cleared app data still shows.However its not an issue .Ignored it :D

Thanks Mahdi for the quick fix n update :D
[Nexus 4 Original Android Development] Mahdi786:
These options are to control showp1984's bricked mpdecision/thermal so they won't show up on stock.

Which kernel are you using?
[Nexus 4 Original Android Development] Voltaine:
[MENTION=4593553]Mahdi786[/MENTION] Just being curious, are you considering to include PA's Peek to your ROM?
[Nexus 4 Original Android Development] ABHISHEKSR:
Currently Hellscore 44k Upstream kernel
[Nexus 4 Original Android Development] jnhsd0319:
Im using your experimental kernel and kernel tweaker app or trickster mod doesnt show the double tap to wake option. Any ideas?
[Nexus 4 Original Android Development] Mahdi786:
I made a mistake when moving stuff to strings so i can translate at a later stage, the bottom one is supposed to be sweep 2 wake. Here's a fixed apk

https://www.dropbox.com/s/erq3ppbhaftu9a2/KernelTweaker.apk

Did you update the app from the playstore? If yes then uninstall the update and you will see the option.

Also everyone that had reboots can you confirm whether the new build has fixed the issue.
[Nexus 4 Original Android Development] rush25:
Can you remove intent for Kernel Tweaker from settings_header.xml so we dont have an option for Kernel Tweaker in settings when we remove it from system/priv-app :)

Sent from my Nexus 4
[Nexus 4 Original Android Development] Mahdi786:
It already works like that, I deleted it and now its gone from settings ☺
[Nexus 4 Original Android Development] rush25:
On 22 build it didn't go but had updated to 25 and wrote that post..so on 25 it went away :)

Thanks :)

Sent from my Nexus 4

---------- Post added at 06:34 PM ---------- Previous post was at 06:31 PM ----------

I have a silly request :P

Please rename it to customization in next build ? I dont know why but Customization > More...

Sent from my Nexus 4
[Nexus 4 Original Android Development] rush25:
Fixing Commit
[Nexus 4 Original Android Development] eng.Colombo:
Sorry for my question , but, i can't find the link to build 25 =(

Sorry I found it ! It's in the third download option ! Thanks for your awesome ROM !!! The best ever!

Enviado de meu Nexus 4 usando Tapatalk
[Nexus 4 Original Android Development] Mahdi786:
Thanks a lot I'll take a look at that soon

Its on goo which is the third link in the op
[Nexus 4 Original Android Development] CalicoJeb:
Along with clicking the thanks button, this time I have to put it in black and white.

THANKS MAHDI :)

The Lockscreen is even Better than before/previous builds :cowboy:

Believe it or not I have also become a white dialer etc. convert, its pretty strange for that to happen to me
[Nexus 4 Original Android Development] jnhsd0319:
Feature Request if Possible :P

Can you add advanced volume control to the ROM? like the setting button next to volume bars. So we can adjust other volumes (media, alarm) after pressing the volume rockers.

Thanks!
[Nexus 4 Original Android Development] snak3ater:
The fix came for Brightness issue & then now we are into blur fixing :D

It would be great if this commit solves this brightness problem..
[Nexus 4 Original Android Development] rom08:
Did you plan to update also for flo. The problem with lockscreen is also present.

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Original Android Development] Mahdi786:
I'll see if I can get a build out for you guys today.
[Nexus 4 Original Android Development] dsmitty166:
I built it last night, I'll see if I can upload it

Mahdi-Rom
[Nexus 4 Original Android Development] The Tox:
[MENTION=4593553]Mahdi786[/MENTION] can we have Sweepe 2 wake on stock kernel ?
[Nexus 4 Original Android Development] Mahdi786:
Double tap to wake and touchwake are already included in the stock kernel.
[Nexus 4 Original Android Development] The Tox:
i'm not used to double tap to wake and sometimes it doesn't work well , i have to tap multiple times to wake the phone ( stock settings for the kernel )

sweepe 2 wake is more easier for me , if you can add it that would be great , if not , it's OK :good:
[Nexus 4 Original Android Development] guytano86:
I'm getting random reboots from original kernel, experimental, hellscore B44 whenever i turn on the wifi, or receive an incoming call. Very frustrating. Any ideas
[Nexus 4 Original Android Development] Mahdi786:
Which build are you on, if your not running the latest which is 25th then install that and report back.
[Nexus 4 Original Android Development] guytano86:
Oh im on 22nd build. The roll m updater didn't notify. Will report back thanks
[Nexus 4 Original Android Development] Mahdi786:
Yes the update should fix this reboot problem.
[Nexus 4 Original Android Development] Stryder5:
Flashed the 3/25 build last night. No random reboots as of this post. Thanks!
[Nexus 4 Original Android Development] RohanM:
There is now 3/26 build.. downloading it.. :)
[Nexus 4 Original Android Development] Mahdi786:
Guys if your on 25th build there's no need to download 26th because they are the same just dsmitty166 built it today.
[Nexus 4 Original Android Development] RohanM:
Hmm thanks for the update, but I jsut downloaded it.. is it safe as it's not built by u ? or should I download 25th one ?
[Nexus 4 Original Android Development] Mahdi786:
Its built by a team member so its fine, just no point because its the same as 25th.
[Nexus 4 Original Android Development] RohanM:
ok then flashing this ROM for the first time.. Was on stock from last 4-5 months with hells core.. ;)
[Nexus 4 Original Android Development] Mahdi786:
Well all this time I forgot I added otg support to the experimental kernel because I have never used it, if anyone is interested you need to enable it via sysfs. I will hopefully add an option for it in kernel tweaker later.

echo "1" > /sys/module/msm_otg/parameters/otg_hack_enable

Change the "1" to "0" if you want to disable it.
[Nexus 4 Original Android Development] stankyou:
Can anyone verify if the Maximum CPUs online and Minimum CPU online settings are reversed under the kernel tweaker??
[Nexus 4 Original Android Development] Mahdi786:
Yes they are I just noticed, late night coding doesn't help lol. I'll link a fixed apk here just replace it in system/priv-app.

Here's the fixed apk, I also added USB otg option under tweaks.

https://www.dropbox.com/s/erq3ppbhaftu9a2/KernelTweaker.apk
[Nexus 4 Original Android Development] brian88:
Hi Mahdi, did you remove lockscreen wallpaper setting in 03.25 build? I cant find it anywhere even if in changelog

Sent from my Nexus⁴
[Nexus 4 Original Android Development] Mahdi786:
No, its under Display > Wallpaper > Lockscreen
[Nexus 4 Original Android Development] dsmitty166:
Little do you know.... But a lot of the times I build all the Nexus devices for you guys! It's safe. :)

Mahdi-Rom
[Nexus 4 Original Android Development] aaron15ryderz:
Cannot download from goo.im. It keep disconnecting.
[Nexus 4 Original Android Development] brian88:
Ohh, thanks, it's still here [emoji106]

Sent from my Nexus⁴
[Nexus 4 Original Android Development] Mahdi786:
Try the second link in the op
[Nexus 4 Original Android Development] aaron15ryderz:
Found it. Thanks
[Nexus 4 Original Android Development] 1ceb0x:
It is already there.... People just don't search these days...
[Nexus 4 Original Android Development] stankyou:
Although he was asking for advanced setting, he's probably looking for the Volume panel style. My guess is he set it to single instead of expanded. :P

via Tapatalk
[Nexus 4 Original Android Development] 1ceb0x:
He was actually looking for the setting to set the volume rockers to switch from ringer to media. That thing can be found only on that part of the settings.
[Nexus 4 Original Android Development] guytano86:
This Build rocks , no more reboots after updating. Thank you so much for your hard work..
[Nexus 4 Original Android Development] Andre_Vitto:
Okey.. I have this minor problem.. Network speed indicator is a bit off the mark.. Supposing I am downloading a file with wify and actual speed is 500 kbps.. The speed indicator in status bar will say download 650 kbps and upload 150 kbps.. Whereas I am not uploading anything..

This issue does not happen with mobile data connection..
[Nexus 4 Original Android Development] 1ceb0x:
You are not uploading something but your phone might sync something :)
[Nexus 4 Original Android Development] Andre_Vitto:
Its not syncing anything.. Somewhere some file is miscalibrated imo..

Also this is not a one off incident.. This happens all the time..
[Nexus 4 Original Android Development] 1ceb0x:
I doubt your phone doesn't check something. Look at the usages and you will see that even systemui uses internet.. God knows for what but it does:) and this is not the only process that uses it.
[Nexus 4 Original Android Development] Andre_Vitto:
Dead end bro.. Before I post an issue I strike out all simple explanation myself.. There is no extra usage.. And unlike average users I take care of my phone.. Nothing syncs without my knowledge..

Supposing you download a file.. The chrome notification will say downloading at a certain speed and the status bar will say that certain speed + x.. And upload will be same as that x..