[Q] Help needed - Messaging FS after ICS - Nexus S Q&A, Help & Troubleshooting

Hi,
I backed up my phone with Titanium and after updating to 4.0.3 tried to restore data only, from that moment - messaging force closing.
what can I do ?
thanks

Clear any messaging related data, reboot, and then see what happens.

Thanks but it's the same - the app loads and than crashes immediately,
Can I re-download the apk somewhere ?
I know it's core element - but maybe it can be extracted from the whole update ?

Well just to reiterate make sure you wipe all relevant system apps in titanium as that should do it (just want to be sure ).
But you could reflash the rom again, or part of the rom.
And yes you could pull the apps from the rom and install them without reflashing (though you will have to use titanium to make it a system app probably).
Oh yeah you could try wiping the dalvik cache.

tried wiping the dalvik cache did not help. how can I flash only the messaging app ?

Shakty1 said:
tried wiping the dalvik cache did not help. how can I flash only the messaging app ?
Click to expand...
Click to collapse
Well I haven't done such a thing for a while but when I did a similar thing I did it like this:
1. Get full rom zip
2. Open zip with 7-Zip (or similar program).
3. Delete anything you don't want to be flashed again (I guess in your case nearly everything)
4. Flash
Note: I said open the zip, not extract it.
Can't guarantee this will work though I would personally just do a full wipe, flash the whole rom again, and be careful what you restore (i.e. don't restore system data).

Never use Ti to restore data after changing roms. It's the first rule of Flash Club.

Related

Stuck in boot loop every time I flash a rom

