[Q] apps not working after kernel installation - Nexus 4 Q&A, Help & Troubleshooting

I installed two kernels on my Nexus4 device(which is running on CM11 20140708-snapshot m8) namely franco and hells core kernels respectively.But the problem with both the kernels are that super user permission could not be granted to some of the apps namely FKU,trickstermod, gravity box...I tried wiping the dalvik and data caches but no good news.
Its would be really helpful if somebody advice me a solution.
Plus it would be good to know what to do to get maximum battery back up on my device.[/SIZE]

I wouldn't know why you installed GravityBox in CM, when you could have almost all those built in CM itself. And the kernel managers, they (like GravityBox) could be conflicting with CM's built in settings. Just use the built in "Performance" section found in "Settings" (enable developer tools to see it) and you should be fine.

Related

A few questions

what's the consensus about stability, supprot development and battery life? It seems like CM7 offers the most battery life, CM10 is still unstable and CM9 has hardware acceleration but battery drain. I am on CM9 and wondering whether I should move forward to CM10 or just keep waiting for Qarx to release better releases?
Also is there a way, on my phone, to be notified of build releases?
What is the difference (I have a Bravo) between Kobe and Qarx builds? I have been using Kobe can I just flash to Qarx?
Also if I'm upgrading from CM9 to CM10 is there a way to keep my settings, files, homscreen icons and simply flash to CM10?
I am on the KOBE build, and wanted to know will I have things like HWA with the generic CM9 build...is there any advantage of the generic CM9 builds? Also will I be able to go to settings->:system updates and update using CM9's update service?
My battery life stinks on CM9!
zetsui said:
what's the consensus about stability, supprot development and battery life? It seems like CM7 offers the most battery life, CM10 is still unstable and CM9 has hardware acceleration but battery drain. I am on CM9 and wondering whether I should move forward to CM10 or just keep waiting for Qarx to release better releases?
Also is there a way, on my phone, to be notified of build releases?
What is the difference (I have a Bravo) between Kobe and Qarx builds? I have been using Kobe can I just flash to Qarx?
Also if I'm upgrading from CM9 to CM10 is there a way to keep my settings, files, homscreen icons and simply flash to CM10?
I am on the KOBE build, and wanted to know will I have things like HWA with the generic CM9 build...is there any advantage of the generic CM9 builds? Also will I be able to go to settings->:system updates and update using CM9's update service?
My battery life stinks on CM9!
Click to expand...
Click to collapse
Cm9 was alredy left in the past, there will be no more changes to fix battery drain, you should move alredy to cm10, the problem is present but it still has support from devs.
In the lastest build from quarx for bravo, bravo rom updater is working, but the app says defy rom updater and you just need to change some things inside config to make it work
josuearisty said:
Cm9 was alredy left in the past, there will be no more changes to fix battery drain, you should move alredy to cm10, the problem is present but it still has support from devs.
In the lastest build from quarx for bravo, bravo rom updater is working, but the app says defy rom updater and you just need to change some things inside config to make it work
Click to expand...
Click to collapse
For the rom updater do you have the thread for how to change the config file? I can't seem to find it on google.
Also no way to set the number of homescreens on cm10? Any other big changes they are looking forward to? That already seemed to slow down my bravo more than cm9.
Say I want to try to flash CM7 Kobe...could I simply do what I did for upgrading CM9->CM10..wipe the cache/davlik
So I'm on CM10 right now. Can I wipe the cache/davlik and flash the CM7 nightly/gapps?
There is no smartass profile on the bravo. Can I add it somehow?
I flashed CM10 fine with CWM. Only did a cache/davlik
Some people recommend a factory reset though? Why is that? I mean why go through the hassle of changing all your settings and reinstalling all your apps? I find it that I can't titanium restore my apps because the googleapps store from cm9 has a different account id than the current google apps installation on cm10.
Much slower startup too
zetsui said:
For the rom updater do you have the thread for how to change the config file? I can't seem to find it on google.
Also no way to set the number of homescreens on cm10? Any other big changes they are looking forward to? That already seemed to slow down my bravo more than cm9.
Say I want to try to flash CM7 Kobe...could I simply do what I did for upgrading CM9->CM10..wipe the cache/davlik
So I'm on CM10 right now. Can I wipe the cache/davlik and flash the CM7 nightly/gapps?
There is no smartass profile on the bravo. Can I add it somehow?
I flashed CM10 fine with CWM. Only did a cache/davlik
Some people recommend a factory reset though? Why is that? I mean why go through the hassle of changing all your settings and reinstalling all your apps? I find it that I can't titanium restore my apps because the googleapps store from cm9 has a different account id than the current google apps installation on cm10.
Much slower startup too
Click to expand...
Click to collapse
The easiest way to check for updates is to check up on the forums where updates/changelogs are being posted.
For homescreens in cm10, I don't use trebuchet. Alternatively, apex launcher and nova allow you to change the number of homescreens.
Personally, I wipe cache/dalvik and wipe data each time I flash roms. It just seems safer that way, even though it's a pain to restore. Can you explain the app id problem you're talking about?
Governors are found in the development section of bravo forums, posted by skeevy420.
Dr. Orange said:
The easiest way to check for updates is to check up on the forums where updates/changelogs are being posted.
For homescreens in cm10, I don't use trebuchet. Alternatively, apex launcher and nova allow you to change the number of homescreens.
Personally, I wipe cache/dalvik and wipe data each time I flash roms. It just seems safer that way, even though it's a pain to restore. Can you explain the app id problem you're talking about?
Governors are found in the development section of bravo forums, posted by skeevy420.
Click to expand...
Click to collapse
So I remember from stock->cm9 when I tried to restore my apps via titanium backup (and maybe in retrospect I erred when I tried to restore google store) there was some difference in the google store id off my old phone and my new phone's google store account on cm9...the difference in the store ids between my old apps and my new apps wouldn't allow me to authenticate all my applications. That and a lot of apps failed on startup because of it. Basically I dont think there is an easy way around reinstalling everything between cm9 and cm10
zetsui said:
So I remember from stock->cm9 when I tried to restore my apps via titanium backup (and maybe in retrospect I erred when I tried to restore google store) there was some difference in the google store id off my old phone and my new phone's google store account on cm9...the difference in the store ids between my old apps and my new apps wouldn't allow me to authenticate all my applications. That and a lot of apps failed on startup because of it. Basically I dont think there is an easy way around reinstalling everything between cm9 and cm10
Click to expand...
Click to collapse
Hmmm. The only issue I've had is trying to restore system apps/data between android 2.3.x and 4.0.x/4.1.x. Never had problems with restoring various other apps. That being said, you shouldn't have an issue restoring any apps from ics to jb.
Don't restore the google play store. That's a system app and I think that's why you've had problems. Just flash gapps when you flash roms. You can then do batch restore in titanium and it will restore your missing apps/data. I think that should fix the problems you've been having.
zetsui said:
For the rom updater do you have the thread for how to change the config file? I can't seem to find it on google.
Say I want to try to flash CM7 Kobe...could I simply do what I did for upgrading CM9->CM10..wipe the cache/davlik
So I'm on CM10 right now. Can I wipe the cache/davlik and flash the CM7 nightly/gapps?
There is no smartass profile on the bravo. Can I add it somehow?
I flashed CM10 fine with CWM. Only did a cache/davlik
Some people recommend a factory reset though? Why is that? I mean why go through the hassle of changing all your settings and reinstalling all your apps? I find it that I can't titanium restore my apps because the googleapps store from cm9 has a different account id than the current google apps installation on cm10.
Much slower startup too
Click to expand...
Click to collapse
Always factory reset when switching the rom base; eg. CM7 to CM9 or CM10. The reason is that the apps use the same filenames for sqlite databases, which don't have the same values from CM7\Miui\9\10\stock\MS2. That's where all the bugs come from when you don't wipe data\factory reset.
Google "fixed" Play to make it like that. If I remember correctly, there's an option in TB Pro that allows you to change the market id to your current rom's id. Under Batch\Market, if memory serves me well.
SmartassV2 is in the DX Gov pack. A trick is to just push it to /system/lib/modules/cpufreq_smartass.ko and overwrite the default smartass module with V2, since they use the same values to be tweaked you'll be able to configure V2 this way. This trick doesn't work with boostedass to overwrite boosted; only smartassV2 over smartass works.
Smartass sucks and is bugged by not using the 2nd vsel profile. Use SmartassV2 or Boosted. Oddly enough, I've found that if I use boosted\smartassV2 in combination with the vsel settings of [email protected]\[email protected]\[email protected] I get better battery life than when using [email protected]\[email protected]\[email protected] since 700mhz can handle more crap than 600 and doesn't need to jump up to vsel3 for greater processing power. Hell, I get 24 hrs easily like that and I use a Live Wallpaper (Galaxy Pack, its awesome so go buy it; Have Planet Pack from the same dev and its awesome as well).
You can speed up the startup by disabling the boot animation, removing unused system apps, using V6 properly, using F The Logs mod. Set the Governor to Ondemand\Performance\UserSpace (performance\userspace force it to use vsel3 exclusively) in the bootmenu for booting up and use something like NoFrills\CM Performance Menu\SetCpu to change to boosted\smartassV2 once you're fully booted and in the system. Another good tweak is to modify the sio scheduler scripts. I've done plenty of posts on how I mod bootmenu scripts to fix sio and to make it work better. The sio fix will give you much faster read times for the system memory (twice as fast for some apps, literally twice).
You can use the /system/bootmenu/scripts/overclock.sh and /system/bootmenu/config/overclock.conf from my latest CM7 Kang to apply the sio tweak. Just replace them before you flash the rom or adb push with 0777 permissions.
skeevy420 said:
Always factory reset when switching the rom base; eg. CM7 to CM9 or CM10. The reason is that the apps use the same filenames for sqlite databases, which don't have the same values from CM7\Miui\9\10\stock\MS2. That's where all the bugs come from when you don't wipe data\factory reset.
Google "fixed" Play to make it like that. If I remember correctly, there's an option in TB Pro that allows you to change the market id to your current rom's id. Under Batch\Market, if memory serves me well.
SmartassV2 is in the DX Gov pack. A trick is to just push it to /system/lib/modules/cpufreq_smartass.ko and overwrite the default smartass module with V2, since they use the same values to be tweaked you'll be able to configure V2 this way. This trick doesn't work with boostedass to overwrite boosted; only smartassV2 over smartass works.
Smartass sucks and is bugged by not using the 2nd vsel profile. Use SmartassV2 or Boosted. Oddly enough, I've found that if I use boosted\smartassV2 in combination with the vsel settings of [email protected]\[email protected]\[email protected] I get better battery life than when using [email protected]\[email protected]\[email protected] since 700mhz can handle more crap than 600 and doesn't need to jump up to vsel3 for greater processing power. Hell, I get 24 hrs easily like that and I use a Live Wallpaper (Galaxy Pack, its awesome so go buy it; Have Planet Pack from the same dev and its awesome as well).
You can speed up the startup by disabling the boot animation, removing unused system apps, using V6 properly, using F The Logs mod. Set the Governor to Ondemand\Performance\UserSpace (performance\userspace force it to use vsel3 exclusively) in the bootmenu for booting up and use something like NoFrills\CM Performance Menu\SetCpu to change to boosted\smartassV2 once you're fully booted and in the system. Another good tweak is to modify the sio scheduler scripts. I've done plenty of posts on how I mod bootmenu scripts to fix sio and to make it work better. The sio fix will give you much faster read times for the system memory (twice as fast for some apps, literally twice).
You can use the /system/bootmenu/scripts/overclock.sh and /system/bootmenu/config/overclock.conf from my latest CM7 Kang to apply the sio tweak. Just replace them before you flash the rom or adb push with 0777 permissions.
Click to expand...
Click to collapse
WOW That is amazing! Do you think that range between VSEL 2 and VSEL 3 with smartass is going to be consistent across different devices?
zetsui said:
WOW That is amazing! Do you think that range between VSEL 2 and VSEL 3 with smartass is going to be consistent across different devices?
Click to expand...
Click to collapse
Most devices have 4+ vsel slots. Moto phones are screwed by the bootloader\limited Moto Kernel features.
It should be. The thing with the bravo (when tweaking governors) is trying to find the magic values that use vsel2 more than vsel3 and still provide a smooth ui. The reason that a 700mhz vsel2 works good is that the Bravo comes with a stock vsel3 of 800mhz. CM7\9 work\use resources much better than our stock Froyo making that 700mhz perform like 800mhz on a stock rom.

