[Guide]Locking Apps In Memory - Defy General

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

Related

Rom Editor

Hi guys,
I've been changing roms on my phone lately and found out that there were some roms that have some apps on the rom that I don't want on it.
Or just the other way around, that it doesn't have some apps on it that I do want when I install a new rom.
After a while I got irritated by this and thought that I could create a program that could help people like me by adding/removing apps from the rom without diving into the rom zip file and maybe delete files that I shouldn't touch.
It's finally finished and it works, i've tested it on my HTC Desire multiple times now .
let me know what you think! And if you have any tips/questions check my website to get my e-mail address!
you can find more info/screenshots at beardman.eu
And here's the Download link!
Updates:
V1.5
- It's even bigger
- You are able to change your boot animation
- You are able to change sounds (Alarms, notifications, ringtones)
- Code optimization
V1.4
- It’s a bit bigger
- You can now maximize the window
- It no longer looks like it’s frozen when you unpack/save a rom
- Bar at the top of the program with the “settings”
- Progress bar on the bottom to show the unpacking/saving progress
- Report bug option for when you’ve found something that isn’t working!
- Code optimization
V1.3
- Extra tab for some settings which can be turned on and off as you wish
- Changelog is now included
- Check for update is included
- You can open the last rom as how you left it, no need to drop it on there again
- Automatically remove the safe to remove apps
- Automatically load previous edited rom
- Small bugfixes
V1.2
- Information is shown while extracting rom
- When saving rom, a location and file name is asked
- When right clicking on an item in the System list a pop-up will show which allows the user to mark an app as safe/unsafe to remove
- Items will be colored red or green or black depending on if they are safe or unsafe to remove
- Option to delete all the safe to remove items
V1.1
- Added compatible with update-script
Todo:
- Save state
- get your own list of apps to remove automatically
This program is supposed to work on most devices, if you've tested it and it works let me know!
Working devices:
- HTC Desire
is that like the rom kitchen?
but works on windows??
I don't really know, I haven't looked into it. The only thing you can change so far is adding and removing apps to the system and user partition. If you have a tip on what I should add, let me know!
Yes, it works on windows.
I haven't really dabbled in it much - but when i did it looked like you needed a linux VM/boot to play around with it much...
one thing that might be sensible is to try and code in a flag to identify apps that shouldn't be removed, because of fc etc.? even if they are just flagged as italics or something with a warning that they may cause fc if you don't have a default launcher or something
Well, it works on windows because you'll need to download a rom first, and then you open the rom zip file with this program and you'll just basically edit the files in the rom zip file!
Thanks, that's a good one! I'll look into it soon!
something like this is always good for getting rid of htc stocks (stock.apk and the widget too com.htc.stockwidget.apk - oh and plurk too nowadays)
and the apps that annoy you because you replace them instantly with an updated/different version from market, like quickoffice, the google apps that are out of date very quickly...
if you can make the app recommend ones not to remove, perhaps its worth highlighting ones that are recommended to remove too?
list could be provided quickly by people using the app as to which ones are commonly removed
edit: especially as you have a nice little log of apps that are removed:
17:50:21 - Removing app com.htc.linkedin.apk
17:50:21 - Removing app com.htc.PlurkWidget.apk
17:50:21 - Removing app com.htc.StockWidget.apk
17:50:21 - Removing app HtcPlurk.apk
17:50:21 - Removing app Quickoffice.apk
17:50:37 - Removing app Stock.apk
Click to expand...
Click to collapse
Think you might need a save as button or something though
also i am getting an error when saving:
17:51:15 - NOT saving rom
17:51:20 - NOT saving rom
17:51:31 - NOT saving rom
17:51:44 - NOT saving rom
Click to expand...
Click to collapse
was playing about with this rom if it helps: Cool-AceS-v7.zip
--- oh
and if it helps, it might be an idea to put a 'please wait' box popup or something when loading a rom - it took a minute or so when i tried it - and the app window hangs (as well as the explorer one I dragged the .zip from) - if a progress bar can be made that'd be better, but it'd be good just to tell people that it's doing something and not just crashing
Thanks for the error report, gonna look into it in a hour or so!
Think that's a good idea, i'll see what I can do for it .
-edit:
Found what the problem is, currently it only works when a rom is using the updater-script, not the update-script.
Think i'll be able to fix it this week .
Not to disappoint you or anything but what you can do with this program you can do it anyway. I was hoping for a proper full on program really, not just deleteing applications. I can do this anyway by opening rom.zip and deleteing the apps myself.
Probably a nice little app for newbies though.
Had another idea, to set your own list of defined apks to remove so you can have quick open and deletion (and addition) of apk list, and recompile of a zip.
Sent from my HTC Desire using XDA Premium App
Meaple said:
Not to disappoint you or anything but what you can do with this program you can do it anyway. I was hoping for a proper full on program really, not just deleteing applications. I can do this anyway by opening rom.zip and deleteing the apps myself.
Click to expand...
Click to collapse
I'm not disappointed by your comment, and I know that
What would you like to see this program do? Any tips?
Meaple said:
Not to disappoint you or anything but what you can do with this program you can do it anyway. I was hoping for a proper full on program really, not just deleteing applications. I can do this anyway by opening rom.zip and deleteing the apps myself.
Click to expand...
Click to collapse
But in the outset its doing what he intended it to do
Sent from my HTC Desire using Tapatalk
f0xy said:
But in the outset its doing what he intended it to do
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
indeed.
not everyone is familiar and happy to start ripping open zips and deleting stuff so for those people this will be a nice way to get stuff done without the fear of screwing it up
And you can add apps to the user data partition. If the rom hasn't included the data install in the updater-script that will be added !
does the download link include the fix to actually recompile the rom/zip now?
Lothaen said:
does the download link include the fix to actually recompile the rom/zip now?
Click to expand...
Click to collapse
Not yet, if I have some time I'll try to fix it today!
thank you for this program, I'll try it
New version is now online!
Now compatible with update-script
Check main post for link!
Chrusb said:
New version is now online!
Now compatible with update-script
Check main post for link!
Click to expand...
Click to collapse
when saving I got the error 'rom file is in use by another process' or similar
I guess that's because I opened it in the app and it is trying to save over the top?
'save as' feature would fix it
or is it cause the .zip is in the same folder as the .exe ?
Lothaen said:
or is it cause the .zip is in the same folder as the .exe ?
Click to expand...
Click to collapse
yes it is.
a save as and/or an option to rename the .zip when recompiling the zip would be best probably - or an error that says 'do not have the .zip you want to edit in the same folder as the .exe'

