How to keep a system app between nightly flashes? - G2 and Desire Z Q&A, Help & Troubleshooting

I use ex Dialer and Notigo, a system app that allows certain dialer apps access to clearing the missed call notifications. When Notigo is flashed, it is put in /system/app/NotiGo.apk but whenever I flash a new nightly, it disappears and I keep having to reflash Notigo afterwards. Is there a way to prevent this from being deleted? I tried adding /system/app/NotiGo.apk to my /system/etc/custom_backup_list.txt but that didn't work.
Edit 1: I realize I formatted the entry in custom_backup_list.txt incorrectly. /system/ is already assumed so I changed it to /app/NotiGo.apk. I'll see if it works for the next nightly I flash.
Edit 2: Just confirming that the change I made in Edit 1 made it stay as expected. Hopefully someone else may find this useful.

I was wondering how you update CM on your phone? I have tried to get this script to work many times, and I can never get it to backup anything.

Are you wondering how to update cyanogenmod? As in flashing the nightlies?
Sent from my HTC Vision using xda premium

No, I was wondering how to get the phone to properly backup the files listed in the custom_backup_list.txt file. After further research I found that the file is not supported anymore with the versions of CM I am flashing. That is why I was having trouble getting the files to backup.

Related

[Q] Titanium Backup Failing Since License.