I've flashed a few roms now (masters stock rooted voodoo versions of nexus s firmware) and every time I do the boot logo just keeps on going until I do a battery pull and reboot, and then it's ok.
It's not a problem, I just wondered why this happens??
did you wipe dalvik, factory settings, cache?
did you change the kernel?
zephiK said:
did you wipe dalvik, factory settings, cache?
did you change the kernel?
Click to expand...
Click to collapse
No. These roms don't wipe anything and I don't want to lose my stuff. I don't think you are meant to wipe with them either.
buachaille said:
No. These roms don't wipe anything and I don't want to lose my stuff. I don't think you are meant to wipe with them either.
Click to expand...
Click to collapse
I was asking if YOU did wipe them because if you're going from one ROM to the other ROM you are supposed to wipe.
You lose your settings and apps. Back them up using Titanium Backup (Or any other related app).
Or.. better yet, just perform a nandroid backup. After that, wipe those 3 and reboot. See if the problem is resolved, if it is then you already know. If not then nandroid restore.
If you're going from one ROM to a completely different ROM made by someone else, you have to wipe data/factory settings!
If you're flashing an updated version of the current rom you're using, wipe cache/dalvik-cache.
If you're flashing different roms every other day, go buy Titanium Backup to backup your apps/settings.
And uh what ROM are u flashing where "you're not meant to wipe"
-Nexus S
nxt said:
If you're going from one ROM to a completely different ROM made by someone else, you have to wipe data/factory settings!
If you're flashing an updated version of the current rom you're using, wipe cache/dalvik-cache.
If you're flashing different roms every other day, go buy Titanium Backup to backup your apps/settings.
And uh what ROM are u flashing where "you're not meant to wipe"
-Nexus S
Click to expand...
Click to collapse
I am new to this so I'm still getting my head around it.
From stock I went to the rooted voodoo version of this - http://forum.xda-developers.com/showthread.php?t=971690.
From there I went to the stock rooted version of this - http://forum.xda-developers.com/showthread.php?t=979851
In both cases it says:
Rom Information:
Does it wipe: No
Does it flash the radio: Yes
So since they don't wipe, I assumed I shouldn't wipe anything, but it looks like I was wrong. From your post it looks like I should have wiped the cache and dalvik cache. I know how to do this in CW but I've never done it and my roms are working fine.
So next time master releases an update I gather I should wipe cache and dalvik cache yeah?
Also, when I do this will it remove any of my settings or apps?
Hope you can answer these questions, and thanks for advice so far.
<<edit>>
Just did a bit of googling and it looks like you don't lose settings when you wipe dalvik cache and cache, so what does actually get removed.
There is a thread stickied in development called ref roms themes and kernels. It gives step by step directions on how to flash all three including what should be wiped. Check it out
Sent from my MattedBlues CM7 Nexus S from the XDA Premium app.
It says:
Does it wipe: No
Does it flash the radio: Yes
Click to expand...
Click to collapse
because its saying that the ROM doesn't wipe. Some ROMs are built in a way so that it automatically wipes your phone to ensure best performance. The creator is just saying that it doesn't do that BUT you need to wipe. The keyword does and need are two different things. The basic concept between going from 1 ROM to another (unless its the same ROM series) requires a wipe in all three: dalvik, cache, factory. If you're going from the same ROM to a newer version and encounter bugs, its best if you wipe.
I'm a more advanced user when it comes to Android since the first Android phone. I know what I'm talking about. When you go from stock ROM to another, its going to have bugs if you don't wipe.
If you're using Axura 1.1.1.0 and its fine, and he releases a new version. You can flash without wiping (but you can wipe cache & dalvik to be safe; none of your settings will be wiped). Wiping factory settings is the only one that will wipe your settings / apps.
If you're going to be a flasher, its best if you purchase Titanium Backup Pro (or MyBackup.. but I highly recommend Titanium Backup). Use this program and it will save all of your apps + settings to them. Just don't use it to save SYSTEM apps/files because it will cause FCs.
Dalvik Cache / Cache.. its nothing you need to know in particular. It's just removing cache that your phone set up to increase speeds. It just wipes them and gets the Android system to re-establish them. So no caches from the previous ROM will carry over onto the new one.
EDIT: n/m..............
zephiK said:
It says:
because its saying that the ROM doesn't wipe. Some ROMs are built in a way so that it automatically wipes your phone to ensure best performance. The creator is just saying that it doesn't do that BUT you need to wipe. The keyword does and need are two different things. The basic concept between going from 1 ROM to another (unless its the same ROM series) requires a wipe in all three: dalvik, cache, factory. If you're going from the same ROM to a newer version and encounter bugs, its best if you wipe.
I'm a more advanced user when it comes to Android since the first Android phone. I know what I'm talking about. When you go from stock ROM to another, its going to have bugs if you don't wipe.
If you're using Axura 1.1.1.0 and its fine, and he releases a new version. You can flash without wiping (but you can wipe cache & dalvik to be safe; none of your settings will be wiped). Wiping factory settings is the only one that will wipe your settings / apps.
If you're going to be a flasher, its best if you purchase Titanium Backup Pro (or MyBackup.. but I highly recommend Titanium Backup). Use this program and it will save all of your apps + settings to them. Just don't use it to save SYSTEM apps/files because it will cause FCs.
Dalvik Cache / Cache.. its nothing you need to know in particular. It's just removing cache that your phone set up to increase speeds. It just wipes them and gets the Android system to re-establish them. So no caches from the previous ROM will carry over onto the new one.
Click to expand...
Click to collapse
That is a very helpful post and clears a lot up. Many thanks. Looks like I had better do it again and do it right this time.
I've got titanium backup. Bought it after I rooted, but never restored with it yet. Also, thanks for the info about no saving system files with it, as I currently do have it setup to backup all user apps and system data, so I will have to change that. I gather I should just change it to all user apps??
buachaille said:
That is a very helpful post and clears a lot up. Many thanks. Looks like I had better do it again and do it right this time.
I've got titanium backup. Bought it after I rooted, but never restored with it yet. Also, thanks for the info about no saving system files with it, as I currently do have it setup to backup all user apps and system data, so I will have to change that. I gather I should just change it to all user apps??
Click to expand...
Click to collapse
Backup all user apps is the one you want to do. You can backup bookmarks using Google sync or a app known as BookmarkSB
If you have system apps backed up, delete all backups using batch and reapply user app backup
zephiK said:
Backup all user apps is the one you want to do. You can backup bookmarks using Google sync or a app known as BookmarkSB
If you have system apps backed up, delete all backups using batch and reapply user app backup
Click to expand...
Click to collapse
Thanks for your help. I reflashed the rom and I did it properly this time. Had a bit of a problem with TB restore as I'm a noob but Joel from TB answered an email I sent him very quickly and I got it sorted (thanks joel).
How long does it take to flash a rom once you get good at it? Took me a while tonight because of mistakes.
Sent from my Nexus S using XDA App
buachaille said:
Thanks for your help. I reflashed the rom and I did it properly this time. Had a bit of a problem with TB restore as I'm a noob but Joel from TB answered an email I sent him very quickly and I got it sorted (thanks joel).
How long does it take to flash a rom once you get good at it? Took me a while tonight because of mistakes.
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
I can usually get from booting into recovery to having a usable device with most everything set up in about...10 minutes? Assuming I already downloaded the ROM lol sometimes those mirrors are slooooooow.

Install vs. Update

