I have updated my LineageOS 16 build, and then my phone bootlooped. Thus, I discovered that the cause of that was the file data/system/packages.xml. However, if I delete that file, all user apps and data of most system apps are deleted.
What is the solution?
smnthermes said:
I have updated my LineageOS 16 build, and then my phone bootlooped. Thus, I discovered that the cause of that was the file data/system/packages.xml. However, if I delete that file, all user apps and data of most system apps are deleted.
What is the solution?
Click to expand...
Click to collapse
Try to wipe system, data, cache/dalvik with TWPR and reflash the ROM. (Perform a clean flash)
However you'll lose your data so do a backup.
Related
Is there a super wipe script for the Atrix? I want to delete all directories before flashing a new rom, so there are no directories from uninstalled apps, logs, etc.
When flashing a new rom I do the typical - wipe Dalvik, erase boot, system, userdata, cache, webtop, and preinstall...
the two super-wipe scripts I have tried were not compatible and exited before executing, and I'm having difficulty finding one.
thanks in advance.
sixftsix said:
Is there a super wipe script for the Atrix? I want to delete all directories before flashing a new rom, so there are no directories from uninstalled apps, logs, etc.
When flashing a new rom I do the typical - wipe Dalvik, erase boot, system, userdata, cache, webtop, and preinstall...
the two super-wipe scripts I have tried were not compatible and exited before executing, and I'm having difficulty finding one.
thanks in advance.
Click to expand...
Click to collapse
What you normally do is just fine. But if you want something automated, try this.
Edit:
Great, now you got Super Bass stuck in my head!
thanks for your response.
the script you linked to looks like it is an automated version of the wipe process I was already doing.
this is nice, but I was looking for something that deletes absolutely everything. the wipe process I was using does not delete some directories leftover from uninstalled apps.
sixftsix said:
thanks for your response.
the script you linked to looks like it is an automated version of the wipe process I was already doing.
this is nice, but I was looking for something that deletes absolutely everything. the wipe process I was using does not delete some directories leftover from uninstalled apps.
Click to expand...
Click to collapse
Wiping with fastboot left directories behind? That is surprising. Where were the directories that weren't deleted and how did you determine that?
upndwn4par said:
Wiping with fastboot left directories behind? That is surprising. Where were the directories that weren't deleted and how did you determine that?
Click to expand...
Click to collapse
they were on the internal sdcard... some were directories that were leftover from uninstalled apps that I don't use anymore or don't restore after flashing new roms, some were temp directories that I created for music/movies/whatever. some of them were regular dirs, some were dirs with a period before the dir name (ExampleDir or .ExampleDir)
another example to overexplain, even the "Music" folder still has all my music after the full fastboot wipe process. I thought a super-wipe script would completely format/erase everything so when I flash the new rom and reinstall apps, there is nothing remaining except for the new rom OS files and apps. (so my music folder would be an empty dir after fastboot wipe and flashing a new rom, adobe wouldn't have files and folders everywhere until i restore it with TiBU, etc)
sixftsix said:
they were on the internal sdcard... some were directories that were leftover from uninstalled apps that I don't use anymore or don't restore after flashing new roms, some were temp directories that I created for music/movies/whatever. some of them were regular dirs, some were dirs with a period before the dir name (ExampleDir or .ExampleDir)
another example to overexplain, even the "Music" folder still has all my music after the full fastboot wipe process. I thought a super-wipe script would completely format/erase everything so when I flash the new rom and reinstall apps, there is nothing remaining except for the new rom OS files and apps. (so my music folder would be an empty dir after fastboot wipe and flashing a new rom, adobe wouldn't have files and folders everywhere until i restore it with TiBU, etc)
Click to expand...
Click to collapse
I have never seen fastboot commands for wiping sdcards. You can either delete the folders manually with a file explorer (recommended), factory reset (not CWM, but from within a GB ROM), or format the sdcards.
Neither fastboot nor any automatic "full wipe" scripts touch any kind of user storage. That includes both internal EMMC and external SD storage. Those are left entirely for the user to maintain.
answered my question, thanks! :good:
upndwn4par said:
What you normally do is just fine. But if you want something automated, try this.
Edit:
Great, now you got Super Bass stuck in my head!
Click to expand...
Click to collapse
+1
Personally did this about an hour ago and worked like a charm.
Edit
mtyran said:
So I've decided to switch from JB to CM, but after using cyanogen installer I noticed that few things (apps, folders from JB) are still there. I tried factory reset but it didn't change anything, so I've found perfect command format /system. All I can do now is access CWM - I put JB.tar.md5 on microSD but no files are being found. Same happened after applying this PhilZ-cwm6-XWMS1-NEE-5.15.9-signed.
I'm out of ideas. Any help?
edit: Ok using CWM I wiped everything (factory reset, cache, format system, dalvik cache) and installed CM10.1/Gapps - system is back!
But the thing is I still have android stuff and my old files. So the question is how to do clean install?
Click to expand...
Click to collapse
md5 files are for odin (flash from pc), zip for cwm (from phone recovery)
Look up ROM wipe/nuke scripts by hawkerpaul.
I had to reflash system due to some boot loop. System did reboot and worked fine then. I reflashed gapps too, I'm wondering what was wiped? My system settings seems to all be here..
The only things gone will be root if you had it, maybe a few apps you manually installed to system, and maybe a few settings. Also wipe cache and dalvik because sometimes they don't migrate well. As long as you still have your /data folder you should be good app-wise.
First my setup: I've a RN3 SE (Kate) and I installed de developer MIUI, did an unofficial unlock, flashed twrp and installed lineageos (first official version), root package and pico gapps. That's it. I used Titanium backup to restore some of my apps data, but I installed every apk via the play store.
I started to notice that some apps were disappearing after a reboot. Everything I'll lose between 5-10 apps, mostly the apps that were updated very recently. After installing the missing apps back, I didn't loose anything, all settings of the app are intact. I've no idea if this happens because of the Google Backup and Restore function of Android itself, or because that app data never were missing.
I've installed every update of LineageOS, but no luck, every time it'll lose some apps. Even some apps stop working after a reboot until I reinstall them. It's getting annoying, therefore I start this thread.
Anyone faced this problem and has any idea what's happening?
Bump
Try a fresh install
I'll try that in the coming days, but this is already the second clean install i did. Both with this issue.
Use this app and check your phone:
https://play.google.com/store/apps/details?id=net.vinagre.android.emmc_check&hl=en
If there are errors after a full scan, you have a problem with your flash memory.
Did you wipe and format internal storage through TWRP before installing LOS?
I think i just think that this is the begining symptoms of the emmc_brick bug i recommend u to check for any disk errors.
Thanks for the tips, luckily the test came out just fine ("Congratulations. Test Passed. 159s. 31268536320 bytes (29.1GB) 190.2MB/s"). No emmc errors and I didn't have any problems on 6.0.1, it started on 7.1.1. I think it has to do with the new ART and JIT compilers, as it only happens with apps that got updated recently.
Before installing LOS, I did a wipe of system, cache and data. I don't think I did a complete format of internal storage as well.
Hello everyone,
A friend of mine has a Galaxy S3 i9300 which I installed years ago CM13. I don't what update he installed but now the phone starts with the screen "Preparing X of Y apps" => when we think it's over (because the phone restarts at the end), well it does another "Preparing X of Y apps", and so on
I don't know what I should do : repair it by flashing the old zip (cm13-2016...-.zip) but maybe I have to "wipe cache" and "wipe dalvik" before?
Or maybe I have to wipe everything (wipe cache, wipe dalvik...) in order to flash LineageOS ? I'd like to follow this path anyway but how can I save the data of my friend such as SMS, Contacts.. ?
It has TWRP and I can mount the partitions and access them via PC
Thank you for your help
Go back to the older gapps.
shivadow said:
Go back to the older gapps.
Click to expand...
Click to collapse
That's what could cause the problem ? Do you have a link about which version of Gapps should I install ? I'm gonna try that by flashing them via TWRP
Should I do a wipe or anything else ?
The only thing you could wipe is cache without having to start over. I doubt that'll fix anything. You can try sourcing another copy of that version to see if the one you have is corrupt.. Otherwise it's probably going to be that it simply doesn't support your os.
shivadow said:
The only thing you could wipe is cache without having to start over. I doubt that'll fix anything. You can try sourcing another copy of that version to see if the one you have is corrupt.. Otherwise it's probably going to be that it simply doesn't support your os.
Click to expand...
Click to collapse
What apps did he install?
Some apps make the system crash. It's a bug that only happens in cm12/13 based roms. Try upgrading his phone to lineageos or install android 4.4
JCFB said:
What apps did he install?
Some apps make the system crash. It's a bug that only happens in cm12/13 based roms. Try upgrading his phone to lineageos or install android 4.4
Click to expand...
Click to collapse
If it's me I'd upgrade to LineageOS 14.1 directly But I was thinking about its data such as SMS, MMS...
I just did a Nandroid Backup using TWRP => is it possible after installing LineageOS 14.1 using clean method (after wiping data, cache and system I think ?) that I can retrieve the data by restoring TWRP backup ? (without the cm13 of course)
skype007 said:
If it's me I'd upgrade to LineageOS 14.1 directly But I was thinking about its data such as SMS, MMS...
I just did a Nandroid Backup using TWRP => is it possible after installing LineageOS 14.1 using clean method (after wiping data, cache and system I think ?) that I can retrieve the data by restoring TWRP backup ? (without the cm13 of course)
Click to expand...
Click to collapse
I am not sure, try restoring only the data partition over a clean lineage install. I don't like dirty flashing, but you have no solution other than try this. If it doesn't work it's time to start from zero.
I was almost forgetting, try flash cm13 zip, then restore data partition from twrp and if you can boot, do a Titanium backup of the data you want. Then do a clean install of lineage and try to restore the titanium backup
JCFB said:
I am not sure, try restoring only the data partition over a clean lineage install. I don't like dirty flashing, but you have no solution other than try this. If it doesn't work it's time to start from zero.
I was almost forgetting, try flash cm13 zip, then restore data partition from twrp and if you can boot, do a Titanium backup of the data you want. Then do a clean install of lineage and try to restore the titanium backup
Click to expand...
Click to collapse
I tried to flash old cm13 zip that I have (without gapps) => it boots
Then I tried via TWRP to restore only data partition => Stuck again with "Preparing apps" xP
What If I flash LineageOS 14.1 from scratch but use Titanium Backup to extract data from Nandroid backup ?
skype007 said:
I tried to flash old cm13 zip that I have (without gapps) => it boots
Then I tried via TWRP to restore only data partition => Stuck again with "Preparing apps" xP
What If I flash LineageOS 14.1 from scratch but use Titanium Backup to extract data from Nandroid backup ?
Click to expand...
Click to collapse
I think you need the Pro version of Titanium to do that. I don't know any alternative
After many attempts, I finally managed to make it work again
Here's what I do (maybe it could help other people)
Step 1: I restored the Nandroid backup I made via TWRP
=> At this point Cyanogenmod13 is back
Step 2: I found a Cyanogenmod14.1 zip file somewhere on internet (cm-14.1-20161225-NIGHTLY-i9300.zip)
=> I flashed it before/after wipe cache/dalvik
Step 3: I flashed Gapps for this version of Android thanks to open-gapps website
=> Last wipe cache/dalvik before Reboot
Step 4: Enjoy