Not sure where this question goes, I figure here but...
Last week I planned on trying out a few ROMS, I've been using Titanium flawlessly but with 48+ apps I decided to buy a license to bypass all the prompts.
And this is where the problems started. I still have not tried without the license file installed, I know I should.
I create a backup, verify the backup, flash a ROM and 1) flash install Titanium or 2) install from the market, start restore and the phone crashes back to the bootanimation, verify the backup now and every backup will have errors.
I posted this on the official Titanium forum and got not response.
Update busybox
I've tried that both before backup and before restore.
when titanium restores it kills the process it is restoring. if you are restoring the whole system instead of just your user apps, what you are saying will occur.
I am not restoring any system files or even system settings.
Only user apps and data.
I removed the lic file. Next flash I'll try a backup/restore and see what happens.
Tha'ts the only difference.
email the dev. he is great at helping and is damn smart.
Sent from my PC36100 using Tapatalk
HTC6800 said:
email the dev. he is great at helping and is damn smart.
Click to expand...
Click to collapse
That was one of the issues. The license was sent from a noreply address and support is direct to a forum.
However I just checked my paypal and sent an email to the address I paypal'd the donation.
I deleted the lic file from the SDcard and even rebooted and Titanium still shows as registered.
I'll hope that's a good email address and wait for an email response.
Sounds like you are having a similar problem that I was having. Are you letting TB auto restore settings from your sd cards? I turned that off... Deleted the files from the sd card... And haven't seen that problem again. I used mostly default settings so id prefer to just have to remember to adjust the few settings I liked whether I did a reinstall. (also.. Now that I'm thinking about it.. I also adopted trying to flash tb and inse instead just install it from the market... ) give both a go.
Sent from my PC36100 using XDA App
Do you have debugging mode on?....
vladthedog said:
Sounds like you are having a similar problem that I was having. Are you letting TB auto restore settings from your sd cards?
Click to expand...
Click to collapse
Not sure what you mean by that. It the same settings I've been using.
Again the only difference being the license file.
millerd79 said:
Do you have debugging mode on?....
Click to expand...
Click to collapse
Debugging has always been on since before using Titanium.
Now to make it really interesting.
I've been playing with ROMS the last few days, I'm cooking a ROM from the latest RUU so I'm done now.
I've backed up in Sense, with the lic. I restored in a clean install of Cyanogen.
I also made a backup in Cyanogen and restored to a clean install of Sense.
I had to install each program manually with prompts but no errors and everything worked. No missing SDCard of data not working. I left those problems out.
I have a clean backup made in a Sense ROM and will try to restore to my new Sense ROM.
I previously deleted the backups through Titanium and also deleted the folder on the SDCard.
I once formatted and restored my files to the card while all this was happening.
As of now the restore seems to be going well.
-edit: Restore is finished and everything is working. Not sure what went on unless Titanium just doesn’t like the Snap Kernel.
I had this same TB problem after getting the license file. In trying to figure out the issue, I discovered that I had somehow managed to lose full root (i.e. NAND re-locked, s-on), my radio reverted to like 1.39.x (and reflashing the latest would not stick), and my HBOOT version had changed to .79 (or whatever the original shipped version was -- as opposed to the .76 version from Toast's root part 2).
I seriously doubt that the TB license caused all of those problems (though I can't for the life of me figure out how on earth that happened), but for others experiencing similar problems, double check that you have full root.
Is it hanging on the restore? Go to prefererences and change the restore type to "indirect."
There is an update on market for tb that says it addresses some license problems.
I did not lose root, All root apps still worked and I was able to flash all ROMS, themes, etc.
Although I do belive the ROMS I was restoring to were 3.29 OTA based. My current is 3.29 RUU based.
Nothing was hanging for me, just a crash, not an app FC, and all backups then being corrupt.
It's worked great when I flashed my current ROM. I even went back and forth a couple times playing with Cyanogen.
I don't know what happened.
did you get a response back from email
Same thing happened to me. went from a rooted Stock with s-off to Myn TwoPointTwo and formatted new SD card with A2SD (SD-ext) partition and backups verify as all corrupted. Tried Traditional restore and some could not be parsed. Also the Data for some completely corrupt.
What is odd is that some older backups were fine but newer ones where not. Even tried re-copying from a backups from PC and Dropbox.
Finishing re-install then going to wipe backups and try again. Its a real pain to manual reinstall and setup.

CM7 Final - Many Force closes from Launcher Pro

Hi, I'm running cm7.0 stable and I used titanium backup to restore my apps+data when I flashed this rom. I am continuing to get force closes quite often. I did uninstall and reinstall launcher pro once to see if that would help and it didn't help. I was running WidgetLocker homescreen and disabled that for a bit and it didn't happen as often. Is there anything I can do to correct this? I had read somewhere when installing a fresh rom to not restore data or possibly even apps? If I flash cm7 again over my current one will all apps and settings stay untouched?
I also just read about cm7.0.2.1, should I download this? I do eventually want to step forward as stable releases come out. Will I have to wipe anything again and if I were to download and install the rom through rom manager would all my apps and settings stay untouched?
I noticed Rom Manager also has an updates feature for premium users, is this the nightly updates and not the stable versions? Or is it the same as the stable versions but just updates it rather than flashing the entire rom? Thanks in advance for any help received here!
I was having this same problem earlier today. When restoring with Titanium Backup, you can't use the batch feature to restore any apps...you're going to have to go to the Backup/Restore tab and restore each app you want individually. For some reason the release can't handle the data (which I suppose makes sense because of all the irrelevant system files). (So don't worry about LauncherPro or WidgetLocker, they're not causing the problem.)
To fix it, you're going to need to reflash the ROM (or recover a backup if you made one before you recovered your apps through TB), and then when you want your apps, what you'll end up doing is going into TB, hitting the Backup/Restore tab, and go through the list of apps >> find one you want to restore and click/touch it >> hit "Restore" >> hit "App only".
Also, I would download 7.0.2.1 -- it's the latest release, and as far as I know, it is extremely stable. If you're unsure about certain releases, ROM Manager does have a comment/rating section with each release, and you can get a good idea as to how stable it is there.
I'm not too sure about the ROM Manager/updating question, though, and would be interested in hearing the answer, as well.
Let us know if you have any more questions!
Each rom is different so if your trying to restore system apps from one rom to another it usually will not work especially if your going from say a sense rom to gingerbread. Uninstall the apps that fc and try just restoring the app minus data.. good luck
As long as your using a rom manager supported rom it knows what rom your using and will give you updates for your rom 7.0.2.1 just fixes camera and is stated stable nand first and if you update w/o wipe and it messes with anything just restore and wipe before update
I have a feeling that its more of a permissions issue. Running Titanium backup and restoring your apps is not a problem at all. run the batch then select restore all apps with data. Once the list of apps comes up make sure the radio button that says "App only" is the one that is selected. If you restore the data that could cause issues.
I forgot to mention I did fix permissions with Root Tools. Anyone know about ROM manager and how it updates. If I go to 7.0.2.1 and there is a 7.3 does it install over the last one? And the update feature for Premium Users only to get access to the nightlys?
Android314 said:
I forgot to mention I did fix permissions with Root Tools. Anyone know about ROM manager and how it updates. If I go to 7.0.2.1 and there is a 7.3 does it install over the last one? And the update feature for Premium Users only to get access to the nightlys?
Click to expand...
Click to collapse
Yes it does install over the other one and you can keep all of your existing data without having to restore it. I'd suggest not using ROM manager, but I do believe the nightlies are for premium users in ROM manager.
Thanks for the help guys. I am going to install cm7.0.2.1 very soon and restore only apps without the data. It's a pain because I have so many! But I'll do it right this time. One last question, the google apps zip (gapps-gb-20110307-signed.zip) I used to install after cm7.0 stable, can I use the same one for the new version? Or did something change?
Android314 said:
Thanks for the help guys. I am going to install cm7.0.2.1 very soon and restore only apps without the data. It's a pain because I have so many! But I'll do it right this time. One last question, the google apps zip (gapps-gb-20110307-signed.zip) I used to install after cm7.0 stable, can I use the same one for the new version? Or did something change?
Click to expand...
Click to collapse
That has not changed. You can use the same one
Thanks everyone for the help! I wiped my phone and successfully installed the new version of cm7 yesterday. I manually installed all of my apps again and got it setup and configured once again without any issues or force closes. My phone is running very smooth now!
I get the same thing sometimes on my phone. Launcher pro is force closing because its waiting on the sd card to finish mounting. In gingerbread it takes a hell of a long time for the sd card to mount, just let your phone sit for a min or two and you shouldn't have any problems. Also if you hit wait instead of force close it'll start working right after. No need to reflash the rom or anything else.
Sent from my pimped out phone

Need build.prop from recent stock

So... I have been on a custom ROM for a while now. The ROM I have been using is great... unfortunately... I have been having constant problems on the market. Currently, I can go to the market on the web and it still lists my device from when it had the latest stock version. My issue is that now it is showing a TON of apps that are incompatible which is complete BS. I was able to get some of the APKs and had some from a titanium backup I had done previously... and they all work perfectly fine.
I did a wipe of market data and removed my account on my phone. I then rebooted, added my account, and started up the market. This fixed about half of the apps... but I still have a ton of apps showing incompatible.
To try and track down this issue... can someone post a build.prop from the latest stock build? I want to try some modifications to my build.prop to try and fix the issue. Currently, I am on the King Kang ROM (AOKP+Paranoid)
EDIT: Was able to restore my device ID from a backup from when I was running stock. I am now able to install things... though it worries me that the problem could re-occur as with its normal configuration it would prevent installation of some applications.
Goblinlord said:
So... I have been on a custom ROM for a while now. The ROM I have been using is great... unfortunately... I have been having constant problems on the market. Currently, I can go to the market on the web and it still lists my device from when it had the latest stock version. My issue is that now it is showing a TON of apps that are incompatible which is complete BS. I was able to get some of the APKs and had some from a titanium backup I had done previously... and they all work perfectly fine.
I did a wipe of market data and removed my account on my phone. I then rebooted, added my account, and started up the market. This fixed about half of the apps... but I still have a ton of apps showing incompatible.
To try and track down this issue... can someone post a build.prop from the latest stock build? I want to try some modifications to my build.prop to try and fix the issue. Currently, I am on the King Kang ROM (AOKP+Paranoid)
EDIT: Was able to restore my device ID from a backup from when I was running stock. I am now able to install things... though it worries me that the problem could re-occur as with its normal configuration it would prevent installation of some applications.
Click to expand...
Click to collapse
Did you ever change the DPI on your phone? That will make installing things from the market impossible unless you have a modded market.
Sent from my SPH-D710 using xda app-developers app
however it was set on this ROM is where it was initially and had problems. I changed with Paranoid but other than that no. After changing with Paranoid I can still DL most apps. Though... the DPI is pretty jacked immediately after flashing... its all set at like 320 default which is too large for almost anything. I have set it down to 200. Even though I still have it at 200 after restoring a device ID I can now install stuff again for now though.

Cyanogenmod help

I've looked through the forums for hours now and according to the noob video made by xda. I'm asking for help. I have an at&t Samsung galaxy s3 with the CyanogenMod installed (as the title implies) and to be honest its not worth the hastle. I'm having problems left and right. First off, the camera app that comes with the phone is missing. Or if theres a custom one. Its not included. I'm aware that I can find and install an external apk but I'll get to the problem with that in a bit. I followed very detailed instructions on installing the cyanogenmod and gapps and everything was fine (stable version) but the notifications suggested I update the mod so I did. Now I have the camera but my play store will not work. It opens for a split second then closes. Also, the file manager is gone. So I downloaded multiple file managers and it seems after first use that they can no longer open anything. I can't even access the files. I checked the superuser allowed and disallowed apps and everything seems fine. Now with the apk problem. Almost any apk I download will not install on my phone. Sorry for the erratic problems just jumbled everywhere in this post but I'm using my phone to write this so its a bit difficult to organize. Any feedback would greatly be appreciated. A link to a post already like this (which I couldn't find) or a link to a tutorial maybe or troubleshooting these problems. I will delete this post as soon as I find a solution so I don't use up space on the forums with a somewhat personal problem. Thanks in advance!
Using AT&T SAMSUNG Galaxy S3-SGH-I747
GoLordNibbler said:
I've looked through the forums for hours now and according to the noob video made by xda. I'm asking for help. I have an at&t Samsung galaxy s3 with the CyanogenMod installed (as the title implies) and to be honest its not worth the hastle. I'm having problems left and right. First off, the camera app that comes with the phone is missing. Or if theres a custom one. Its not included. I'm aware that I can find and install an external apk but I'll get to the problem with that in a bit. I followed very detailed instructions on installing the cyanogenmod and gapps and everything was fine (stable version) but the notifications suggested I update the mod so I did. Now I have the camera but my play store will not work. It opens for a split second then closes. Also, the file manager is gone. So I downloaded multiple file managers and it seems after first use that they can no longer open anything. I can't even access the files. I checked the superuser allowed and disallowed apps and everything seems fine. Now with the apk problem. Almost any apk I download will not install on my phone. Sorry for the erratic problems just jumbled everywhere in this post but I'm using my phone to write this so its a bit difficult to organize. Any feedback would greatly be appreciated. A link to a post already like this (which I couldn't find) or a link to a tutorial maybe or troubleshooting these problems. I will delete this post as soon as I find a solution so I don't use up space on the forums with a somewhat personal problem. Thanks in advance!
Using AT&T SAMSUNG Galaxy S3-SGH-I747
Click to expand...
Click to collapse
Go in application settings and delete your play store's data/cache. That should fix it.
Without it, it's kinda hard to install apps unless you sideload. If you do sideload, you need to allow it in your settings (security I believe).
if you're using the stable version of CM
you might have to go to Date & Time setting
and fix the date on there in order to make play store works
and everything you say about camera, it is weird indeed because not only CM, every rom out there should include a camera app
if that problem still exists for you, you might want to clean/wipe everything, from cache to system and then flash the rom again
Thank you guys. I tried wiping the cache and it still didn't work. I don't mind side loading which is what I've been doing but its not ideal. I can only search for the exact app(s) I want rather than exploring via play store. Also, you guys didn't mention the problem with the file managers not working after first try. If you have any feedback it'd be great. I would like to keep the cyanogenmod but its just not worth the time and effort (opinion). If I can't fix the problem or find a solution I'll just go back to my phones stock UI because even though I think flashing ROMs is awesome. It really isn't worth frustrating myself with something that's an option and not a necessity. Thanks in advance for feedback.
Sent from my SAMSUNG-SGH-I747
Have you tried a factory reset?
GoLordNibbler said:
Thank you guys. I tried wiping the cache and it still didn't work. I don't mind side loading which is what I've been doing but its not ideal. I can only search for the exact app(s) I want rather than exploring via play store. Also, you guys didn't mention the problem with the file managers not working after first try. If you have any feedback it'd be great. I would like to keep the cyanogenmod but its just not worth the time and effort (opinion). If I can't fix the problem or find a solution I'll just go back to my phones stock UI because even though I think flashing ROMs is awesome. It really isn't worth frustrating myself with something that's an option and not a necessity. Thanks in advance for feedback.
Sent from my SAMSUNG-SGH-I747
Click to expand...
Click to collapse
the file manager part is really weird.
if you clean install, especially the stable version, everything should works just fine
however, it sounds like bad install though
how about this this
Download Titanium Backup and wipe data + cache for file manager only and see if it works
if not, try the longer way
download stock att rom(4.1.1)
go to recovery, wipe everything
go to download mode
flash stock rom with odin
restart to recovery, wipe dalvik and cache
root the phone
Re-Download CM10 stable
go to recovery, wipe everything, including System
flash cm10
reboot and see if everything works
Yeah I've tried a factory reset. It only deleted my user data not really resetting the phone. Thank you pcchano (sorry if I got name wrong) I'll try and erase everything and reinstall from scratch but its not my first time using custom ROMs so I'm sure I did it right but I'll give it a go. Also, someone told me that I need to completely wipe any data associated with Google wallet before I root or else play store will not work. Has anyone tried out this theory or know anything about it? It doesn't make sense to me seeing as wallet is saved server side beside the basic user data stored on the phone. But please let me know. You guys are all very helpful thanks for the feedback.
Sent from my SAMSUNG-SGH-I747
Also, I've never had to wipe dalvik before? Could that be my problem? I also noticed that when I updated cm the info panel said 'experimental' even though I chose the stable version to start with? Could some of these problems be associated with cm rather than blaming it on my phone? Thanks in advance for any feedback.
Sent from my SAMSUNG-SGH-I747
GoLordNibbler said:
Also, I've never had to wipe dalvik before? Could that be my problem? I also noticed that when I updated cm the info panel said 'experimental' even though I chose the stable version to start with? Could some of these problems be associated with cm rather than blaming it on my phone? Thanks in advance for any feedback.
Sent from my SAMSUNG-SGH-I747
Click to expand...
Click to collapse
i have like 2 s3 using CM10 stable version and no problem with it (other than the play store wouldn't connect due to the date in setting wasn't correct) while I myself am using CM10.1 and other than the bugs that come with CM10.1 or google source code, it is a functional rom
so i would rather say, it is your phone
and you should always wipe dalvik cache along with cache partition before flashing new rom.
OK pcshano thanks very much. I'll just erase everything and start from scratch. Thanks everyone who helped me. This forum and you people are awesome. I'll delete this post as soon as I reinstall the ROM to make sure it worked. Thanks again!
Sent from my SAMSUNG-SGH-I747
The stable cm is of the 10 variety. The experimental builds are 10.1 if I'm not mistaken. In which case you should only need to flash the appropriate gapps package to get the play store functioning and camera as well. The file manager issue I don't know beyond the external sd card being a bit sketchy on 4.2 builds. Are you using an external sd card? Start with a fresh flash of 10.1 if you want to go with that, flash a 4.2 gapps zip and see what happens from there.
Sent from my SAMSUNG-SGH-I747 using xda premium