[FIX][v.3-1] Bloatware Remover CWM

Version 3-1
I made a small CWM zip file to remove 56 system apps
that i don't use.
ONLY FOR SGS2
My script removes TouchWiz (I don't like it, it looks to much like the iphone)
The script will NOT make a backup before removing the apks
Will delete the odex files if present
Will install LauncherPro and ADW.Launcher
Will update the market apk to the latest version
just move the .zip to /sdcard
then update with ClockworkMod Recovery
-------------------------- this is the programs it removes --------------------------
delete("/system/app/AccuWeatherDaemonService.apk");
delete("/system/app/AnalogClock.apk");
delete("/system/app/BuddiesNow.apk");
delete("/system/app/ChocoEUKor.apk");
delete("/system/app/Days.apk");
delete("/system/app/DigitalClock.apk");
delete("/system/app/Dlna.apk");
delete("/system/app/DualClock.apk");
delete("/system/app/EmailWidget.apk");
delete("/system/app/GameHub.apk");
delete("/system/app/GenieWidget.apk");
delete("/system/app/Gmail.apk");
delete("/system/app/Kies.apk");
delete("/system/app/KiesAir.apk");
delete("/system/app/kieswifi.apk");
delete("/system/app/Kobo.apk");
delete("/system/app/Maps.apk");
delete("/system/app/Memo.apk");
delete("/system/app/Microbesgl.apk");
delete("/system/app/MiniDiary.apk");
delete("/system/app/MtpApplication.apk");
delete("/system/app/MusicHub_U1.apk");
delete("/system/app/PhotoRetouching.apk");
delete("/system/app/PressReader.apk");
delete("/system/app/Protips.apk");
delete("/system/app/ReadersHub.apk");
delete("/system/app/SamsungApps.apk");
delete("/system/app/SamsungAppsUNA3.apk");
delete("/system/app/SamsungAppsUNAService.apk");
delete("/system/app/SamsungIM.apk");
delete("/system/app/SamsungWidget_News.apk");
delete("/system/app/SamsungWidget_ProgramMonitor.apk");
delete("/system/app/SamsungWidget_StockClock.apk");
delete("/system/app/SamsungWidget_WeatherClock.apk");
delete("/system/app/SecretWallpaper1.apk");
delete("/system/app/SecretWallpaper2.apk");
delete("/system/app/signin.apk");
delete("/system/app/SnsAccountFb.apk");
delete("/system/app/SnsAccountLi.apk");
delete("/system/app/SnsAccountMs.apk");
delete("/system/app/SnsAccountTw.apk");
delete("/system/app/SnsDisclaimer.apk");
delete("/system/app/SnsImageCache.apk");
delete("/system/app/SnsProvider.apk");
delete("/system/app/SocialHub.apk");
delete("/system/app/Street.apk");
delete("/system/app/Swype.apk");
delete("/system/app/Talk.apk");
delete("/system/app/Talk2.apk");
delete("/system/app/Tasks.apk");
delete("/system/app/TasksProvider.apk");
delete("/system/app/TouchWiz30Launcher.apk");
delete("/system/app/VideoEditor.apk");
delete("/system/app/VoiceSearch.apk");
delete("/system/app/VoiceToGo.apk");
delete("/system/app/YouTube.apk");
delete("/system/app/Zinio.apk");
----------------------------------------------------------------------------------------
--- change log ---
v.3-1
changed "Kieswifi" to "kieswifi"
v.3
no more backup
now with CWM
now installs 2 launcher
updated Market apk
v.2
fixed market issues
will now make a backup in "/sdcard/FGBR_BKP"
v.1
initial release
View attachment FGBWRv.3-1.zip
View attachment FGBWRv.3.zip
View attachment fgbwr_v.2.zip
View attachment fgbwr.zip
Click to expand...
Click to collapse
Thank you very much, this will be very useful for me.
I usually remove the unwanted apks manually before flashing, this will save a lot of time and messing.
is it possible if i modify the script so i get to keep some apps, i.e. touchwiz?
That's what I'll be doing, I use gmail so il just delete that line from the script.
Sure you can...
zidane said:
is it possible if i modify the script so i get to keep some apps, i.e. touchwiz?
Click to expand...
Click to collapse
Yes it is posible to select only the apps that you want to remove, but you have to be careful as some apps depend on others to work correctly.
zidane said:
is it possible if i modify the script so i get to keep some apps, i.e. touchwiz?
Click to expand...
Click to collapse
Edit it with Notepad or another text file editor!
excellent! thank you for this~
some easy way to do it?????
i dont know how to do it with ADB commands :/
I've ran the script and now my market wont work anymore.. ive also removed the cache.. still nothing, any suggestions?
get a market.apk and install it!
should works
FredericGervais said:
I made a small script to remove 47 system apps
that i don't use.
rm /system/app/Swype.apk
----------------------------------------------------------------------------------------
Click to expand...
Click to collapse
If you're deleting Swype may as well delete 'libSwypecore.so' in /system/lib
is it possible if i modify the script so i get to keep some apps, i.e. touchwiz?
Click to expand...
Click to collapse
yes, you can just edit the script with notepad and delete the lines you want
edit : sorry, didn't see it was already answered
Not so good...
Hello there,
Good idea regarding getting rid of some of the samsung bloatware but I dont think you should be deleting the 'googleframework.apk' as doing so will disable the google login and therefore access to your calender/email/tasks and the market will be disabled too...
It also deletes your google contacts and calendar sync, hmm serves me right for not checking exactly what is being deleted but I think you should post a warning on the first post !
tasty_boy said:
get a market.apk and install it!
should works
Click to expand...
Click to collapse
Same for me It delete my google account apk (= market don't work) and messed up lots of stuff !!
It is easier to freeze the apps you don`t want in Root uninstaller
I will post a fix for the market
FredericGervais said:
I will post a fix for the market
Click to expand...
Click to collapse
Just remove the Google apk's in your script and it will be done I think!
that's what I did and a little more (backup)
ADB is difficult for a lot of users, but the script is extremely useful!
Any other way to do it, like an apk perhaps???
giokou said:
ADB is difficult for a lot of users, but the script is extremely useful!
Any other way to do it, like an apk perhaps???
Click to expand...
Click to collapse
I will think about it
The Script is updated
The Script being converted to CWM is making things much quicker and easier

Desire SMS / MMS APK ported to ACE

Hi all,
Just in case anyone is interested, I have ported HTC Desire's MMS apk to my ace running on GR v1.1.
Some features
1. Change app background black or white
2. Change attachment save folder
3. Custom User Agent (Spoof Phone as a different model for MMS, though i have
not used this so far)
4. Customize font size from list available
5. SMS template gestures
Edit 1: does not allow more than 11 contacts (sam's original did not allow more than 10) ... very bad
Screen shots attached.
MatrixLoaded
Edit 2: Steps and Apk attached
Standard disclaimer apply and most importantly below process will wipe your data so take a backup. (may be there is another way to put app without wipe but i know only this one sr. members, pls feel free to enlighten me of that process)
requirements
KPN FW (i have GR v1.1 so i think it should work on all KPN)
Rooted, deodexed, Root explorer or file explored and recovery 4.0.0.9
steps
1. take backup on your original mms.apk from system/app via root explorer
2. put attached MLmms.apk to your sd card
3. rename MLmms.apk to mms.apk
4. use root explorer and move renamed mms.apk to system/app (don't forget to mount rw)
5. put permission as r-xrwxr-x (after this you might not see the icon on the menu eg tw launcher in case you use it. but don't be afraid)
6. reboot into recovery and WIPE DATA/FACTORY RESET
7. reboot normally and you should see the new app.
Which means it's for KPN , right ?
Sent from my Ultima Weapon using XDA App
Hmm i'll rather use our themed one. If we need extended functions i'll go for third party apps
Thank you so much. I'm not satisfied with Samsung's Messaging app, and I hate the ones on the Market.
But, uh... Is it just me, or is the link missing/not available?
EmoBoiix3 said:
Which means it's for KPN , right ?
Sent from my Ultima Weapon using XDA App
Click to expand...
Click to collapse
You are right mate
MatrixLoaded
adeklipse said:
Thank you so much. I'm not satisfied with Samsung's Messaging app, and I hate the ones on the Market.
But, uh... Is it just me, or is the link missing/not available?
Click to expand...
Click to collapse
Have not put in the link delibrately ... just tryin to see if its worth wasting everyone's time (personally i liked the font size and other stuff, but 10 contact limitation is killer)
In case you want the apk, i can share with steps ofcourse
MatrixLoaded
matrixloaded said:
Have not put in the link delibrately ... just tryin to see if its worth wasting everyone's time (personally i liked the font size and other stuff, but 10 contact limitation is killer)
Click to expand...
Click to collapse
10 contact limitation? What does that mean? Does it mean it can only show 10 people on the conversations list? If so, I'm quite fine with that (I don't have many friends T_T)
In case you want the apk, i can share with steps ofcourse
Click to expand...
Click to collapse
It looks delicious and I would love it if you shared

[Q] How to use "Restrict background data" WITHOUT notification ?

Hi,
I wish to permanently use the "Restrict background data" feature ( under settings->data usage ) on my JB rom, but the problem is that when I enable that feature, I always get a notification, asking me to "touch to remove" that feature...
I don't wish to do that, even by mistake! I want that notification GONE completely, but to retain the "restrict" feature...
I understand, it's possible to permanently disable notifications, by altering "Settings.apk" somehow - but I don't know what and where to change ( wish file inside that apk ).
I used "apktool" to unpack the apk, but again - which file should I change ? what value/line should I delete ?
My rom is VJ's AOKP v2.2, so "Settings.apk" file is from that rom's version.
Any help would be great :highfive::fingers-crossed:
EDIT:
Guess it has something to do with "DataUsageSummary.smali" (after unpacking the Settings apk -> smali\com\android\settings):
BUT WHAT SHOULD I CHANGE ?!
please reply
gps3dx said:
Any help would be great :highfive::fingers-crossed:
Click to expand...
Click to collapse
Seriously ? Not even the smallest hint you ppl can give me ?:crying::crying:
Can't you even redirect me to the most prevalent sub-forum, here at XDA, for that kind of question ?:silly:
gps3dx said:
Seriously ? Not even the smallest hint you ppl can give me ?:crying::crying:
Can't you even redirect me to the most prevalent sub-forum, here at XDA, for that kind of question ?:silly:
Click to expand...
Click to collapse
Something called the search function; it's really useful.
You can't just expect others to answer your questions promptly. As for your questions, that's part of the android system and if you want to modify it, go ahead. It's not a notification because you can't swipe it away; it's an ongoing thing. SO if you want to go on with that kind of attitude, you can try it yourself.
droid_<3er said:
Something called the search function; it's really useful.
As for your questions, that's part of the android system and if you want to modify it, go ahead. It's not a notification because you can't swipe it away; it's an ongoing thing.
Click to expand...
Click to collapse
I really do appreciate your reply man - even though I googled xda from top to button.
( there are thread about modifying various stuff inside settings.apk / SystemUI.apk - but NON are about that "restriction notification" i'm talking about. )
I've seen this thread in the unread threads of XDA app and although I don't use that feature, I got curious to try it out. So I've quickly put together an Xposed module that removes the notification.
You have to install Xposed framework. Get it here: http://forum.xda-developers.com/showthread.php?t=1574401
Also, install my module from the attachment, enable it and do a soft reboot in Xposed.
It works for me on my Galaxy R with CM10.1 and I assume it will work for you too, as the module doesn't change the Settings, but com.android.server.net.NetworkPolicyManagerService class. If you have any problems, post a logcat and /data/xposed/debug.log
Update: For a while now it's already available in Xposed modules repository: http://repo.xposed.info/module/org.adam77root.removerestrictednotification.
Adam77Root said:
I've seen this thread in the unread threads of XDA app and although I don't use that feature, I got curious to try it out. So I've quickly put together an Xposed module that removes the notification.
You have to install Xposed framework. Get it here: http://forum.xda-developers.com/showthread.php?t=1574401
Also, install my module from the attachment, enable it and do a soft reboot in Xposed.
It works for me on my Galaxy R with CM10.1 and I assume it will work for you too, as the module doesn't change the Settings, but com.android.server.net.NetworkPolicyManagerService class. If you have any problems, post a logcat and /data/xposed/debug.log
Click to expand...
Click to collapse
WOW thnx... but just a few moments before you posted your message I to fulfill that wish of mine... I SOLVED IT !
Although I admit - I DO NOT KNOW if I disabled all of the "restrict background" feature, but I DO managed to enable the "restrict backgound data" checkbox ( then press OK at the popup ) WITHOUT getting any notification at all !
HOW TO DISABLE NOTIFICATION ALERT FOR "RESTRICT BACKGROUND DATA" ( under settings-> data usage-> options )​( I tried that fix on JB 4.2.2 ( to be specific: AOKP VJ Jelly Bean v2.2), BUT I guess it works on all JB 4.2.2 )​1. copy "services.jar" from "/system/framework/services.jar" to your computer.
MAKE A SAFE COPY OF THIS FILE IF SOMETHING HAPPENS TO YOU.
2. extract the jar file using Winrar or any compatible app.
3. using MultiTool decompile the "classes.dex" file as instructed by Multitool's thread.
4. open with any txt editor ( I used Notepad++ ) the file "NetworkPolicyManagerService.smali" under "decompiled\classout\com\android\server\net\" ( which is a sub-folder of Mulitool's folder that you've previously extracted )
5. A . search for:
Code:
invoke-interface/range {v0 .. v6}, Landroid/app/INotificationManager;->enqueueNotificationWithTag(Ljava/lang/String;Ljava/lang/String;ILandroid/app/Notification;[II)V
delete completely that line or add "# " in the start of that line ( which is what I did ) so that line looks like that:
Code:
# invoke-interface/range {v0 .. v6}, Landroid/app/INotificationManager;->enqueueNotificationWithTag(Ljava/lang/String;Ljava/lang/String;ILandroid/app/Notification;[II)V
B. search for:
Code:
invoke-virtual {v0, p1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
add "# " in the start of that line ( which is what I did ) or delete completely that line
6. SAVE that smali file that you've just edited.
7. using Multitool, recompile the classes.dex file.
if everything went good, you'll have classes.dex file under MultiTool's sub-folder named "output"
8. using Winrar, open "services.jar", replace the current "classes.dex" with the recompiled one that you've made.
9. copy the remade "services.jar" to your device(using adb etc ):
Code:
adb push "services.jar" /system/framework/services.jar
10. chmod "services.jar" to "-rw-r--r--", meaning you need to:
Code:
adb shell chmod 644 /system/framework/services.jar
11. restart your device, and It should rebuilt your dalvik cache.
ONLY if it didn't, I guess you should delete "/data/dalvik-cache/[email protected]@[email protected]" file, reboot again so your OS will create that dalvik-cache file.
I'll be happy to know if anyone can verify that indeed my fix just remove his/her notification, but retain the ability to disable background data. THANKS !
Sorry I doubted you. You are a genius!
Many thanks!!
Adam77Root, thank you so much for that module! I can confirm it working on my Galaxy Note 2. That notification was unbelievably annoying.
gps3dx, thank you too for this thread and your fix. While I didn't try it because I already have Xposed framework installed and I'd rather use the less invasive approach, I am still grateful for your seeing a problem, addressing it, and proactively doing something about it. My respects to you. I searched around quite a bit and came across many other forums on different sites where people had this same problem unanswered. I hope they find their way to this thread.
To the above poster who jumped down the OP's throat for bumping this topic 4 days after it went unanswered, obviously you didn't do any search on this topic yourself. I did. And until this thread, I found nothing really useful. And lo-and-behold, someone was kind enough to actually do something useful instead of pointlessly sitting there and criticizing. The squeaky wheel gets the grease. Rudely telling someone to 'check their attitude and search' is not helpful- it's just rude and pointless. Just FYI.
I have an i9300 and I can't find the first line in that archive...
eXtremeDevil said:
I have an i9300 and I can't find the first line in that archive...
Click to expand...
Click to collapse
mybe it is because you run JB 4.1.2 not 4.2.2 like I do, plus mybe you're running some custom framework ( it is not AOKP as I suspect from you sig )
Adam77Root said:
...I've quickly put together an Xposed module that removes the notification.
Click to expand...
Click to collapse
@Adam77Root
Big thanks for this module: I installed another 4.2.2 JB rom for my HTC Desire, and your module works !:good::good:
Adam77Root said:
I've seen this thread in the unread threads of XDA app and although I don't use that feature, I got curious to try it out. So I've quickly put together an Xposed module that removes the notification.
You have to install Xposed framework. Get it here: http://forum.xda-developers.com/showthread.php?t=1574401
Also, install my module from the attachment, enable it and do a soft reboot in Xposed.
It works for me on my Galaxy R with CM10.1 and I assume it will work for you too, as the module doesn't change the Settings, but com.android.server.net.NetworkPolicyManagerService class. If you have any problems, post a logcat and /data/xposed/debug.log
Click to expand...
Click to collapse
this was working fine on my aokp jb mr1 Milestone 2, but stopped working when i installed the nigthly nightly (jb-mr1)2013-08-21 (wich fixes my camera issues and soe other stuff)
is there anything i can try myself to fix this or is it just incopatible with that nightly? (its still 4.2)
I'm using Lenovo phone, 4.2.1 Version. In "services.jar" I see only folder "META-INF" and file "MANIFEST.MF". I tried to rename the file to classes.dex then using MultiTool decompile but I receive: "Unexpected top-level exception:java.lang.RuntimeException:bad magic value...etc"
So what's wrong, where to find classes.dex? Someone?
new edit: Thanks a lot for all the replies, also Xposed framework+module didn't work.
Adam77Root said:
I've seen this thread in the unread threads of XDA app and although I don't use that feature, I got curious to try it out. So I've quickly put together an Xposed module that removes the notification.
You have to install Xposed framework. Get it here: http://forum.xda-developers.com/showthread.php?t=1574401
Also, install my module from the attachment, enable it and do a soft reboot in Xposed.
It works for me on my Galaxy R with CM10.1 and I assume it will work for you too, as the module doesn't change the Settings, but com.android.server.net.NetworkPolicyManagerService class. If you have any problems, post a logcat and /data/xposed/debug.log
Click to expand...
Click to collapse
Thanks a lot. Works awesome. Is it possible to post the source code to this?
css771 said:
Thanks a lot. Works awesome. Is it possible to post the source code to this?
Click to expand...
Click to collapse
I'm almost certain I don't have the original files anymore. Since it's pretty simple, you can either decompile the apk or check Android source of the class I mentioned in the post you quoted. Only one function is replaced with returning null.
Edit: Just checked, the function is enqueueRestrictedNotification.
Sent from my OmniROM-powered LG Optimus 4X HD
Xposed module works perfect on LG G2. Thanks a bunch!
Sent from my VS980 4G using Tapatalk
Adam77Root said:
I've seen this thread in the unread threads of XDA app and although I don't use that feature, I got curious to try it out. So I've quickly put together an Xposed module that removes the notification.
You have to install Xposed framework. Get it here: http://forum.xda-developers.com/showthread.php?t=1574401
Also, install my module from the attachment, enable it and do a soft reboot in Xposed.
It works for me on my Galaxy R with CM10.1 and I assume it will work for you too, as the module doesn't change the Settings, but com.android.server.net.NetworkPolicyManagerService class. If you have any problems, post a logcat and /data/xposed/debug.log
Click to expand...
Click to collapse
nice module.. work perfectly.. thanks
rooting?
do i have to root my phone to do this? will the module work without rooting? i'm new to playing with codes on my phone but I have done a lot of work with linux before so i can understand the process, i've just never rooted my phone before. i'd really like to get rid of this notification and the "usb connectivity" app's notification: internal storage &SD card- internal storage &SD card connected to PC. I mean, do i really need a notification to tell me that my phone is connected to my PC?
that last request isn't as important, at least if i accidentally click on that i'm not turning on background data use!
-yasboss
xperia z1s
jb 4.3
(just joined xda devs)
p.s.
is this the right place to ask this question?
yasboss said:
do i have to root my phone to do this? will the module work without rooting? i'm new to playing with codes on my phone but I have done a lot of work with linux before so i can understand the process, i've just never rooted my phone before. i'd really like to get rid of this notification and the "usb connectivity" app's notification: internal storage &SD card- internal storage &SD card connected to PC. I mean, do i really need a notification to tell me that my phone is connected to my PC?
that last request isn't as important, at least if i accidentally click on that i'm not turning on background data use!
-yasboss
xperia z1s
jb 4.3
(just joined xda devs)
p.s.
is this the right place to ask this question?
Click to expand...
Click to collapse
you need root to use xposed installer..
what else can it be used for?
ajeesh vijayan said:
you need root to use xposed installer..
Click to expand...
Click to collapse
can i use it for other notifications like i asked? I mean there's more than just the USB connectivity etc

[APP][PORT] Galaxy S4 Optical reader app for SIII

hi all mates. i tried port galaxy s4 optical reader app for our Galaxy SIII. it's working but with a little bug. if you want it download files and copy your phone.
Instructions;
1. download file in mediafire
2. unzip with winrar or winzip
3. copy 'photoreader' folder to root of your phone.
4. copy 'system' folder to root
after copied all files set permissions;
for all folders; rwx rx rx
for all files; rw r r
Now reboot your phone and enjoy.
Note: some files from henrylife's rom and some files from my friend's S4. thanks to them.
Known bug: force closing in image load from gallery (maybe some developer can help us).
best regards.
sorry my english.
http://www.mediafire.com/?kxgtz2qmtw3363y
hakan_710 said:
hi all mates. i tried port galaxy s4 optical reader app for our Galaxy SIII. it's working but with a little bug. if you want it download files and copy your phone.
Instructions;
1. download file in mediafire
2. unzip with winrar or winzip
3. copy 'photoreader' folder to root of your phone.
4. copy 'system' folder to root
after copied all files set permissions;
for all folders; rwx rx rx
for all files; rw r r
Now reboot your phone and enjoy.
Note: some files from henrylife's rom and some files from my friend's S4. thanks to them.
Known bug: force closing in image load from gallery (maybe some developer can help us).
best regards.
sorry my english.
http://www.mediafire.com/?kxgtz2qmtw3363y
Click to expand...
Click to collapse
Nice! I'll try it!
Hi would i be able to add this to my list of S4 apps list. Its like an all in one.
http://forum.xda-developers.com/showthread.php?p=42197662
If you allow me to I will add it with a link to this thread buddy
Sent from my GT-I9300 using xda premium
Nick Fury said:
Hi would i be able to add this to my list of S4 apps list. Its like an all in one.
http://forum.xda-developers.com/showthread.php?p=42197662
If you allow me to I will add it with a link to this thread buddy
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
not problem for me mate. you can add to yours topic.
How to set permissions rwx rx rx ????
Dymex79 said:
How to set permissions rwx rx rx ????
Click to expand...
Click to collapse
use x-plore file manager and tap file than choose permissions. read write execute , read execute , read execute. hope i was help for you.
working on 4.1.2?
Is it really working
Coz for me it is not recognizing any business cards
Am I the only one
Sent from my GT-I9300 using xda premium
freddy1991 said:
Is it really working
Coz for me it is not recognizing any business cards
Am I the only one
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
it's working. but facing recognizing problems sometimes as you say.
optical reader
hey dude! thanks for your work i downloaded the ocr in s4 to s3 its running fine no force closing but it isnt recognising anything when i point on some text it just keeps quite
even i capture it it says no information found! pls help me dude
am running 4.2.2 xxufme3 firmware
pls mail [email protected] [email protected] pls do reply as soon as possible!
No optical reader
I have given permission to all folders and all the files inside the folders and still i dont get the optical reader when i reboot
hey
what do you mean? "root of your phone'? do you mean the 'root' folder? or what?
Do any of you would be so kind as to prepare a zip file to flash via recovery? Granting single files is much pain.
Thanks in advance tremendously.
When you say put it on the "root of you phone" are you saying put it in "/" or do you put on the root of the internal sdcard?
Thanks
I need single recovery file too.
Is it working on 4.3 xxemg4?
Hellooo?!
No one interested in this funtastic feature?
Me too strucked on "not recognized" - but QR Code si working, I think ther's some dictionary lacks...
I found the .zip for Note 3...but this installed nothing on my S3...SUGGESTIONS?
CutriX-17 said:
No one interested in this funtastic feature?
Me too strucked on "not recognized" - but QR Code si working, I think ther's some dictionary lacks...
I found the .zip for Note 3...but this installed nothing on my S3...SUGGESTIONS?
Click to expand...
Click to collapse
you can try this feature on glance rom for now
maybe I will port it from s4 when I have enough time
Ra2fet said:
you can try this feature on glance rom for now
maybe I will port it from s4 when I have enough time
Click to expand...
Click to collapse
So no possibility of an add-on module like Xposed ?!
...however I'll be in waiting for your new ROM guy, maybe before I get a new Note 3!
Master fixer...here i am!
Yes I Do It, fully working!
First step, download this complete package from another thread on xda:
http://forum.xda-developers.com/showthread.php?t=2352726
Unzip it, and simply copy/paste the folders on /system...
I mean the internal memory of the phone, nor the sdCard, neither the extSdCard - how to say...
in italian /dispositivo if you use esExplorer, or home if you use Root Browser
So, open Optical Reader folder, and copy/paste photoreader folder in /system - again open Optical Reader folder/lib select all copy/paste to /system/lib (must be 11 files) - last step open Optical Reader folder/app select all copy/paste to /system/app
Almost done, now reboot to recovery and wipe cache and then Dalvik - reboot and enjoy!
NO NEED TO SET PERMISSION OF NONE, the app didn't work previosly, for lacking some library, and the diction.apk
You probably need the Samsung store installed to get new library for the translation.
I get the app working on Imperium 24.0 Rom...
Funny tricks...SEE YOU! - if you liked my post clap your hands...

Categories

Resources