[Q] Changing the Max number of lockscreens - Nexus 4 Q&A, Help & Troubleshooting

Hi, after searching the web, I couldn't find any way to edit the Max number of widgets in the JB lockscreen, except for editing the MAX_WIDGETS number as stated here:
http://review.cyanogenmod.org/#/c/28813/1
http://review.cyanogenmod.org/#/c/28813/3/policy/src/com/android/internal/policy/impl/keyguard/KeyguardHostView.java
By default, the limit is 5 (the default + 4 others). Is there any app/mod/way to edit this manually? Different ROMs could do this (CM, AOKP probably), but I'll prefer to keep the stock ROM if possible.
Thanks in advance.

alex_herrero said:
Hi, after searching the web, I couldn't find any way to edit the Max number of widgets in the JB lockscreen, except for editing the MAX_WIDGETS number as stated here:
http://review.cyanogenmod.org/#/c/28813/1
http://review.cyanogenmod.org/#/c/28813/3/policy/src/com/android/internal/policy/impl/keyguard/KeyguardHostView.java
By default, the limit is 5 (the default + 4 others). Is there any app/mod/way to edit this manually? Different ROMs could do this (CM, AOKP probably), but I'll prefer to keep the stock ROM if possible.
Thanks in advance.
Click to expand...
Click to collapse
Not on stock. It wouldn't be possible.

hhairplane said:
Not on stock. It wouldn't be possible.
Click to expand...
Click to collapse
Ok, but how should I compile those files to achieve that?

Anyone?

Related

[Q] Take screenshot without using hardware button

Been using galaxy nexus before.
Now I am looking for nexus 4 ROMS that can take screenshot without using hardware button (vol down+power), for example long press navigation bar or shake or on-screen shortcuts.
Thanks a lot!
nighos said:
Been using galaxy nexus before.
Now I am looking for nexus 4 ROMS that can take screenshot without using hardware button (vol down+power), for example long press navigation bar or shake or on-screen shortcuts.
Thanks a lot!
Click to expand...
Click to collapse
Any ROM that includes PIE controls can be used to take a screenshot without using hardware buttons, just enable the second row of buttons and screenshot is included by default. PIE is available on ParanoidAndroid, SlimBean, and many ROMs based on these ROMs (including Odyssey).
BobWalker said:
Any ROM that includes PIE controls can be used to take a screenshot without using hardware buttons, just enable the second row of buttons and screenshot is included by default. PIE is available on ParanoidAndroid, SlimBean, and many ROMs based on these ROMs (including Odyssey).
Click to expand...
Click to collapse
Thanks
Would it be possible to install that on google stock ROM?
And would that work if I unroot the phone?
nighos said:
Thanks
Would it be possible to install that on google stock ROM?
And would that work if I unroot the phone?
Click to expand...
Click to collapse
No... PIE controls are integrated into certain custom ROMs such as ParanoidAndroid and Slim Bean and are not available as an app. If you want to take screenshots on the stock ROM without pressing and holding volume down and power buttons for two seconds, you will need to install a separate screenshot app which may require root privileges to access the screen image.
nighos said:
Thanks
Would it be possible to install that on google stock ROM?
And would that work if I unroot the phone?
Click to expand...
Click to collapse
yes, it's possible, but it wouldn't be as simple as installing something, you would have to take the source and build it yourself, big headache i'm sure. You'd be better off using one of the near stock roms in the dev section and just going with one that has pie incorporated already.
nighos said:
Thanks
Would it be possible to install that on google stock ROM?
And would that work if I unroot the phone?
Click to expand...
Click to collapse
Actually I have learned of LMT, an XDA app, that can simulate PIE controls on any ROM including stock Android although it still requires root privileges to capture screen images. You can find detailed information and download links for LMT at http://forum.xda-developers.com/showthread.php?t=1330150.

[MOD] Dialer (AOSP) to Google Dialer, works with odexed ROM/ART - NOW also themed!

