Ive J710F samsung , I build an application which is custom app for location . I rooted my device and add this app into /system/app folder. Issue is each time I reset my device I have to give permission again on Marshmallow 6.0.1 . I'm looking for a solution that I can add my app into a firmware(customize) system/app folder and it wont ask for a permission again as we see other custom rom having such application which does not ask for permissions. Just need you precious guidance guys solve my permission issue.
Thanks
Regards
Net_Spy
Net_Spy said:
Ive J710F samsung , I build an application which is custom app for location . I rooted my device and add this app into /system/app folder. Issue is each time I reset my device I have to give permission again on Marshmallow 6.0.1 . I'm looking for a solution that I can add my app into a firmware(customize) system/app folder and it wont ask for a permission again as we see other custom rom having such application which does not ask for permissions. Just need you precious guidance guys solve my permission issue.
Thanks
Regards
Net_Spy
Click to expand...
Click to collapse
Why use MM?
We have Android N for long time...
I've no issue using Nougat or Oreo even all I want to learn how to do that .
Regards
Net_Spy said:
I've no issue using Nougat or Oreo even all I want to learn how to do that .
Regards
Click to expand...
Click to collapse
I guess android kitchen can do that.
android kitchen , hmmm my concern is to add my app into system/app folder and it enables it self with out asking for permission on every hard reset .
Regards
Net_Spy
Net_Spy said:
android kitchen , hmmm my concern is to add my app into system/app folder and it enables it self with out asking for permission on every hard reset .
Regards
Net_Spy
Click to expand...
Click to collapse
Then you need to sign it with system certificate. Maybe you have to create a service that runs and monitors the app constantly.
Also there is an xml method yo bypass android permissions as default.
@sandeepkumar0153 thanks , can you assist me in this.
1- how do I get system cert
2- can you eloborate the xml method which bypass permission please .
Regards
Net_Spy
Net_Spy said:
@sandeepkumar0153 thanks , can you assist me in this.
1- how do I get system cert
2- can you eloborate the xml method which bypass permission please .
Regards
Net_Spy
Click to expand...
Click to collapse
I havent really done it, i just read it some time back. The xml method is like you predefined permissions of apps within the system.
Not sure about the exact name for it.
Also, you need to look into android software modding section on xda
Related
Haven't been able to find this file after searching. Has anyone got a flashable version of ICS AllShare? The APK I downloaded doesn't install, and my backup doesn't seem to work either..
Thanks in advance
Sorry to inform you bro, but stock apps don't work in CM9
And I think flashing won't help either
Also to add to the notion the framework is different?
You're better off finding an alternate from playstore.
Give imedia share a try, works well for me.
unsungkhan said:
Sorry to inform you bro, but stock apps don't work in CM9
And I think flashing won't help either
Also to add to the notion the framework is different?
You're better off finding an alternate from playstore.
Click to expand...
Click to collapse
Sorry, I didn't clarify - I'm using a Samsung base (Litening ROM) so Sammy apps should work fine
Try this h t t ps : / / w w w .dropbox . com /sh/8pkmwrb4ickzsf2/vFhPCX4sbd/Dlna.apk[/url]
works great on my ICS REMIX PRO
Chairmansaab said:
Try this h t t ps : / / w w w .dropbox . com /sh/8pkmwrb4ickzsf2/vFhPCX4sbd/Dlna.apk[/url]
works great on my ICS REMIX PRO
Click to expand...
Click to collapse
Says "application not installed"
thanks for the help though
brpqzme said:
Says "application not installed"
thanks for the help though
Click to expand...
Click to collapse
try to push it to /system/app with root explorer and reboot.
Chairmansaab said:
try to push it to /system/app with root explorer and reboot.
Click to expand...
Click to collapse
Thanks - that worked great
please send another link
could you please resend a link as the one on the top no longer working. Am on Spike.Pure.ICS-v7.1. Got one "dlna.apk" file but seems not working (placed in system/app and permission owner read write, group read, other read as prompted somewhere else). tried to reboot many times still not there ;(...
Create a file local.prop in /data
Open it with text editor and add the following line :
For phone :-
Code:
sys.keep_app_1=com.android.contacts
for any other app
Code:
sys.keep_app_1=com.example.app
Step by Step Guide (Thank vaibhav) :
http://forum.xda-developers.com/showpost.php?p=31628598&postcount=24
Other methods if this does not work :
1 ) http://forum.xda-developers.com/showthread.php?t=1890495(by espaciosalter20)
2 ) http://forum.xda-developers.com/showthread.php?t=1012330(by zeppelinrox)
That's more of a help than asking people to stop raising flags...thanks buddy!
[email protected]
Has any1 tried this already??? does this work?
vaibhav palande said:
Has any1 tried this already??? does this work?
Click to expand...
Click to collapse
It's working for me.
actually i did'nt even have any delay opening the dialer earlier.
maybe someone who had this problem can try and report.
at least there is no boot loop or 'stuck at m logo' problem ,so no harm in trying.
i want to add gosms in memory... the app name is com.jb.gosms..
what line should i add??
sys.keep_app_1=com.jb.gosms OR something else???
vaibhav palande said:
i want to add gosms in memory... the app name is com.jb.gosms..
what line should i add??
sys.keep_app_1=com.jb.gosms OR something else???
Click to expand...
Click to collapse
if you already have contacts in memory then ,
sys.keep_app_2=com.jb.gosms
also you can check app name from package browser located in setting>developer option>launch tools
This works great. Tried it.. all the apps added to local prop take no time to open... thanx a lot... :good::good::highfive:
Do i have to set specific permissions to the file?
Found one thing about editing local.prop
Found one thing:
After entering the app name in local.prop file leave one line blank at the bottom otherwise even if u save it, phone says no changes made... and apps u added in local.prop file won't be locked in memory.. Hope i helped.. :good:
Great tip, thanks . Locked phone in memory, no more delays now.
Trimis de pe Motorola Defy
What about this??? kanpurite?
Mikis89 said:
Do i have to set specific permissions to the file?
Click to expand...
Click to collapse
What about this kanpurite? If we need to set specific permissions which i haven't done, i am living with a placebo effect here. :silly: But seriously now i kept my cell on standby for about an hour, and then tried opening phone, contacts and messaging apps.. BAM.... They open within a split second..
vaibhav palande said:
What about this kanpurite? If we need to set specific permissions which i haven't done, i am living with a placebo effect here. :silly: But seriously now i kept my cell on standby for about an hour, and then tried opening phone, contacts and messaging apps.. BAM.... They open within a split second..
Click to expand...
Click to collapse
EDIT:
when you create local.prop it already has the minimum permissions set (666).
so i don't think there is need to set any permissions.
okay, thanks. can someone make app for this? like hwa selector
mikrom.cz said:
okay, thanks. can someone make app for this? like hwa selector
Click to expand...
Click to collapse
I'm not sure ,but i think this one can help .
https://play.google.com/store/apps/details?id=com.lim.android.automemman&hl=en
Hey, thanks for the tips but i am noob so i want to ask, does this help to open the apps faster than before?
and if i want to put there the messeging app and the dialer what name i must write?
thank u in advance
oxristsis said:
Hey, thanks for the tips but i am noob so i want to ask, does this help to open the apps faster than before?
and if i want to put there the messeging app and the dialer what name i must write?
thank u in advance
Click to expand...
Click to collapse
It keeps your app's in memory all the time.
you can try it if your app's load slowly.
go to /data folder using any file explorer.
create a new file named 'local.prop'.
open it with text editor and add these lines :
sys.keep_app_1=com.android.contacts
sys.keep_app_2=com.android.mms
now save and reboot.
Thanks a lot!
Hope discussion in the main thread wil be over now.
I was in the ' camp' a phone is (still) a phone primarily (for me at least)....
Sd card?
May local.prop be on the sd card in the folder /mnt/sdcard/data ?
how do i create local.prop file.....can u tell me full steps and is data folder is on sdcard
Guys, the path is in the phone's memory. The / sign means the root of that file system.
To make it clear: if you put that file on the SD card the phone will EXPLODE .
Trimis de pe Motorola Defy
As the title say, follow this guide to deodex your stock or stock based(Sling,VDT etc) roms.
In case you dont know what is odex and deodex, check out this awesome thread,,http://forum.xda-developers.com/showthread.php?t=2224570
Before doing any thing Always Make Nandroid Backup
Things Needed
Java(https://www.java.com/en/download/)
Rooted Device
Usb debugging enabled(for pulling files)
Downloads
http://d-h.st/pCI#.U4cLVPmSwgM (based on Kamome tool)
Guide
extract the downloaded tool
run main.bat(be sure to run as admin)
select option 1 create working folder (if this give you subdirectory already then created continue anyway)
Now Select option 2( phone should be connected to pc with usb debugging enabled and phone should also be on charge only mode)
Select option 3 (this should take some time to deodex files)
this step is optional Use option 4 to add deodexed files to zip and flash them via recovery or you can push via adb(search google)
To flash from recovery
copy zip file( you created before ) in the phone
go to recovery
flash them and reboot
enjoy!
Credits :
Thanks to hagurekamome and
RyokoN
F.A.Q
Q.there are many tools to deodex why use this?
A. With android 4.4 google changed something, now apps are also stored in system/priv-app, other tools available to deodex are only created to deodex file stored in system/app.
Q.Tool gives me some kind of java error at the start?
A.Install Java for your respective system e.g 32bit or 64bit. Also dont continue further if you get this message other wise you will get bootloop
Q.My phone is not detected by this tool?
A. install adb drivers..
Issues
1= On sling rom,when deodexed stock keyboard FC and weather widget also wont work(dont know why)
umair928 said:
F.A.Q
Q.there are many tools to deodex why use this?
A. With android 4.4 google changed something, now apps are also stored in system/priv-app, other tools available to deodex are only created to deodex file stored in system/app.
Q.Tool gives me some kind of java error at the start?
A.Install Java for your respective system e.g 32bit or 64bit. Also dont continue further if you get this message other wise you will get bootloop
Q.My phone is not detected by this tool?
A. install adb drivers..
Issues
1= On sling rom,when deodexed stock keyboard FC and weather widget also wont work(dont know why)
Click to expand...
Click to collapse
Hy @umair928 thanks for useful instructions but i am unable to deodexed sling v 2.1 using this method. It doesnt pull the required folders ,i even manually placed app,framework and priv-app folders in system but it doesnt deodexed nor create a flashable zip .This tool is for xperia z and i think it has to be edited a bit to work on our phone.
PS:If youve deodexed slim rom kindly mirror that for me i need deodexed rom thanks
Ahmed Xperia p said:
Hy @umair928 thanks for useful instructions but i am unable to deodexed sling v 2.1 using this method. It doesnt pull the required folders ,i even manually placed app,framework and priv-app folders in system but it doesnt deodexed nor create a flashable zip .This tool is for xperia z and i think it has to be edited a bit to work on our phone.
PS:If youve deodexed slim rom kindly mirror that for me i need deodexed rom thanks
Click to expand...
Click to collapse
May be you are doing something wrong, have you installed proper adb drivers and java. This method works perfect with stock or any custom firmware(I deodexed, 30b, 30c and sling rom) . I have also deodexed htc m8 stock rom with this...
Bro, connection is super sh... ty cant share deodexed rom...
Yes I've installed Java and Adb drivers , Adb is recognising my device . Apparently doing everything as per guide but don't know why it's not doing
Sent from my LG-F180L using XDA Premium 4 mobile app
---------- Post added at 08:31 AM ---------- Previous post was at 08:18 AM ----------
Ok it's working now and i can't beleive problem was running Batch file as an Administrator. This i time i just launched batch file without Adminstratot permissions and it worked . Strange .
Ahmed Xperia p said:
Ok it's working now and i can't beleive problem was running Batch file as an Administrator. This i time i just launched batch file without Adminstratot permissions and it worked . Strange .
Click to expand...
Click to collapse
Now, that is weird... Usually, it's the other way around, running into problems when NOT launched as Admin. Go figure... Anyway, thanks for the tip! Something to keep in mind...
kt-Froggy said:
Now, that is weird... Usually, it's the other way around, running into problems when NOT launched as Admin. Go figure... Anyway, thanks for the tip! Something to keep in mind...
Click to expand...
Click to collapse
I was also wondering . I have deodexed Sling v 2.1 but still i cant change stock Messaging apk i wanted to replace that with one which is in JB but it FC . I tried installing Flex sms apk but that also FC . Any tip please?
PS: I am just placing apk files in system/priv-app and permissions set to RW R R.
Ahmed Xperia p said:
I was also wondering . I have deodexed Sling v 2.1 but still i cant change stock Messaging apk i wanted to replace that with one which is in JB but it FC . I tried installing Flex sms apk but that also FC . Any tip please?
PS: I am just placing apk files in system/priv-app and permissions set to RW R R.
Click to expand...
Click to collapse
That's because the framework is different. Changing lg framework may help you to get sms app working, but it may make other apps to FC
Sent from my LG-E975 using Tapatalk
Got that
Sent from my LG-F180L using XDA Premium 4 mobile app
Agree that tool won't pull files (step 2) on Windows 8.1 x64 unless it is run NOT in Administrator mode.
I suggest you update the first post.
Cheers
I am facing problem In Option 2:
I am on sling 2.2
When i press option 2, the cmd shows " The system can't find the patch specified"...
What can i do? Please suggest.
thanks in advance
regards
---------- Post added at 09:16 AM ---------- Previous post was at 09:12 AM ----------
It is working without Administrator Permission. Thanks to Ahmed Xperia p
Regards
@clickanu is your phone working fine now?
Sent from my LG-E975 using XDA Premium 4 mobile app
Dear Ahmed vai,
Thanks for the response. My phone is working well with Sling Rom as there are options of Selecting 2g/3G. Whn i select 2g only, the phone;s network signal is good and if i select 3g then the network bar up and downs severly...and no one reach me / i cant call to others. So, I am always select 2g. No way to find out the solution and In sling My front camera is not working.
Hope you are in Good Health. Take care Brother.
Regards,
---------- Post added at 11:08 AM ---------- Previous post was at 11:05 AM ----------
Dear Ahmed Brother,
Can You please provide me some other Custom Rom's link as like Sling to test on my phone.
Thanks in advance
Regards
That's good that your phone is working. So far I've found Sling 2.2 better among all custom roma
Sent from my LG-E975 using XDA Premium 4 mobile app
That is actually I have done with your help Bro...U r a genious to some extent.
But i didnt find any FM radio in this Rom...can you help me out how do i get FM radio....?
Thanks
clickanu said:
That is actually I have done with your help Bro...U r a genious to some extent.
But i didnt find any FM radio in this Rom...can you help me out how do i get FM radio....?
Thanks
Click to expand...
Click to collapse
this is based on f180 ROM and f180 doesn't have FM Radio.
Thanks akahroba...for the information. Do you please suggest any custom rom for my device that support FM radio?
Thanks
clickanu said:
Thanks akahroba...for the information. Do you please suggest any custom rom for my device that support FM radio?
Thanks
Click to expand...
Click to collapse
Well, sling is not a custom ROM. It's actually a cooked firmware. If you're searching for such a cooked firmware based on stock kk for E975, nothing so far.
FM radio doesn't work on F 180 @clickanu
Sent from my LG-E975 using XDA Premium 4 mobile app
Has any one here have or had a problem with weather apps not remodeling... It's the only two apps that won't convert over? Or point me to a way to fix thanks!
Hello.
I proud to share with you my stock SystemUI with 3minit battery MOD.
FOR ROOT USERS ONLY
Thanks
P.S: rename SystemUI.odex in priv-app if you want to restore stock SystemUI.
The zip will delete it.
Tested on SM-N915FY but i think working on all 915 variant (make backup first)
Confirmed working on N915G
on N915S
Credit to
@gharrington for this amazing work :good: (http://forum.xda-developers.com/showthread.php?t=2799958) @IZI.Xav for fix 2 icon battery
DOWNLOAD
3minitBattery_for Lollipop
micky387 said:
Hello.
I proud to share with you my stock statuebar with 3minit battery MOD.
Just push SystemUI.apk in system/priv-app and give good perm with root explorer files.
Push 3minit.apk in same directory (download apk in OP thread for now) sorry
I make an zip files later.
Thanks
EDIT. Sorry ,i forgot to say to delete or rename SystemUI.odex too or you have a FC .
Credit to @gharrington for this amazing work :good: (http://forum.xda-developers.com/showthread.php?t=2799958)
Click to expand...
Click to collapse
Not sure if it will matter, but you should indicate what version phone and what software version the original apk is from.
_Dennis_ said:
Not sure if it will matter, but you should indicate what version phone and what software version the original apk is from.
Click to expand...
Click to collapse
Yes. OP Updated
micky387 said:
Hello.
I proud to share with you my stock statuebar with 3minit battery MOD.
Just push SystemUI.apk in system/priv-app and give good perm with root explorer files.
Push 3minit.apk in same directory (download apk in OP thread for now) sorry
I make an zip files later.
Thanks
EDIT. Sorry ,i forgot to say to delete or rename SystemUI.odex too or you have a FC .
Tested on SM-N915FY but i think working on all 915 variant (make backup first)
Credit to @gharrington for this amazing work :good: (http://forum.xda-developers.com/showthread.php?t=2799958)
Click to expand...
Click to collapse
Doesnt your phone need to be rooted to do this and get into permissions ?
Yes,of course. Root needed.
micky387 said:
Yes,of course. Root needed.
Click to expand...
Click to collapse
I think its safe to say almost, if not ALL mods need root...
Feedback: work for my N915G. Thanks You Very Much for sharing.
And Happy New Year to you all.
Thanks. it's a pleasure.
Very nice.
As i said,i think working on all variant note edge.
Tried to install this but it fails.
It gives a read only message.. Maybe I'm doing something wrong?
What files explorer do you use? Because you dont activate write in system.
micky387 said:
What files explorer do you use? Because you dont activate write in system.
Click to expand...
Click to collapse
I'm using ES File Explorer. Shall I try something different?
Ok. Same as me. Slide left screen for setting. Choose root explorer,grant su.. Choose again root explorer and select mount read/write.. tick rw for all and try mod again.. wainting your feedback.
Worked on my 915P (sprint).
OP update with working device.
Thanks for you're feedback
In N915FY model work perfet!!!! Thanks!! Big job!!
jesussmaria said:
In N915FY model work perfet!!!! Thanks!! Big job!!
Click to expand...
Click to collapse
It's a pleasure ..But 60 download and only few report and 3 thanks....
Works great on my T-mobile 915t!
Thanks!!!!
Works on 915k, however I still see the old samsung battery icon. So mow I have 2 icons. ..
google741 said:
Works on 915k, however I still see the old samsung battery icon. So mow I have 2 icons. ..
Click to expand...
Click to collapse
Go to setting, power saving and untick battery icon.
micky387 said:
Ok. Same as me. Slide left screen for setting. Choose root explorer,grant su.. Choose again root explorer and select mount read/write.. tick rw for all and try mod again.. wainting your feedback.
Click to expand...
Click to collapse
Hello,
It didn't work. My phone stopped working, and I wasn't even able to reboot the device. I was getting the message 'Unfortunately, systemUI has stopped working' I had to reinstall my rom again. Relived everything's back to normal again.
It could be that my phone is the Exnoys variant?
It says unable to save changes. Storage permission is given. What could be the problem?
Phelicks said:
It says unable to save changes. Storage permission is given. What could be the problem?
Click to expand...
Click to collapse
Try setting it as the default gallery app
kevtrysmoddin said:
Try setting it as the default gallery app
Click to expand...
Click to collapse
No, not working(
I'm with you on this.. same for me! no one else?!
check the Android Q discussion thread and you'll be able to fix your problem.
dyepnoodle said:
check the Android Q discussion thread and you'll be able to fix your problem.
Click to expand...
Click to collapse
Could you please share the link to the specific thread or may be the post?
Dis you get a solution to the inability to save photo edits?
Would be interested in this, too.
jordanl17 said:
Dis you get a solution to the inability to save photo edits?
Click to expand...
Click to collapse
For no I have no solution sorry, thinking of clean install
I figured out that after using this "adb shell sm set-isolated-storage off" the problem starts.
But without this Titanium backup does not have permission to saved backups(((