[Q] CM11 Maguro - APN Issue

Hi guys !
After installing the cm11 (v. 20131209 -> http://forum.xda-developers.com/showthread.php?t=2525351) I ran into two problems, that it seems I'm the only one here to have.
1) My APNs are empty. I can't manually add any, and it is impossible to import the old via "VPN Backup & Restore". Both solutions don't give me any error message, but just nothing is created. So I can not access the network at all.
2) Problem much smaller, but still weird: All my sms and phone contacts are deleted, despite I restored /data. It is impossible to recover it even by manually copying mmssms.db or contacts2.db from my old system (4.3), or by using "SMS Backup & Restore". Still no error message, but nothing.
I note that I have wiped cache and system and I installed gapps. Permissions of each .db are good, I also tried to fix permissions.
Samsung Galaxy Nexus (Maguro; GSM/HSPA+) - GT-I9250
Recovery: twrp-2.6.3.2-maguro
Is it a cm11 bug ?
Thanks for your help.
Olivier
I'm using official cm so haven't experienced this issue. It seems like something has gone wrong during the flash.
I would suggest wiping, system, data, cache and dalvik.
Also what gapps did you use? You could try flashing pa 0 day gapps, log out then back into Google and see if your contacts are restored.
If you still have problems you might want to consider changing to official CM.
-----------------------------------------------------
Sign up for COPY with this link, and we'll both get 5 GB of free cloud storage in addition to the usual 15 GB: https://copy.com?r=m3arsR
Free GiffGaff SIM with £5 credit: http://redir.info.giffgaff.com/r/?id=h4d8d850,c0e1337,c0e139c&p1=d3xp2pc
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
Hey d3xp2pc, thanks for your answer,
There is no official stable cm11 for GN yet. I'll give the last nightly a try, to see if I still have the same problem.
I tried wiping everything, and flashed many times to try differents things, but still.
About gapps, sorry I just realized I wasn't clear in my previous post. My google contacts are correctly restored after sync, but some of my contacts are just stored in phone, and I couldn't get them back (it's like 4.3 and 4.4 contacts2.db and mmssms.db databases are not compatibles).
I haven't tried 0 day pa gapps, I used gapps-kk-20131208. I'll try the official one, but I don't think it will fix any of my problems (apn and sms), does it ?
Actually, I have the exact same problem with the cm-11 nightlies (and pa_gapps-full-4.4-20131126-signed).
I still can't get to the network because APNs are empty, and I can't restore the old ones as well as create new ones.
Same problems for sms as well.
What's wrong? I am the only one? Everything works well with the stock 4.3.
Thanks
morpheux74 said:
Actually, I have the exact same problem with the cm-11 nightlies (and pa_gapps-full-4.4-20131126-signed).
I still can't get to the network because APNs are empty, and I can't restore the old ones as well as create new ones.
Same problems for sms as well.
What's wrong? I am the only one? Everything works well with the stock 4.3.
Thanks
Click to expand...
Click to collapse
In CM 11 I am not even able to access the APN menu. The option is darkened and can't be clicked. It's as if I am being refused access to modify my APNs, when they clearly are in need of modification. I seriously doubt these issues are user related. I had the same issue with SlimKat.

Categories

Resources