If you want to do an update (e.g., no wipe, keeps data) of a ROM instead of a full installation, is there anything you need to do in CWM recovery other than selected update instead of install zip? Does the name of the zip need to be update?
I'm asking because I like the Phoenix ROM, but updates are coming quickly, and I don't want to have to set up everyting every few hours...
Thanks.
Unless it is indicated by the dev, you don't need to do a full wipe. It is always good to wipe cache, and dalvik cache when doing an update, patch, or add-on. There is no need to rename it, unless for some reason that makes it easier for you to remember what file it is.
Pretty sure that Rom has data wipe written into the update script so you would have to modify that.
does it do a data wipe or does it format /system
Thanks, and should I select update or install in CWM recovery? What is the difference?
Update is looking for a specific file named that, I believe. Correct me if I'm wrong, but I believe you can always run Install Zip, regardless of what it is as long as it's a flashable zip file.
Four-Fifty-X said:
If you want to do an update (e.g., no wipe, keeps data) of a ROM instead of a full installation, is there anything you need to do in CWM recovery other than selected update instead of install zip? Does the name of the zip need to be update?
I'm asking because I like the Phoenix ROM, but updates are coming quickly, and I don't want to have to set up everyting every few hours...
Thanks.
Click to expand...
Click to collapse
the rom developer should specify if a full wipe is needed. if not, you dont have to wipe or backup or anything and you wont lose your data.
i know people hate resetting up their phone, but 99.9% of the GPS and other random problems in here are from not wiping /data before the install. If you can stand it at all, do a full wipe. It seems these phones are VERY picky about what's left in /data after you wipe. Anytime I release a rom that wipes, there's usually no problems, if it doesn't wipe, there's GPS/data speed issues galore.

[Q] Adfree java.io.IOException Error on Samsung Admire

Hi, I have a Samsung Admire and have been using Adfree perfectly fine before. However, after upgrading Android from 2.3.4 to 2.3.6 to fix the WIFI error, I can't seem to get Adfree to work again.
I get the following error message when trying to install the Hosts:
java.io.IOException: Error running exec(). Command: [su] Working Directory: null Environment: null
How do I get this app to work again?
Uninstall & reinstall. Try to clear cache & dalvik cache in recovery. Worst case scenario, I think, is to wipe everything and install from scratch.
post-mortem said:
Uninstall & reinstall. Try to clear cache & dalvik cache in recovery. Worst case scenario, I think, is to wipe everything and install from scratch.
Click to expand...
Click to collapse
I tried uninstalling, reinstalling, and wiping cache in recovery before, but to no avail. I didn't try wiping dalvik cache before. After uninstalling, wiping out cache and dalvik cache in recovery, and reinstalling, the error is still there.
I am not sure what you mean by "wipe everything and install from scratch". I would understand how to do that if it was on my PC, but not on my smartphone.
By that I meant, as a last-resort option, to completely wipe everything as if you're gonna flash a new ROM. Format everything through recovery, flash ROM, kernel (if applicable), gapps, whatever else. Then set up your google acct. & restore apps from titanium backup, or reinstall all apps from scratch.
BTW, you shouldn't restore Adfree, it should definitely be installed fresh from Google Play.
post-mortem said:
By that I meant, as a last-resort option, to completely wipe everything as if you're gonna flash a new ROM. Format everything through recovery, flash ROM, kernel (if applicable), gapps, whatever else. Then set up your google acct. & restore apps from titanium backup, or reinstall all apps from scratch.
BTW, you shouldn't restore Adfree, it should definitely be installed fresh from Google Play.
Click to expand...
Click to collapse
As much as I would like to give your method a try, it seems too complicated to do. First of all, I never format my phone before. Even though I know how to format a PC, doing the same thing on the phone seems to be new and unfamiliar to me.
Second of all, it seems to be quite a lot of troubles just to fix that error. I wonder if there is a manual method of removing the ads.
Ok, just to be sure you don't have a problem with su, go into the Superuser app, check for updates, and force an update even if there's no new version (it also makes sure the file has the proper permissions).
post-mortem said:
Ok, just to be sure you don't have a problem with su, go into the Superuser app, check for updates, and force an update even if there's no new version (it also makes sure the file has the proper permissions).
Click to expand...
Click to collapse
Yay! That was the problem. Thank you so much! Wow, AdFree app didn't get rid of most of the ads as it used to, but oh, well...it is better than nothing.

[Q] Details regarding Unlocking Bootloader, Rooting and Deleting apps from rom

