How to stop android to create logs files? - General Questions and Answers

I use this app, give root permission, uncheck main logs, click save and after reboot main logs automaticaly checked.
How to complete stop to create any logs?
I use S3 neo with custom rom, Nik60 rom based on Motion Rom. lollipop 5.1.1

Related

[Q] Create application uninstall restricted rom

Hello,
I am trying to create a ROM , update.zip if that is the same. I want that rom to have some additional pre installed apps which cannot be uninstalled from manage applications settings similar to Contacts and other stock applications, how can I do that ?

[Q] Modifying Stock JB Rom to prompt to open a custom app on startup

I need a custom ROM based on Android 4.2 (jelly bean) stock ROM with following change:
When device is first started (very first time or after factory reset), it display standard set up screen where Android asks user to select WIFI; Enter Google Account information. Once that is done, standard Android Stock Launcher is Displayed.
What I need is after the initial set up is done, I need to show user a prompt with yes or no to start another app (that will be pre-installed on the device) that is already added to the stock ROM instead of stock launcher app. The prompt need to be displayed as overlay on stock ROM.
If user says yes, this another app (instead of stock launcher app) should be started. If user says No, stock launcher should be displayed.
I will appreciate if anyone can give me pointers on what I need to do to get this implemented?
Thanks!!

[Guide][How To Take Logcat When Sysem UI Force Closes][USB Debugging Not Required]

So all is fc's when booting dual sim roms (except for cm) on xt1033
Here We GO!
Boot into a working rom
Install Omni switch
Set on boot
Go to System>Security and set lockscreen to none.
If the rom has this feature use it(disable force close notifications)[for c rom ,go to c-tools >misc. options>check the option]
Install Logcat Extreme and give root permissions
Flash and Boot into the system ui fc rom
Navigate using Omni Switch open the app and save logcats
Best of luck taking logcats!:good::good:
DO you mean Multi-boot?
rr46000 said:
So all is fc's when booting dual sim roms (except for cm) on xt1033
Here We GO!
Boot into a working rom
Install Omni switch
Set on boot
Go to System>Security and set lockscreen to none.
If the rom has this feature use it(disable force close notifications)[for c rom ,go to c-tools >misc. options>check the option]
Install Logcat Extreme and give root permissions
Boot into the system ui fc rom
Navigate using Omni Switch open the app and save logcats
Best of luck taking logcats!:good::good:
Click to expand...
Click to collapse
When you say boot into another rom, do you mean after flashing or use multi boot?
If it is after flashing, then i would have to "not wipe data/cache" wont the logcat get affected?
deej_roamer said:
When you say boot into another rom, do you mean after flashing or use multi boot?
If it is after flashing, then i would have to "not wipe data/cache" wont the logcat get affected?
Click to expand...
Click to collapse
No multiboot
A perfectly working rom means minimal or no errors, the effect will be negligible
It's the only way when system ui fc
Sent from my Moto G
A question, did you develop anything that is used in this guide? If no, then guides should go to General Section.

Facebook Contact Sync for Lollipop AOSP/CM12/CM12.1 ROMs