*DELETED"
Always make a Nandroid before you try
Works perfect on 4.4 with an LG Optimus G
Thanks buddy! :good::highfive:
MiZrY said:
Works perfect on 4.4 with an LG Optimus G
Thanks buddy! :good::highfive:
Click to expand...
Click to collapse
It does not work on SlimKat Alpha 1.1 from my testing, including a full wipe afterwards as well as cache/dalvik only, tried twice as well.
If it works on houstonn's AOSP, it will probably work on his PA as well but I haven't tested that just yet.
I'm going to try to manually do it and report.
I have a Sprint HTC One running the latest CM11 build by "kushdeck" and just flashed the deodexed version. Following your steps provided all works flawlessly. Thanks so much for making this available to everyone.
~
Da Baron
Thanks you for the reports so far. Glad it works (for most of you).
Thyrus said:
Community,
As great as the custom ROMs are for the N5 on Kit Kat, the Google Dialer differs from the AOSP one included in many ROMs in certain aspects:
- uses the "old" 4.3 Phone Icon
- Misses the local search from your dialer app.
In order to help, I have put together 2 versions of the dialer, the teleservices (for phone) and the telephony provider.
Deodexed Version: Included all 3 apps deodexed (dialer, teleservices, telephony provider)
Odexed: Version; Contains APK and .odex files for the 3 apps
GAPPS uploaders are considering whether the Dialer is universal and may include it in their GAPPS in the neat future, for now, we need a seperate flashable zip.
Installation Change the dialer only: (ALWAYS make a backup before you test)
1. Depeding on your ROM, download the ODEX or DEODEX version. I highly recommend the odexed version, that is the one I use currently.
2. Install in recovery.
3. Clear cache/dalvik-cache
4. Reboot
NOTE: Depending on the ROM, you may see a f/c when booting from the com.android.phone apk. If that happens, you may need to WIPE your device and reboot. I have not understood yet why some roms have issues, and others do not. I just recently tested with a dirty wipe from CM11 to another AOSP rom, flashed the ROM, installed the Dialer-mod and it all works fine.
Downloads:
ODEXED Version
DEODEXED Version
Click to expand...
Click to collapse
Now I am flashing it on my Nexus S.
OK. Works well.
THX!
sadly no lucky on s4 cm11
Successfully running in latest slimkat release following the notes instructions in the OP. Just curious if I will be able to dirty flash with next slim release. Thanks for this as I like this feature.
Just noticed that BANKS gaaps now include this as well. If mine doesn't work maybe his will help you guys that can't get mine to work.
Thyrus said:
Just noticed that BANKS gaaps now include this as well. If mine doesn't work maybe his will help you guys that can't get mine to work.
Click to expand...
Click to collapse
That is just yours. And I changed the TeleService icon. I don't like an 4.3 icon in 4.4, even though it can't be seen in Google Home.
mushan3420 said:
That is just yours. And I changed the TeleService icon. I don't like an 4.3 icon in 4.4, even though it can't be seen in Google Home.
Click to expand...
Click to collapse
Not sure what you mean with "that's just yours???
Thyrus said:
Not sure what you mean with "that's just yours???
Click to expand...
Click to collapse
The TeleService.apk in BANKS gapps is the same as yours. If yours doesn't work, his doesn't, either.
Gotcha. The only thing he does differently is not deleting the aosp dialer.. Which means no FCS for people that had them before. Both banks and I are trying to figure you why it works on most Roms and some others require both dialers...
Sorry not working for Note 2, DND 3 custom os.
Sent from my GT-N7100 using xda app-developers app
Thyrus said:
Gotcha. The only thing he does differently is not deleting the aosp dialer.. Which means no FCS for people that had them before. Both banks and I are trying to figure you why it works on most Roms and some others require both dialers...
Click to expand...
Click to collapse
TeleService.apk (com.android.phone) (I will write TS for short.) is the most important apk.
When a call comes, TS in AOSP wakes up Dialer to show the answer button and interface, while TS in Nexus 5 wakes up Google Dialer.
So if the TS points to Google Dialer and works without FC, all the problems are resolved.
If we find that it doesn't work in some ROMs, that means the ROM requires a different TS.
mushan3420 said:
TeleService.apk (com.android.phone) (I will write TS for short.) is the most important apk.
When a call comes, TS in AOSP wakes up Dialer to show the answer button and interface, while TS in Nexus 5 wakes up Google Dialer.
So if the TS points to Google Dialer and works without FC, all the problems are resolved.
If we find that it doesn't work in some ROMs, that means the ROM requires a different TS.
Click to expand...
Click to collapse
true - however, given that my and his script replace the TS from AOSP with the Google TS -> it should, in theory, not matter which ROM. UNLESS there is a lib or something similar that calls a specific TS to work only....
Hello. I try your odexed version but doen't work. I'm on Beergang and in Europe. This feature is available only in US ?
techtium said:
Hello. I try your odexed version but doen't work. I'm on Beergang and in Europe. This feature is available only in US ?
Click to expand...
Click to collapse
works to me, beergang 0.3, flashed odexed version, and i'm from Serbia, thanx Thyrus :good:
works with beergang .03 thanks!
Sent from My Nexus⁴

