General :: How To Make System APK Persistent Through Reboot
Feb 18, 2013
I have Cyanogenmod 10.1 (self-built) on my Samsung I9300 Int., but I assume the question applies to every android version (I'm new to android development and flashing custom firmwares to my phone, but I have thorough experience with other embedded devices and gnu/linux):
I'm currently modifying a system apk (specifically LockClock.apk), which comes with CM10.1. From time to time, I "adb push" a modified version of the apk to my /system/app. (When the app works), it works without problems until the phone is restartet. After the reboot, the application does no longer appear to be installed (though the modified apk is still present in /system/app). I have to "adb push" the apk again, to make it work again. Is there a way to make the app permanently installed after an "adb push"?
View 2 Replies
Aug 23, 2012
What does it mean when my battery is up from 60 to 80 % after system reboot?
GT-P7300
View 1 Replies
View Related
May 18, 2010
Im using
CODE:.......
Now, since Cookie does not implement serializeable, I can't serialize that List.
specified my goal, not only the problem)
My goal is to use the DefaultHttpClient with persistent cookies.
View 1 Replies
View Related
Aug 10, 2012
I have to use adb over ssh. now, everything works fine but after a reboot i have to connect my device again over usb and set adb to listen to tcpip instead of usb.
Is there a way to save those settings? This is how it works for now. After a reboot i have to use these commands again (over usb) in order to establish an adb connection over ssh.
# adb kill-server
# adb tcpip 5555
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
restarting in TCP mode port: 5555
View 3 Replies
View Related
Oct 3, 2013
so I've been searching around but I couldn't find any clues. Right now I have a complete system dump for a HTC One Rom. How could add root to it and make it flashable via recovery?
View 4 Replies
View Related
Jan 19, 2013
I know that I can make a recovery zip to install packages, but I was wondering if I can make a zip that will extract and replace database files on my phone that are not packaged. The reason I want to do this is so that when I flash a new ROM, I can easily restore certain phone settings like altered APN databases.
View 1 Replies
View Related
Aug 6, 2010
How do I do a system reboot for my Droid Eris? People cant hear me on the other line so I was told to reboot, but I don't know how.
View 2 Replies
View Related
Oct 22, 2013
I'm looking for an email app with really persistent notifications, that is: instead of the single tone/vibrate notification when a new email arrives, I need it to keep notifying me periodically (say, once per minute) until I open the app and read the email, or at least clear it from the notification shade.
recommend an email app that does that, or an addon/plugin/extra app that accomplishes the same thing?
View 2 Replies
View Related
Jan 10, 2014
So, we all know that some apps that are meant to always be running have this feature to place a constant notifcation in the statusbar which keeps the app from being killed off by Android... and now we got, in Jellybean, the possibility to hide notifcations from any app. If I do this with an app that has this enhanced priority notification running, will the app still remain "protected" from being killed? Or will the hiding of this notification result in the app being reduced back to its "regular" state?
View 3 Replies
View Related
Feb 14, 2013
Any mod or app that allows the notification/status bar be visible all the time throughout any app? I dont mind loosing that few bits of screen.
View 3 Replies
View Related
Sep 11, 2012
I am sure this has happened to many - with persistent notifications the status bar is all taken up and any new notifications do not show up without dropping the notification scroll.
Short of removing persistent notifications, I have tried No LED/ Super Notifier/ Super Status Bar/ Status Bar Pro - all have one or the other problems. For example the Super Status bar just did not work. So I am writing to ask??
Is there an elegant solution - such as maybe double wide status bar, or like windows - hiding the notifications you do not need to see but they're still there (so you can ensure the app did not go quit on ya).
I am running a Verizon Spectrum LG VS920 Stock GB ROM.
View 1 Replies
View Related
Nov 20, 2009
Everytime I try to fake another provider, my Hero reboot. It was working before I run MoDaCo 2.9.
View 3 Replies
View Related
Feb 15, 2010
I want to change the path of the libwebcore.so to the path of the browser application instead of "/system/lib" to make browser standalone how can i do this? Hint i have 2.1 version
View 2 Replies
View Related
Sep 6, 2010
Is there a way to make the x volume louder than the system will allow? audio hack won't work on the x
View 6 Replies
View Related
Oct 15, 2010
I have a SharedPreference that I need to reset itself to its initial value after the phone reboots... any ideas?
View 1 Replies
View Related
Jul 11, 2012
What will the cwm backup?
if I backup a system with locked bootloader,will the bootloader relock after I restore the system from an unlocked bootloader system?
Which content will cwm backup?(include kernel?)
View 5 Replies
View Related
Oct 22, 2010
How do you stop persistent programs,
for instance:
when i goto manage applications -> running services, fring is always running even if i don't run the app.
I will force stop the app, then minutes later, it will be back there again. that's just one of them.
Amazon mp3 also does the same thing. it still comes back even if i use titanium backup to freeze the app.
View 2 Replies
View Related
Oct 2, 2009
My application needs to store some application specific data on the device that persist, even when the app is uninstalled. Using files or databases is not possible as they are deleted with the app when the app is uninstalled. Storing it on an SD-card is too fragile. It is my understanding Content Providers also are deleted with their parent app?
View 7 Replies
View Related
Aug 6, 2009
I need to retain a complex object in my service, so I can reliably come back to it (it holds updates). Initially I coded it just as a class filed in my Service implementation but I'm observing that the updates object is periodically reset to null which tells me that server class itself is recreated. Can someone recommend lightweight reliable strategy to save and recreate such updates object (I can make it serializable)
View 2 Replies
View Related
Mar 18, 2010
I recently converted to BH_MAN stock BH2 image + root. I'm having the following situation:After the install and performing the Master reset everything is working fine, I proceeded to download some applications and everything was operational. I rebooted my phone (for some reason I do not recall right now, happened 2 days ago) and when it came up, I had several applications corrupted: There was an icon in the same place that the original was with the same name but different icon, and if I clicked it would advise that the application was not installed. I would go to my downloads and the application management sections and see the application and it wouldn't work till I uninstalled it, then reinstalled it.Now, last night I also uninstalled the T-Mobile "My Account" software and let my battery drain out completely to have it sync correctly (that was another problem I was having, batt would say I was at 20% and I had 4 bars in the screen, fixed now) and once I let it charge completely I powered it on and some applications were uninstalled again, but the T-Mobile Account software was there again! Can anyone explain if this is a permanent problem or is there something to be done?
View 3 Replies
View Related
Nov 9, 2010
This usually happens when the user hits "Home", does something else, then eventually wanders back into the app - it attempts to go back to where it was before, but the application Context has mysteriously lost all its previously-saved state information (in my case, a few integers and a few Strings). I know this is a very vague question, but are there any cases (other than the user using "back" to back completely out of the application) where the application Context gets completely destroyed even though the application is not terminated? Is there a better way to maintain persistent state information?
View 1 Replies
View Related
Aug 31, 2010
I noticed that recently any photo uploads have the caption "Uploaded via Facebook Mobile" instead of "Uploaded via Facebook for Android". This changed sometime between May 10 and 15: Sometime between May 10 and 15 the Facebook Android app has c on Twitpic.Can anyone help me with this issue? and is anybody having the same problems as I'm having?
View 1 Replies
View Related
Sep 5, 2010
Okay, So I have my brightness set to max, I have power saving mode turned OFF, yet when the battery starts to die down, the phone INSISTS on automatically setting the brightness to a lower setting.Anyone else notice this, or is it just my phone? Again I have brightness set to max, power saving off yet when my battery level gets really low, the darn phone insists that the brightness should be less, and decreases it for me automatically.
View 11 Replies
View Related
Jul 21, 2010
In the class PersistentState.java the prefs variable gets the saved/typed text from prior sessions here, on line 106 into restoredText.
Where does the getString method get the saved/typed text?
CODE:............
View 1 Replies
View Related
Apr 29, 2010
First off, let me say that feel free to recommend me if long lived TCP persistent connections are the way to go or persistent HTTP connections are better.
I've also pre-read that instead of having a persistent connection, I can have a polling mechanism.
I'm just asking in the curious interest of how can I create a persistent connection from Android to a server?
View 2 Replies
View Related
Jul 15, 2010
Unless I'm mistaken, it seems the X only ringtones or vibrates one time when an SMS, MMS or GMail is received. There does not seem to be a method to allow periodic ringtones, vibrations or LED blinks -- to indicate a message was received. So the only way to see if you have a message seems to be to wake the phone up. If true -- this would be a real bummer.
View 7 Replies
View Related
Nov 23, 2010
How can I execute an action (maybe an Intent) on every specified time (e.g. Every day on 5AM)? It has to stay after device reboots, similar to how cron works.
I am not sure if I can use AlarmManager for this, or can I?
View 1 Replies
View Related
Oct 27, 2010
I'm writing a bitmap editor where I use the Command Pattern to represent actions that will transform the document. I keep all the commands executed so far in a list and, to implement undo, I restore the document to its initial state and then replay all but the last command.
I would like my undo/redo system to have the following feature: When the user closes the editor and returns, the document, including the available undo and redo commands, should be restored to the state it was in when the user left.
I'm implementing this for Android where your application can be given very little notice before it will be cleared from memory if e.g. the user gets a phone call. Also, some of my commands are e.g. a list of all the x,y co-ord the user painted on so these might take a few moments to save to disk.
My current idea is as follows:
When a new action is performed, the command object is added to a list S for commands that need to be saved to disk.
A background thread is used that will continually take commands from list S and save them to disk. The postfix of the filenames used will be numbered in sequence. For example, if the user filled the screen then drew 2 circles, the command files might be called FillCommand1.cmd, DrawCircleCommand2.cmd, DrawCircleCommand3.cmd.
Periodically, we save a "checkpoint" command whose purpose is to store the full document state so that, even if one of the .cmd files is corrupted, we can restore a recent version of the document.
When the user exits the app, the background thread attempts to finish up saving all the commands it can (but it might get killed).
On startup, we look for the most recent .cmd file that represents a checkpoint that we can load successfully. All the .cmd files we can load after this (i.e. some files might be corrupt) go in the redo command list, all the .cmd files we can load between the first checkpoint loaded and the oldest checkpoint we can load go in the undo list.
I want the undo limit to be about 20 or 30 commands back so I need extra logic for discarding commands, deleting .cmd files and I've got to worry about multi-threading behaviour. This system seems pretty complex and will need a lot of testing to make sure it doesn't go wrong.
Is there anything in Java or Android than can help make this easier? Am I reinventing the wheel anywhere? Maybe a database would be better?
View 2 Replies
View Related
Feb 19, 2010
I have an application that sets the user's background. Is it possible to remove the wallpaper if my app is uninstalled?
View 1 Replies
View Related
May 7, 2014
I installed CM using CWM onto my HTC Deluxe. I tried 4 different nightlies and the 10.2 stable and after installing any of them, I get this... it reboots into the white htc screen with a quick vibrate. Then it goes black for a second and reboots again. No CM screen or anything!
I've tried flashing it multiple times, doing factory resets, clearing cache and dalvaic cache. I am at a loss as to what to do next. with the 10.2, instead of rebooting it just gets stuck at the HTC white screen!
View 5 Replies
View Related