Some apps

I have been having a few problems. First, I tried running system tuner but all the options under startup are greyed out so I can't change auto starts. Also, better battery stats will not show anything. I am running omnirom on my i777. Any help is appreciated. These used to work on shostock3 and other Roms and not this
Is it rooted? Maybe your System Tuner app needs root access and the Omnirom I installed on my device wasn't rooted. Lots of other roms are rooted by default.
P.S.: to change autostarts, I use a smaller app, the Disable Services.

How to improve your game performance

I found something that has greatly improved my game performance that I thought I'd share with y'all. I have tried a lot of scripts over a lot of devices, and this one really make a difference, in both benchmarks and games and everyday uses. I did not make this and will not benefit from you using it, I just want to help people out who would like better performance. I have tried this on a couple of sense roms with the elemental x kernel. I have not tested on gpe or aosp. Make sure you have your rom set up and have booted into it at least once with your choice of kernel. Do not install a custom kernel after this or it will override some of the settings. It does break root, so you will need to flash superuser or super su from recovery after you have flashed this and booted your phone. Enough talk, go here and get comadose http://forum.xda-developers.com/showthread.php?t=2419255
[MOD][TWEAK-PACK][8-24-13][S4][i9500] ComaDose The Best, By The Best
Has anyone tried it?
UI performance, apps loading time and overall responsiveness are amazing, but games lag a lot
EDIT: Use only these 4 scripts (extract from zip, put into init.d, set permissions)
16_sqlite3 (you'll need sqlite binary from zip)
70B2R
KB_read_ahead_tweaks
S02_direct_inject
For entropy use Entropy Fixer free app (my settings: read 1024, write 2048)
That's funny, game lag went down with me significantly, everything else improved for me also. He used crossbreeder for entropy in his script, I'll give you suggestions a try also though.
I just flash the zip or what ? + use which one crossbreeder or normal one ?
Nightf0x_007 said:
I just flash the zip or what ? + use which one crossbreeder or normal one ?
Click to expand...
Click to collapse
Flash the latest zip, it's 3. Something I believe. Is the first one you come across, not the one that says crossbreeder. Wipe cache and dalvik, make sure you have the kernel you want installed, mount system and data, then flash comadose. Reboot, let it settle, go back into recovery, flash the latest super su zip, reboot, done.
Honestly... I dont play a lot on my HTC One, but Ive never experienced any laggs issues. I find this phone the most powerful device Ive ever had.
Play the new gangstar Vegas and rio games, turn graphics so the way up on GTA San Andreas, some drifting games, you'll see. I agree, it if the fastest I've owned but now there are faster and software is evolving to stay with the new hardware.

How to enable permissions settings on TW lollipop?

How do I go about enabling permissions settings within touchwiz lollipop ROM main settings? I've scene it within ROMs like devbase by _alexandr and some other stock based lollipop ROMs. Sure it has something to do with features.xml but can't find it in my search's. Any help greatly appreciated.
This can only be done if rooted. There are a few options if so.
1. Download permissions manager on the android market.
2. Get a rom like cyanogen instead that already has it enabled.
3. By far the best option! Installed xposed module and then get xprivacy. Be careful because you need the correct install files to get this running nicely. Xprivacy has security features unrivaled by anything.
Sent from my SM-G900W8 using Tapatalk
Though I've tried a couple of these options, I solved my issue. Thought it was a switch that could be toggled on our off through some settings file within root directory, but it was actually a mod made for _alexanr dev base ROM which modifies a system apk to display permission settings within main settings, originally made by Looki. But thank you for your response. I'm still think about xprivacy, is something I used a long time ago but does look like a strong option for managing permissions.

Possible Nougat battery bug fix.

This is for the people who have the Nougat Battery Bug.
Disclaimer:
By no means am I a developer. I not responsible for anything that may happen to your phone as a result of installing custom roms and/or kernels, mods. You do so at your own risk and take the responsibility upon yourself.
Just a little back story.
I bouncing around 2 MM ROMS. Pure Nexus and Resurrection Remix. Till MegaPixel6P came out in early December. Even though it was a N 7.1.1 build. I never experienced any of the N battery bugs. I ran with MegaPixel6P till i notice that it wasn't being updated. I found out that Lineage OS was available for the 6P. So I gave Lineage a try. I clean installed the rom, gapps & mods. Setup the phone as usual and downloaded/installed all the apps I use. The next few days I used the phone as I normally would. As I used the phone. I noticed the fast battery drain. Then I noticed the battery percentage going down either by 1% or 2%. Finally my battery when it's between 8-20% would automatically die. When i'd plug it in and start the phone the percentage wouldn't be at 1% but at the percentage it would die. I tried to doing another clean install, but the bug was still there. I then started reading up on the bug. On the web, reddit, xda.... I was fed up. So I went back to complete stock/rooted. Still same bug. During all this I would get around 5h 30m battery life. With 1h 50m of sot.
Currently I'm on Pure Nexus. For the past week I've experimented with battery life fixes, until I came up with my current configuration.
For this bug fix I want to thank the following Dev's:
@BeansTown106 - Pure Nexus Rom
@The Flash - [UNOFFICIAL] TWRP 3.0.3-x with F2FS SUPPORT, FLASH Kernel
@HTC_Phone - F2FS conversion procedure
@fapste - [KERNEL PROFILE] WINGOKU Interactive Governor Profile For Battery Life & Performance
@flar2 - EX Kernel Manager
@ravinder0003 - [Mod][6.x/7.x] Xthermal Mod -Fast Charging + Some CPU/GPU Tweaks
F2FS Conversion Procedure:
*Flash [UNOFFICIAL] TWRP 3.0.3-x with F2FS SUPPORT
*Flash PN (or any rom that supports F2FS), Gapps recommended by rom Dev, Xthermal Mod, SuperSU v2.79 SR3, f2fs compatible kernel (I used Flash Kernel)
*Boot ROM and go through initial setup
*Reboot to recovery, back up /data, move backup to computer or safe place
*Reboot recovery and use Flash's custom TWRP for f2fs
*Wipe/Format data and cache to f2fs
*Reboot recovery
*Move backup to phone
*Go to settings and check "Use rm -rf instead of formatting"
*Restore data backup
*Reboot recovery to make sure that the partitions are still f2fs
*Reboot system
*Download/Install EX Kernel Manager, open and grant root access
*Download WINGOKU Interactive Governor Profile, remove the .txt by renaming it
*Cut/copy file to sdcard> ElementalX> gov_profiles
*Open EX Kernel Manager, From the side panel go to CPU change both CPU governors Little/Big Cluster to Interactive, go into Governor options and load WINGOKU Profile
*Install/restore your apps
*Profit
Links:
[ROM][6P][7.1.1_r21]★ Pure Nexus ★ Substratum | Fi | WiFi Calling ★[02/15/17]
https://forum.xda-developers.com/nexus-6p/development/rom-pure-nexus-layers-fi-wifi-calling-t3244563
[UNOFFICIAL] TWRP 3.0.3-x with F2FS SUPPORT, FLASH Kernel
https://forum.xda-developers.com/nexus-6p/development/unofficial-twrp-3-0-3-x-f2fs-support-t3543450
http://nchancellor.net/Downloads/Kernels/
[KERNEL PROFILE] WINGOKU Interactive Governor Profile For Battery Life & Performance
https://forum.xda-developers.com/nexus-6p/general/kernel-profile-interactive-governor-t3550620
[Mod][6.x/7.x] Xthermal Mod -Fast Charging + Some CPU/GPU Tweaks
https://forum.xda-developers.com/ne...t/xthermal-mod-fast-charging-cpu-gpu-t3433784
After all said and done. All issues with the Nougat Battery Bug are resolved. No more fast draining battery, percentage dropping by 2%, and no more battery suddenly dropping to zero. now i'm getting nearly 6 hours of sot. This was achieved using Greenify and Servicely to prevent apps from waking. This has worked on my phone. I hope this works/helps all of you having this Nougat Battery Bug. Let me know if this has worked for someone else.
Thank You for your time.
raiden823
Again, I am in no way a dev.
Reserved 1
Reserved 2
Are you using a lot of social media apps? I tried almost everything to get great SOT, but I still want to use Instagram and Snapchat.
So if you use those apps and still get 6 hours of SOT I will try this. Let me know!
Tommebaas said:
Are you using a lot of social media apps? I tried almost everything to get great SOT, but I still want to use Instagram and Snapchat.
So if you use those apps and still get 6 hours of SOT I will try this. Let me know!
Click to expand...
Click to collapse
I did use social media before this fix, and after. This thread is meant for the people that have been having the dreaded Nougat battery bug. But, if you want to try it out to get better battery life. By all means try it out.
BTW, I'm only using two root apps to control apps from waking up. They are Greenify & Servicely.
Let me know your results. If you do decide to try this out.
Raiden823 said:
I did use social media before this fix, and after. This thread is meant for the people that have been having the dreaded Nougat battery bug. But, if you want to try it out to get better battery life. By all means try it out.
BTW, I'm only using two root apps to control apps from waking up. They are Greenify & Servicely.
Let me know your results. If you do decide to try this out.
Click to expand...
Click to collapse
Would you be up for listing the apps you Greenify and what services are limited? I'm down for reproducing your setup as closely as possible. Thanks for taking the time to write up this tutorial.
Sent from my Nexus 6P using XDA-Developers Legacy app
CyberpodS2 said:
Would you be up for listing the apps you Greenify and what services are limited? I'm down for reproducing your setup as closely as possible. Thanks for taking the time to write up this tutorial.
Click to expand...
Click to collapse
For greenify I hibernated the apps that are "running in the background" and "apps that may slow down the device." Then I'd hit the more apps and hibernate all the social media apps, and apps with the "gcm" next to them.
As for servicely I add all the apps that have the "may wake device" written in red underneath the app name. Also all social media apps.
That's about it.
Raiden823 said:
For greenify I hibernated the apps that are "running in the background" and "apps that may slow down the device." Then I'd hit the more apps and hibernate all the social media apps, and apps with the "gcm" next to them.
As for servicely I add all the apps that have the "may wake device" written in red underneath the app name. Also all social media apps.
That's about it.
Click to expand...
Click to collapse
Is there a fix for being on stock? I too get the Nougat battery bug where it dies between 20-30%.
explorer-10 said:
Is there a fix for being on stock? I too get the Nougat battery bug where it dies between 20-30%.
Click to expand...
Click to collapse
You may want to take a look at this thread. https://forum.xda-developers.com/nexus-6p/general/guide-set-forget-setup-easy-update-t3560052
Hi Raiden, I'm not too sure I have this bug, do you think I would benefit from your fix?
If you would be so kind to see my thread here: https://forum.xda-developers.com/nexus-6p/help/sudden-extreme-batterydrain-30-to-zero-t3616163
I think this is more of a workaround than a fix.
How is this going to fix the early shutdown issue and how would a TRWP version make a difference?

Categories

Resources