New nexus user questions about rom and kernel

I tried searching for these questions but remained uninformed.
1) ROM: I installed paranoidandroid 4.1 beta and it looks pretty much similar to the stock rom. I see some youtube video with a lot more customization options and just wondering where they are since i cant find any in the settings menu. For example, how can i edit the lockscreen unlock shortcuts? I would like to add sms, camera, and mail to the circle shortcuts which only includes the unlock as of now.
2) Kernel I installed franco kernel latest r203 and im just wondering how can i edit these settings or am i not allowed to? by settings i mean changing cpu options (disabling 2 cores to save battery) and what other settings i can tweak for better overall performance to battery ratio.
I have rooted / installed custom roms and kernels on htc and samsung and they let me change these settings so im just wondering how it works with the nexus.
Thanks for the help!
mominn8266 said:
I tried searching for these questions but remained uninformed.
1) ROM: I installed paranoidandroid 4.1 beta and it looks pretty much similar to the stock rom. I see some youtube video with a lot more customization options and just wondering where they are since i cant find any in the settings menu. For example, how can i edit the lockscreen unlock shortcuts? I would like to add sms, camera, and mail to the circle shortcuts which only includes the unlock as of now.
2) Kernel I installed franco kernel latest r203 and im just wondering how can i edit these settings or am i not allowed to? by settings i mean changing cpu options (disabling 2 cores to save battery) and what other settings i can tweak for better overall performance to battery ratio.
I have rooted / installed custom roms and kernels on htc and samsung and they let me change these settings so im just wondering how it works with the nexus.
Thanks for the help!
Click to expand...
Click to collapse
1) PA stated that they were going for a stock look so if you want a rom with customizations I suggest you check out Carbon, Vanir, Slimkat, etc...
2) Some kernels have the option to do that like Faux, Franco himself doesn't feel the need to jam a bunch of options into his kernel so if you really want multiple kernel options check out other kernels.
mominn8266 said:
I tried searching for these questions but remained uninformed.
2) Kernel I installed franco kernel latest r203 and im just wondering how can i edit these settings or am i not allowed to? by settings i mean changing cpu options (disabling 2 cores to save battery) and what other settings i can tweak for better overall performance to battery ratio.
Thanks for the help!
Click to expand...
Click to collapse
try his FauxClock App