UPDATE 29/03: Added version for Lollipop 5.1 (tested on CM12.1/AOSP ROMs).
UPDATE: Fixed zip file.
I have compiled a modified Lollipop ContactsProvider to allow the Facebook app to sync contacts on CM12/AOSP based ROMs.
To install:
Download the attached recovery flashable zip and copy it to your phone.
Clear data for the Facebook app and Contacts Storage (Apps > All). VERY IMPORTANT.
Reboot into recovery and flash the zip file.
When you log back into the Facebook app you may see the option to enable contact sync, if not it will appear at the bottom of the App Settings screen.
If you find your contacts are not appearing after enabling in the FB app, do the following:
Open a command prompt
adb shell
su
sqlite3 /data/data/com.android.providers.contacts/databases/contacts2.db 'ALTER TABLE raw_contacts ADD COLUMN is_restricted VARCHAR';
try the previous step a second time and if it was successful you will be told it already exists.
Reboot
This has been tested and works perfectly on a Galaxy S5 and HTC One M7 with both CM12 and AOSP based ROMs, but I would advise as always making a backup of things before flashing. I take no responsibility for any brickage that may occur.
Thanks, it's working (from the App Settings screen)!
bradstewart said:
UPDATE: Fixed zip file.
I have compiled a modified Lollipop ContactsProvider to allow the Facebook app to sync contacts on CM12/AOSP based ROMs.
To install:
Download the attached recovery flashable zip and copy it to your phone.
Clear data for the Facebook app and Contacts Storage (Apps > All). VERY IMPORTANT.
Reboot into recovery and flash the zip file.
When you log back into the Facebook app you may see the option to enable contact sync, if not it will appear at the bottom of the App Settings screen.
This has been tested and works perfectly on a Galaxy S5 and HTC One M7 with both CM12 and AOSP based ROMs, but I would advise as always making a backup of things before flashing. I take no responsibility for any brickage that may occur.
Click to expand...
Click to collapse
@bradstewart would you be able to type up a tutorial on what you edited to get facebook sync working I'm waiting to get this working on 5.1.
sapplegater said:
@bradstewart would you be able to type up a tutorial on what you edited to get facebook sync working I'm waiting to get this working on 5.1.
Click to expand...
Click to collapse
Version for 5.1 has been added.
killed my system. crash loop of android acore. am on cos12 on oneplus one.
KingNothingUA said:
killed my system. crash loop of android acore. am on cos12 on oneplus one.
Click to expand...
Click to collapse
It works on the oneplus you have to clear the fb app and contacts storage again while its crashing and once you wipe them it will stop I'm using it now on the cm12.1 nightly..
bradstewart said:
UPDATE 29/03: Added version for Lollipop 5.1 (tested on CM12.1/AOSP ROMs).
UPDATE: Fixed zip file.
I have compiled a modified Lollipop ContactsProvider to allow the Facebook app to sync contacts on CM12/AOSP based ROMs.
To install:
Download the attached recovery flashable zip and copy it to your phone.
Clear data for the Facebook app and Contacts Storage (Apps > All). VERY IMPORTANT.
Reboot into recovery and flash the zip file.
When you log back into the Facebook app you may see the option to enable contact sync, if not it will appear at the bottom of the App Settings screen.
If you find your contacts are not appearing after enabling in the FB app, do the following:
Open a command prompt
adb shell
su
sqlite3 /data/data/com.android.providers.contacts/databases/contacts2.db 'ALTER TABLE raw_contacts ADD COLUMN is_restricted VARCHAR';
try the previous step a second time and if it was successful you will be told it already exists.
Reboot
This has been tested and works perfectly on a Galaxy S5 and HTC One M7 with both CM12 and AOSP based ROMs, but I would advise as always making a backup of things before flashing. I take no responsibility for any brickage that may occur.
Click to expand...
Click to collapse
Can you make a 5.1.1 version?
Ragarianok said:
Can you make a 5.1.1 version?
Click to expand...
Click to collapse
I'm not running 5.1.1 myself yet so if somebody wants to supply a ContactsProvider.apk from a deodexed 5.1.1 ROM I should be able to mod it.
bradstewart said:
I'm not running 5.1.1 myself yet so if somebody wants to supply a ContactsProvider.apk from a deodexed 5.1.1 ROM I should be able to mod it.
Click to expand...
Click to collapse
Not really sure what you mean by deodexed. :/ But here's the the contactsprovider.apk from CM12.1 (5.1.1).
Anything for 5.1.1 yet?
bradstewart said:
I'm not running 5.1.1 myself yet so if somebody wants to supply a ContactsProvider.apk from a deodexed 5.1.1 ROM I should be able to mod it.
Click to expand...
Click to collapse
Can you just tell us how to mod the apk?
wee woo wee woo
Ragarianok said:
Can you just tell us how to mod the apk?
Click to expand...
Click to collapse
Ragarianok you find anything out lol?
n00b Samurai said:
Ragarianok you find anything out lol?
Click to expand...
Click to collapse
I cracked it!
I managed to mod the contactsprovider.apk from cm12 (5.1.1). You'll have to copy it over to system/Contacts Provider and change permissions to 644. Then reboot.
You might also have to do that extra thing in the first post in this thread (making a new column), but you can do that in Terminal Emulator from the Play Store.
Ragarianok said:
I cracked it!
I managed to mod the contactsprovider.apk from cm12 (5.1.1). You'll have to copy it over to system/Contacts Provider and change permissions to 644. Then reboot.
You might also have to do that extra thing in the first post in this thread (making a new column), but you can do that in Terminal Emulator from the Play Store.
Click to expand...
Click to collapse
If you don't mind me asking what you did mines working but its not doing quite right I have to keep re-adding the tables and it syncs all contacts instead of existing like I pick xD
n00b Samurai said:
If you don't mind me asking what you did mines working but its not doing quite right I have to keep re-adding the tables and it syncs all contacts instead of existing like I pick xD
Click to expand...
Click to collapse
What I did was:
-Uncheck Google Contacts sync
-Remove Facebook account
-Clear Data for Contacts Storage
-Copy ContactsProvider.apk to system/priv-app/ContactsProvider
-Reboot
-Add table with Terminal Emulator (after clearing data again, if necessary due to errors on boot)
-Re-check Google Contacts sync
-Login to Facebook
-Go to app settings
-Scroll down to Sync Contacts
-Choose either Sync All or Existing
I usually just sync all.
Ragarianok said:
What I did was:
-Uncheck Google Contacts sync
-Remove Facebook account
-Clear Data for Contacts Storage
-Copy ContactsProvider.apk to system/priv-app/ContactsProvider
-Reboot
-Add table with Terminal Emulator (after clearing data again, if necessary due to errors on boot)
-Re-check Google Contacts sync
-Login to Facebook
-Go to app settings
-Scroll down to Sync Contacts
-Choose either Sync All or Existing
I usually just sync all.
Click to expand...
Click to collapse
yep i did that XD its just not wanting to sync existing only lol
---------- Post added at 11:28 AM ---------- Previous post was at 11:06 AM ----------
trying to figure out what bradstewart did to make his work just right I remembered this link http://niranjanthilak.com/facebook-sync-for-android-ics-devices/ for ICS but it seems to be the same basic concept to make it work here....
n00b Samurai said:
yep i did that XD its just not wanting to sync existing only lol
---------- Post added at 11:28 AM ---------- Previous post was at 11:06 AM ----------
trying to figure out what bradstewart did to make his work just right I remembered this link http://niranjanthilak.com/facebook-sync-for-android-ics-devices/ for ICS but it seems to be the same basic concept to make it work here....
Click to expand...
Click to collapse
I'm really not sure what he did, but it's working for me... even it's a little tedious. I think I did pretty good for a beginner.
You did awesome man and I appreciate it I was just curious as to what exactly he did lol
Pics are blurry!
The sync works, thanks a lot about it. But is there any way to make the sync download high res pics from facebook to contacts ? All the synced pics are blurry :/