Hello,
I will really appreciate if you can help to understand few basic issues:
1) When rooting the phone, is the boot-loader must be unlocked? i.e., if I've rooted the phone successfully using some 3rd party utility, it means that the boot-loader was unlocked during the rooting process or it was unlocked in advanced?
2) If the answer to the first question is "yes" (i.e. bootloader must be unlocked before rooting), how it is possible that my data wasn't wiped after rooting? This means that the boot-loader was unlocked in advance? Or maybe the 3rd party application backed up the data before unlocking the boot-loader and than restored it?
3) I heard that in order to install SU, the stock-recovery must be changed to a custom one. Is it necessarily true?
4) How can I check which recovery is installed on the phone?
5) If the recovery is changed to a custom one, does it mean that I stop receive OTA?
6) Can I backup up the stock recovery before changing it? Or how can I know which one it is to search on the net?
7) Do applications, like Titanium, change the recovery upon installation?
8) How applications, like Titanium, move apps, that are not supposed to move in regular installation,from ROM to SD? Can it harm the performance of the app?
9) When deleting apps from ROM (System or Data) manually, do I need to delete other files or folders besides .apk files in system/app or data/app? Is there any cache or other data to delete?
10) Do I need (or should I in case of lack of space) clean some cache files from ROM? (Like Dalvik or others...) If yes, which ones and how?
Sorry for the long post, but It will really help me to understand all these issues, once and for all.
Thank you in advance!
yuri_feigin said:
Hello,
I will really appreciate if you can help to understand few basic issues:
1) When rooting the phone, is the boot-loader must be unlocked? i.e., if I've rooted the phone successfully using some 3rd party utility, it means that the boot-loader was unlocked during the rooting process or it was unlocked in advanced?
2) If the answer to the first question is "yes" (i.e. bootloader must be unlocked before rooting), how it is possible that my data wasn't wiped after rooting? This means that the boot-loader was unlocked in advance? Or maybe the 3rd party application backed up the data before unlocking the boot-loader and than restored it?
3) I heard that in order to install SU, the stock-recovery must be changed to a custom one. Is it necessarily true?
4) How can I check which recovery is installed on the phone?
5) If the recovery is changed to a custom one, does it mean that I stop receive OTA?
6) Can I backup up the stock recovery before changing it? Or how can I know which one it is to search on the net?
7) Do applications, like Titanium, change the recovery upon installation?
8) How applications, like Titanium, move apps, that are not supposed to move in regular installation,from ROM to SD? Can it harm the performance of the app?
9) When deleting apps from ROM (System or Data) manually, do I need to delete other files or folders besides .apk files in system/app or data/app? Is there any cache or other data to delete?
10) Do I need (or should I in case of lack of space) clean some cache files from ROM? (Like Dalvik or others...) If yes, which ones and how?
Sorry for the long post, but It will really help me to understand all these issues, once and for all.
Thank you in advance!
Click to expand...
Click to collapse
Im sorry but Ive already answered all of these questions and one in fact could take a good couple paragraphs to explain.
Maybe tonight I'll answer or you could check out xda university.
yuri_feigin said:
Hello,
I will really appreciate if you can help to understand few basic issues:
1) When rooting the phone, is the boot-loader must be unlocked? i.e., if I've rooted the phone successfully using some 3rd party utility, it means that the boot-loader was unlocked during the rooting process or it was unlocked in advanced?
2) If the answer to the first question is "yes" (i.e. bootloader must be unlocked before rooting), how it is possible that my data wasn't wiped after rooting? This means that the boot-loader was unlocked in advance? Or maybe the 3rd party application backed up the data before unlocking the boot-loader and than restored it?
3) I heard that in order to install SU, the stock-recovery must be changed to a custom one. Is it necessarily true?
4) How can I check which recovery is installed on the phone?
5) If the recovery is changed to a custom one, does it mean that I stop receive OTA?
6) Can I backup up the stock recovery before changing it? Or how can I know which one it is to search on the net?
7) Do applications, like Titanium, change the recovery upon installation?
8) How applications, like Titanium, move apps, that are not supposed to move in regular installation,from ROM to SD? Can it harm the performance of the app?
9) When deleting apps from ROM (System or Data) manually, do I need to delete other files or folders besides .apk files in system/app or data/app? Is there any cache or other data to delete?
10) Do I need (or should I in case of lack of space) clean some cache files from ROM? (Like Dalvik or others...) If yes, which ones and how?
Sorry for the long post, but It will really help me to understand all these issues, once and for all.
Thank you in advance!
Click to expand...
Click to collapse
1) To my knowledge, yep. (Not much experience with locked bootloaders, sorry!)
2) But then again, different phones have different bootloaders, they might work In different ways.
3) Nope. Most (if not all) root tools install SU without custom recovery.
4) when your phone is powered-off, press Vol up, home and power button (this depends on your phone, this is Samsung standard, what phone are u using?
5) Go to download mode, (Vol down, home and power button, again Samsung standard) and check if: System Status: Official. If yes, OTAs can be taken. If System Status: Custom, you cant take OTAs.
6) U most probably can. Use Online Nandroid Backup, free from Google play store, and backup recovery only. That should work.
7) No.
8) Depends on the app.
9) Again, depends on the app.
10) Cache and dalvik cache can be wiped from recovery. The custom recovery will do it for u. Wiping dalvik cache from recovery won't be useful, as it recreates itself on reboot.
No problem with the long post, always glad to help
Smack that thanks button if I helped!
Note 2 LTE powered by Illusion ROM and Plasma Kernel.
Sent from dat small country called Singapore.
Thank You
Lgrootnoob said:
Im sorry but Ive already answered all of these questions and one in fact could take a good couple paragraphs to explain.
Maybe tonight I'll answer or you could check out xda university.
Click to expand...
Click to collapse
I would really appreciate if you could answer, or refer me to the correct paragraph in XDA university or give a me a link to your previous answers.
Thank you very much.
Irwenzhao said:
1) To my knowledge, yep. (Not much experience with locked bootloaders, sorry!)
2) But then again, different phones have different bootloaders, they might work In different ways.
3) Nope. Most (if not all) root tools install SU without custom recovery.
4) when your phone is powered-off, press Vol up, home and power button (this depends on your phone, this is Samsung standard, what phone are u using?
5) Go to download mode, (Vol down, home and power button, again Samsung standard) and check if: System Status: Official. If yes, OTAs can be taken. If System Status: Custom, you cant take OTAs.
6) U most probably can. Use Online Nandroid Backup, free from Google play store, and backup recovery only. That should work.
7) No.
8) Depends on the app.
9) Again, depends on the app.
10) Cache and dalvik cache can be wiped from recovery. The custom recovery will do it for u. Wiping dalvik cache from recovery won't be useful, as it recreates itself on reboot.
No problem with the long post, always glad to help
Smack that thanks button if I helped!
Note 2 LTE powered by Illusion ROM and Plasma Kernel.
Sent from dat small country called Singapore.
Click to expand...
Click to collapse
Thank You for your help.
Regarding the last issue: if I wipe the cache, something bad can happen to the applications ot their data? I mean, should I do it only when flashi rom or is it healthy to do it in a while in order to clean unnecessary files?
yuri_feigin said:
Thank You for your help.
Regarding the last issue: if I wipe the cache, something bad can happen to the applications ot their data? I mean, should I do it only when flashi rom or is it healthy to do it in a while in order to clean unnecessary files?
Click to expand...
Click to collapse
The cache is actually a temporary section of the disk that does not contain any application cachery but things along the lines of software upgrade files. It is only wiped merely to make sure there is space for other mod's temp storage.
The data partition contains the data for yourr applications and the 'cache' as you see in settings for apps is for imagery and stuff so regardless if that is removed it wont matter.
The dalvik cache is compiled bytecode for the dalvik vm for each app. (Look up Java vm to get an idea of what I mean and then look up odexing and deodexing on xda university)
Here is some info on the thread http://forum.xda-developers.com/showthread.php?p=48151745#post48151745
Lgrootnoob said:
The cache is actually a temporary section of the disk that does not contain any application cachery but things along the lines of software upgrade files. It is only wiped merely to make sure there is space for other mod's temp storage.
The data partition contains the data for yourr applications and the 'cache' as you see in settings for apps is for imagery and stuff so regardless if that is removed it wont matter.
The dalvik cache is compiled bytecode for the dalvik vm for each app. (Look up Java vm to get an idea of what I mean and then look up odexing and deodexing on xda university)
Here is some info on the thread http://forum.xda-developers.com/showthread.php?p=48151745#post48151745
Click to expand...
Click to collapse
Thanks a lot!
I have few more questions, please:
1) So what will be the best way to clear the cache partition? Only from recovery? Even from stock recovery?
Is there any other way, like a feature in some application or can I delete it manually?
2) Regarding the data partition, I guess I can go each application and clear its cache and/or data from application manager... Is there a better way? By away, if I delete the data of application (not the cache), I loose all the configuration and personal data. What I mean by "cleaning" is to erase some false data that remained by mistake, not to remove the necessary data of the apps. It is especially important for apps installed on ROM. What will be the best way?
3) Is sometimes remains unnecessary junk data in Dalvik Cache? If yes, how to remove it? (not the all Dalvik Cache)?
4) By away, what is the best way to check whether my bootloader is unlocked and to check which recovery is installed? (custom/stock)
5) If I want to mess with the start-up task manager, using some ROM application - what are the "receivers" that are connected to the apps? what is the difference between disabling an app/task/service and disabling receivers?
6) What is the difference between recovery boot mode and bootloader boot mode? When do I need to use the bootloader mode?
6) And another question, with your permission, is what kind of backups are exist beside nandroid? ADB is a backup? Do they back up all the ROM? I guess I will need a custom recovery to restore those backups.
yuri_feigin said:
Thanks a lot!
I have few more questions, please:
1) So what will be the best way to clear the cache partition? Only from recovery? Even from stock recovery?
Is there any other way, like a feature in some application or can I delete it manually?
2) Regarding the data partition, I guess I can go each application and clear its cache and/or data from application manager... Is there a better way? By away, if I delete the data of application (not the cache), I loose all the configuration and personal data. What I mean by "cleaning" is to erase some false data that remained by mistake, not to remove the necessary data of the apps. It is especially important for apps installed on ROM. What will be the best way?
3) Is sometimes remains unnecessary junk data in Dalvik Cache? If yes, how to remove it? (not the all Dalvik Cache)?
4) By away, what is the best way to check whether my bootloader is unlocked and to check which recovery is installed? (custom/stock)
5) If I want to mess with the start-up task manager, using some ROM application - what are the "receivers" that are connected to the apps? what is the difference between disabling an app/task/service and disabling receivers?
6) What is the difference between recovery boot mode and bootloader boot mode? When do I need to use the bootloader mode?
7) And another question, with your permission, is what kind of backups are exist beside nandroid? ADB is a backup? Do they back up all the ROM? I guess I will need a custom recovery to restore those backups.
Click to expand...
Click to collapse
1: Only recovery.
2: "Cleaning" is not possible So the application manager is the only way and yes it would basically reset an application if you delete its data.
3: Its not necessary but can save space for more apps to be installed if you have removed apps manually or with titanium backup. However if you have uninstalled with the app manager in the settings app then the dex files in the dalvik cache are automatically removed. "Unnecessary junk", I have exactly what you are looking for: use Titanium backup's feature in the menu to remove unsused dalvik cache elements and integrate system dalvik into rom. (In the same section when you press the menu button)
4: What phone? (This is neccessary because of the variation in phones.)
5: The only legitimate way of stopping tasks is to disable the intent of the task(I think that is the reciever ). To do this you could use Autostarts from the Play store or you could use the Bootmanager Xposed module. Don't use any task manager unless you want problems. Disabling an app in settings would actually completely freeze the application meaning you could also not start it manually and it wouldnt be started at boot.
6: The bootloader loads recovery or Android. The bootloader is usable depending on the features given by your phone manufacturer. You would know the difference when you use recovery and if you have a Nexus device when you are in bootloader mode. Samsung devices have Download mode which is technically part of the bootloader and allows you to load custom software such as recovery, data partition, system partition etc.
7: You will use recovery to backup/restore.(I don't think that there is any other way because you are using the data that you are backing up or restoring if you didi it while you were running android. Adb cannot backup either but you could pull a recovery backup with adb from the sd card. Adb has a sideload feature for loading software in recovery with your computer. Again I need your phone model.
It seems you seek info on recovery and backing up, This will help a lot: http://xda-university.com/as-a-user/android-dictionary Specifically the Nandroid and Recovery section.
I will be more than happy to expand on any of these topics.
@yuri_feigin
I revised my answer to better suit what you were asking.
Are you still with me?

[ROM][Stock][Rooted] D850 20f Stock ROM Debloated

Updated: 03/24/2015
Hi all,
I did this mostly for practice but I thought it might be helpful so I went ahead and posted.
Stock LG D850 20f ROM
[*]Rooted/SuperSu
[*]Most bloat removed
[*]Oversharpening fix
[*]Flashable zip
[*]init.d support*
[*]CarrierIQ Remover*
*Init.d support is implemented in ROM only, not the kernel. CarrierIQ is removed automatically after first boot via an init script. Say thanks to @skeevydude for his help in getting this done. I shouldn't say "help", he pretty much did it!
Installation
Flash the Lollipop modem - see @autoprime 's thread here for modem zip
Flash the ROM zip
Wipe cache and dalvik (and in some cases data) if coming from a different ROM
Download
v3* - https://www.androidfilehost.com/?fid=95916177934548695
[QRCODE]https://www.androidfilehost.com/?fid=95916177934548695[/QRCODE]
*No change at all to the ROM itself since v2, I just realized that I've been forgetting to zero out the free space on the image file before uploading, which saves about 600 MB when zipped. New flashable zip is about 1.1 GB instead of 1.7 GB.
Older versions:
v1 - https://www.androidfilehost.com/?fid=95916177934543883
Apps Removed
/system/app:
Google Books
Google Chrome
Google Cloud Print
Google Drive
Facebook
Hangouts
Google Newsstand
Google Play Games
Google Play Music
Google Play Movies and TV
Google Plus
Twitter
/system/priv-app:
ATT Address Book
ATT Caller Name ID
ATT DriveMode
ATT Games
ATT Locker
ATT Lookout
ATT Mobile Locate
ATT Remote Support
ATT Smart Wifi
ATT Mobile TV
ISIS Wallet
ATT Visual Voicemail
MLT (LG tracker)
/system/vendor/app:
Amazon Kindle
ATT Family Map
ATT Home
ATT Keeper
ATT MHS Launcher
ATT Navigator
Uber
DeviceHelp
myATT
YP Mobile
ATT Apps
In case you want some of the ATT apps back, I have uploaded a zip here with those apps. This is NOT a flashable zip. You have a couple of options:
1. You may be able to install these as a normal (user) app by just pulling out the apk and installing the usual way.
2. If that doesn't work as expected, copy the app folder from the zip into the appropriate system folder as listed in the "Apps Removed" section.
Download: ATT Apps
Xposed Info
cmulk said:
Xposed has a couple of bad side effects at this point, so before doing anything you need to use Titanium or something similar to Freeze (this basically what the "helper" does):
LGSmartCover
Weather
Weather Theme
WeatherPlatform
Then you can install xposed as in the thread here: http://forum.xda-developers.com/showthread.php?t=3034811
However, there is still one more bug to keep in mind: Xposed will crash the Tethering and Networks menu. There is no fix for that yet, but as a workaround you can download some apps from the play store (like Mobile Network Settings), to shortcut around the menu that force closes.
Click to expand...
Click to collapse
Credits
@autoprime - Flashable zips, bump'd boot.img, and very clear instructions in his thread here
@timmytim - uploading the lollipop stock images (although I know a lot of others were working on that too)
@Skin1980 - Oversharpening fix
@skeevydude - init.d support and carrierIQ remover
CarrierIQ Removal
CarrierIQ has now been removed!
The removal is done via an init script that runs at boot to disable the IQ service before removing the files in order to prevent a force close. However, if you have to wipe data/factory reset without re-flashing the ROM, you will get a force close on the first boot. The good news is that I've tested this scenario and it should fix itself if you just wait about 20 seconds. In other words, the mentioned script does it's thing to stop the service to fix the force close and you are good to go after that.
Old info below:
cmulk said:
On the 20f lollipop rom (either mine or stock, there's no difference) either freezing LADDM or removing the libraries and LADDM as you mention will cause a force close unless you disable the "IQService" first, which is built into the framework-res.apk. I have repeated it multiple times and it has been discussed quite a bit in the Lounge and other threads. Disabling the service is easy for users to do with the "DisableService" app, and then you can remove LADDM and the libraries as mentioned. The difficulty is that disabling a service is a user setting, so, for example, if I reflash my ROM without the IQ files onto a phone with clean /data, I will again get the force close and an unusable ROM.
Click to expand...
Click to collapse
Manual Steps
In the meantime, here is how users can manually disable CarrierIQ. I take no credit for this method, it is posted in several places by several people, I'm just putting it here for convenience:
YOU MUST DO THIS IN ORDER (or at least the first few steps)
1. Download the "DisableService" app from the play store
2. In the DisableService app, go to System -> Android System and disable the "IQService" service
3. Use a root explorer to delete the folder /system/app/LADDM
4. Use a root explorer to delete /system/lib/libiq_client.so and /system/lib/libiq_service.so
5. (Optional) Uninstall DisableService
Remember, disabling the service is a user setting, so if you need to wipe /data for some reason, you will need to re-flash the ROM (which has the CarrierIQ files included) or else you will get a constant force close when your phone boots.
I'll give it a try, thanks
Flashing now. Will report.
I will be watching this ROM. Thanks for posting.
Exactly what does " if coming from a different ROM" mean? I'm on 4.4.2 10f Wulf (stock - rooted) ROM
JeffDC said:
I will be watching this ROM. Thanks for posting.
Exactly what does " if coming from a different ROM" mean? I'm on 4.4.2 10f Wulf (stock - rooted) ROM
Click to expand...
Click to collapse
Just clean flash to save yourself a hassle
2SHAYNEZ
Thanks for your work. I wish I had some skill in this realm. It'd be nice to pick and choose which apps you wanted removed. I prefer the stock ATT Visual Voicemail app over the one in the Play Store as its more reliable. I also use some of the Google Apps that are removed here as well. But great job in getting something debloated out there.
Sent from my LG-D850 using Tapatalk
Flashing lollipop Issues
Thanks for your work.... When flashing the 2 lollipop roms, 9 out of 10 times I get just a screen with icons, no wallpaper, no notification pull down no buttons at the bottom. I flash the modem the rom then SU and clear cache. I have only got the other ROM to flash successfully once. The same is going on with this ROM, is this happening to anyone else. I flashed it 5 times with the same results, would anyone know why this is happening, seems others dont have this issue. Thank you again for bringing us a debloated Lollipop rom.
shayneflashindaily said:
Just clean flash to save yourself a hassle
2SHAYNEZ
Click to expand...
Click to collapse
Here is what I understand for a clean flash:
"1. Boot into Recovery
2. Make a Nandroid backup
3. Wipe data/factory reset
4. Wipe cache partition
5. Wipe Dalvik Cache
6. Flash ROM
7. DO NOT REBOOT – STAY IN RECOVERY
8. Select backup and restore
9. Select advanced restore
10. Select the Nandroid backup you made above
11. Select Restore data
12. Select Yes – Restore data
13. WAIT!
14. REBOOT"
What I do not understand is step 8, which selects the backup made in step two... and then flashing the backup over the (new) ROM flash in step 6. Wouldn't that overwrite the new ROM you just flashed?
JeffDC said:
Here is what I understand for a clean flash:
"1. Boot into Recovery
2. Make a Nandroid backup
3. Wipe data/factory reset
4. Wipe cache partition
5. Wipe Dalvik Cache
6. Flash ROM
7. DO NOT REBOOT – STAY IN RECOVERY
8. Select backup and restore
9. Select advanced restore
10. Select the Nandroid backup you made above
11. Select Restore data
12. Select Yes – Restore data
13. WAIT!
14. REBOOT"
What I do not understand is step 8, which selects the backup made in step two... and then flashing the backup over the (new) ROM flash in step 6. Wouldn't that overwrite the new ROM you just flashed?
Click to expand...
Click to collapse
I always do a clean flash.. dont need to back up and restore and still get bad results.
louvass said:
I always do a clean flash.. dont need to back up and restore and still get bad results.
Click to expand...
Click to collapse
That's not encouraging.
louvass said:
Thanks for your work.... When flashing the 2 lollipop roms, 9 out of 10 times I get just a screen with icons, no wallpaper, no notification pull down no buttons at the bottom. I flash the modem the rom then SU and clear cache. I have only got the other ROM to flash successfully once. The same is going on with this ROM, is this happening to anyone else. I flashed it 5 times with the same results, would anyone know why this is happening, seems others dont have this issue. Thank you again for bringing us a debloated Lollipop rom.
Click to expand...
Click to collapse
I have not seen that issue, but in case you are not clearing data you may need to try clearing dalvik cache.
Also, (and this is just a shot in the dark) you could try formatting system before doing anything else just in case something strange is left behind there.
JeffDC said:
That's not encouraging.
Click to expand...
Click to collapse
You can try dirty flashing first without losing any of your data.
1. Back up your current Boot and System
2. Back up your current modem (if you're coming from the Kitkat modem), or just download a flashable KK modem already posted on XDA
3. Flash the modem and ROM in this post
4. Wipe cache and dalvik
5. See if it works
If it's not working, then you will need to restore your boot, system, and modem to go back to your original kitkat setup without losing data.
Otherwise, you'll have to backup with Titanium and do a clean flash (wipe data) as already mentioned. Using Titanium makes clean flashing not so bad
I do clear Wipe cache and dalvik I wipe everything and it boots back into a desktop and thats it no notification, the same thing happened with the first lollipop.. but after 10 flashes it finally took... so I thought Id try your de-bloated and the same thing is happening again, not sure why this is. I can jump back to kk after flashing the modem without issues. Thank you again for your work.
Pdj7969 said:
Thanks for your work. I wish I had some skill in this realm. It'd be nice to pick and choose which apps you wanted removed. I prefer the stock ATT Visual Voicemail app over the one in the Play Store as its more reliable. I also use some of the Google Apps that are removed here as well. But great job in getting something debloated out there.
Click to expand...
Click to collapse
I agree that I use most or all of these Google apps as well. However, they update so often anyway that I prefer to just have them as user apps (otherwise you end up with 2 copies - the old static version in the system apps folder, and the updated version in the user apps folder).
As for the visual voicemail, I have posted the ATT apps in a zip in the OP. Visual voicemail is in the VVM_ATT folder.
Thanks!
cmulk,
Would you please clarify post 5 and 9 questions?
JeffDC said:
cmulk,
Would you please clarify post 5 and 9 questions?
Click to expand...
Click to collapse
Sure thing! That's actually what I meant to do in post 13. I am not sure if you can flash over 10f without wiping data, but you could give it a try without losing anything (except time) if you look at post 13.
You should clear cache and dalvik mostly any time you are flashing, unless you are just flashing over another stock 20f ROM.
louvass said:
I do clear Wipe cache and dalvik I wipe everything and it boots back into a desktop and thats it no notification, the same thing happened with the first lollipop.. but after 10 flashes it finally took... so I thought Id try your de-bloated and the same thing is happening again, not sure why this is. I can jump back to kk after flashing the modem without issues. Thank you again for your work.
Click to expand...
Click to collapse
Have you tried formatting /system before doing anything else? I'm not sure that will make any difference, but just for process of elimination at least
cmulk said:
Have you tried formatting /system before doing anything else? I'm not sure that will make any difference, but just for process of elimination at least
Click to expand...
Click to collapse
Thanks I do clear everything but my external mem.
Ever since flashing this I'm getting "no sd card" messages every time I try to download anything ( I don't have an external sd card) but it's never been a problem before. I've restored a backup of my stock Tim and the problem followed me after full wipes.

Categories

Resources