[Q&A] [10/21][ROM][N9005] XXUENF4 4.4.2 Odexed Multi CSC DPI, Ultimate V16-AOSP (AIO

[Q&A] [10/21][ROM][N9005] XXUENF4 4.4.2 Odexed Multi CSC DPI, Ultimate V16-AOSP (AIO
Q&A for [10/21][ROM][N9005] XXUENF4 4.4.2 Odexed Multi CSC DPI, Ultimate V16-AOSP (AIO 171Mo)
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [10/21][ROM][N9005] XXUENF4 4.4.2 Odexed Multi CSC DPI, Ultimate V16-AOSP (AIO 171Mo). If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
quad core control
hi rayman
I am addicted to your roms especially v15 is best for me.
but I have a question. How can I disable cpu cores. I used terminal but didint work for me.
infermo said:
hi rayman
I am addicted to your roms especially v15 is best for me.
but I have a question. How can I disable cpu cores. I used terminal but didint work for me.
Click to expand...
Click to collapse
are you sure it's really efficient?????? maybe it's better to underclock the phone and you can do it with few apps....
maybe I remove some apps in V15 that I leave in V16.......what do you type in terminal?????I will try in V16
adb shell "echo 1 > /sys/devices/system/cpu/cpu1/online"
or
adb shell ->
# stop mpdecision
# echo 1 > /sys/devices/system/cpu/cpu1/online
yes enough for me two core or one core for chatting when wanna play game I can change it
I used two apk from store but doesnt work
quad core manager and something like that
but ultimate kernel with stweaks can to it with extreme battery profile
sorry, I have not tried yet because I'm playing with the tweaks of the last shinto kernel and specially undervolting and cpu max frequenz.....
you should try it.....synapse is included and you can control it.....
What a great rom! Stable as a rock. Thnx a lot! Only thing i find pitty is that i'm missing s-pen use (quick memo etc) Trying to use V19 is resulting in a boot loop. I'm using shinto-kernel. Could that be the problem?
Breedt said:
What a great rom! Stable as a rock. Thnx a lot! Only thing i find pitty is that i'm missing s-pen use (quick memo etc) Trying to use V19 is resulting in a boot loop. I'm using shinto-kernel. Could that be the problem?
Click to expand...
Click to collapse
have you try stock V19 install. i guarantee that there isn't any problems. I don't remember which lean it was but you must absolutly try the 3.7
rayman95 said:
have you try stock V19 install. i guarantee that there isn't any problems
Click to expand...
Click to collapse
No. Only found the v19 light version. Is there a link with stock V19?
Breedt said:
No. Only found the v19 light version. Is there a link with stock V19?
Click to expand...
Click to collapse
no there is only light version..but you can't install it or when installed with shinto you have bootloop???
rayman95 said:
no there is only light version..but you can't install it or when installed with shinto you have bootloop???
Click to expand...
Click to collapse
Okay, thnx. Thougt there was a full rom v19.
With shinto i'll ran in a bootloop.
But I'm gonna try it again. Thnx!
V 19 is running. Failure was probably due to shinto-kernel.
V24 with s-pen would be higly appreciated. (s-pen is nr 1 reason for me to buy the n9005)
Many thnx for the great work!
This is the best ROM I have used so far, its fluidity has no match, battery life is awesome and I got very large amount of unused ram.
I use Shinto kernel on it
Sent from my SM-N9005 using Tapatalk
If i flash lollypop version of this rom, can i go back to for example miui or kitkat ??
Sent from my SM-G900F using XDA Free mobile app
majidshahab091 said:
If i flash lollypop version of this rom, can i go back to for example miui or kitkat ??
Sent from my SM-G900F using XDA Free mobile app
Click to expand...
Click to collapse
if you doen't change pit file before with odin flashing, yes.........
Flashed the TWeak L light rom and it looks like the stock e-mail app is missing. Any chance you could post a flashable zip to recover it?
zertion said:
Flashed the TWeak L light rom and it looks like the stock e-mail app is missing. Any chance you could post a flashable zip to recover it?
Click to expand...
Click to collapse
copy the 2 folders and files in system/app and give permissions
https://www.dropbox.com/s/xjedachvgaxwnia/email.7z?dl=0
Hey man, just a quick question: If i have installed the V2 version and later on I decided to move to TW launcher and set DPI to 480 back, is it rom related that I can't put action memos as widgets? (the button is missing) and when I try to change the wallpaper with a builtin one it says app not found. Is this due to debloating or the fact that I used V2? If I just dirty flash the V1 will it work ok?
Thanks.
[
hi im andrei said:
Hey man, just a quick question: If i have installed the V2 version and later on I decided to move to TW launcher and set DPI to 480 back, is it rom related that I can't put action memos as widgets? (the button is missing) and when I try to change the wallpaper with a builtin one it says app not found. Is this due to debloating or the fact that I used V2? If I just dirty flash the V1 will it work ok?
Thanks.
Click to expand...
Click to collapse
for action memo it's normal, it's include in snote now.....and I have changed wallpaper without problems
Either I'm stupid or I can't find a way to make it as a widget.
i know it's integrated with the s note but still... isn't there supposed to be a button (like a pin ) to add it on the screen?
Also as for the builtin wallpapers I posted the picture below with the error but i think it's just the result of debloating
hi im andrei said:
Either I'm stupid or I can't find a way to make it as a widget.
i know it's integrated with the s note but still... isn't there supposed to be a button (like a pin ) to add it on the screen?
Also as for the builtin wallpapers I posted the picture below with the error but i think it's just the result of debloating
Click to expand...
Click to collapse
I'm with nova and he is no widget for action and I think it' same for TW....
for the wallpaper go in settings and lockscreen and open gallery and choose your image
and yes I remove an app for livewallpaper....

how to change shortcuts on lockscreen?

hi, how can I change these shortcuts to other ones?
for example, I need Phone app at the left, and Whatsapp app at the right.
Can't find any options to change these shortcuts, it's irritating(
That is not possible in stock OOS.
Some custom ROMs have that option.
evilbait said:
That is not possible in stock OOS.
Some custom ROMs have that option.
Click to expand...
Click to collapse
what a nonsense
okay, will be eagerly waiting for custom roms...

Categories

Resources