[App][Google Phone Contacts Messages Apps][Flashable][Arm32][Arm64][Android 6.0+]

Google Dialer/Phone Contacts Messages apps flashable zip as system apps which replaces stock(AOSP) phone contacts & messages apps.
When you don't like stock(AOSP) phone/dialer contacts & messages apps, don't want to install separate Google apps and don't want to install aroma opengapps, here is tge solution. This flashable zip replaces stock (AOSP) phone, contacts & messages apps & replaces them with respective google apps.
If there are multiple phone & messages apps installed in your phone, you need to manually select default apps for phone & messages. (Default apps can be found in settings/apps/settings/default apps)
Note: Apps are unmodified, taken from Apkmirror website.
.................................................................................................................
Download flashable zip from following folder from androidfilehost:
Arm64 devices:
Marshmallow-Nougat:
https://www.androidfilehost.com/?w=files&flid=224402
Oreo:
https://www.androidfilehost.com/?w=files&flid=224399
Arm32 devices:
Marshmallow-Nougat:
https://www.androidfilehost.com/?w=files&flid=224423
Oreo:
https://www.androidfilehost.com/?w=files&flid=224425
.............................................................................................................
Always use latest zip.
.............................................................................................................
How to?
Just flash zip from custom recovery like TWRP recovery.
How to revert?...
To revert to stock (AOSP) phone, contacts & messaging apps:
Just dirty flash your current ROM.
Or
Flash latest file from following androidfilehost folder:
Marshmallow-Nougat:
https://www.androidfilehost.com/?w=files&flid=223992
.............................................................................................................
Enjoy!
Changelogs:
v3 - different files for oreo & nougat-marshmallow devices.
v2.1 - fixed not able to call bug.
v2 - initial release
Does it work on Redmi note 4 with miui rom
Important note: Before flashing v2.0 or less, you need to install Google phone app as user app (because framework has been not included in zip) otherwise you won't be able to call.
Zip with framework is under testing.
Updated to v2.1 (arm64): Fixed not able to call.
Download from here..
https://www.androidfilehost.com/?fid=962021903579485242
jeevan_500 said:
Does it work on Redmi note 4 with miui rom
Click to expand...
Click to collapse
Try v2.1 I've checked it only in aosp based custom ROMs in nougat. But it should work in miui.
Revert back to stock-aosp phone, contacts & messaging apps.
Link has been added in op post.
V3 updated
Changelogs: Different files for oreo & nougat-marshmallow devices.
Can you give the details of apks? version, source,...
hungvip2001 said:
Can you give the details of apks? version, source,...
Click to expand...
Click to collapse
Latest available nodpi apps from APKMIRROR.
As google phone, contacts & messages apps are working perfectly as user apps, I think no need to flash them as system apps.. but then stock phone, contacts & messaging apps get useless & annoying if google apps are used... So in reality we need to only disable or deactivate or remove those stock apps. Now magisk is nice way to hide system apps.. also i found out a way to hide those stock apps without deleting them from their place...
So.. soon I'm going to upload those zips.. they are tiny zips & functionality wise universal compatibility with both arm 32/64 devices..
Error 6 on resurrection remix 5.8.5
Does it work on pie roms

Categories

Resources