How to flash update and preserve data - Google Pixel Questions & Answers

New to Google Pixel. How do I delete - w and keep my data when flashing an update? I see constant references to it on these forums but cannot find a guide to do it. October update is here and I want to keep my data. Pixel, Oreo rooted with magisk 14.2 and TWRP 3.1.1. Many thanks in advance.

Horgar said:
New to Google Pixel. How do I delete - w and keep my data when flashing an update? I see constant references to it on these forums but cannot find a guide to do it. October update is here and I want to keep my data. Pixel, Oreo rooted with magisk 14.2 and TWRP 3.1.1. Many thanks in advance.
Click to expand...
Click to collapse
Download the October file. Unzip. Open flashall.bat inside you'll see a command line with a -w in front. Back that out (delete it). Save and now it is safe to double click and update your phone. If on Linux, it is in the flashall.sh file.

Tulsadiver said:
Download the October file. Unzip. Open flashall.bat inside you'll see a command line with a -w in front. Back that out (delete it). Save and now it is safe to double click and update your phone. If on Linux, it is in the flashall.sh file.
Click to expand...
Click to collapse
Finally managed to get to a pc. Can see the line in flash all.bat with - w. Do I just delete "-w" and that's It. I don't delete the whole line?

Horgar said:
Finally managed to get to a pc. Can see the line in flash all.bat with - w. Do I just delete "-w" and that's It. I don't delete the whole line?
Click to expand...
Click to collapse
That is correct. -w means wipe
Don't forget to hit save button!

Tulsadiver said:
That is correct. -w means wipe
Don't forget to hit save button!
Click to expand...
Click to collapse
Done. Thanks for your help. Lost root but everything else kept. Including substratum theme. But that's fine, took the opportunity to go back to SuperSU. Makes me feel safe.
I think the problem I had was using free winrar. Didn't seem to have the option to edit the run me bat file. Had to download winzip 21 day free trial. Not sure what I'll do when that expires. But thanks for all your help @Tulsadiver. Very much appreciated. It's what XDA is all about.

Horgar said:
Done. Thanks for your help. Lost root but everything else kept. Including substratum theme. But that's fine, took the opportunity to go back to SuperSU. Makes me feel safe.
I think the problem I had was using free winrar. Didn't seem to have the option to edit the run me bat file. Had to download winzip 21 day free trial. Not sure what I'll do when that expires. But thanks for all your help @Tulsadiver. Very much appreciated. It's what XDA is all about.
Click to expand...
Click to collapse
Agreed. I believe 7zip is free and I also use peazip and it is free

I mean or you could just flash OTA with new TWRP installed, I just tried it myself, booted up, then rebooted to recovery flashed custom kernel and Magisk 14.2 all working

Related

[Q] YouTube OFF?

Hi Guys,
Every ROM I flash I try to Freeze/Uninstall and remove from Boot Many, the YouTube App.
I don;t use it ever, but even if it says freezed successfully it still comes back after reboot.
What's so special about it and will it creat a problem if I delete it and main question is how?
Thank you
odeccacccp said:
Hi Guys,
Every ROM I flash I try to Freeze/Uninstall and remove from Boot Many, the YouTube App.
I don;t use it ever, but even if it says freezed successfully it still comes back after reboot.
What's so special about it and will it creat a problem if I delete it and main question is how?
Thank you
Click to expand...
Click to collapse
In my other android device experience, Nook Color / Simple Touch, YouTube is instrumental in the Google Apps authentication process. For instance to get market working on nooted versions of those devices you had to sign into YouTube first.
Why are you trying to get rid of it?
promiseofcake said:
In my other android device experience, Nook Color / Simple Touch, YouTube is instrumental in the Google Apps authentication process. For instance to get market working on nooted versions of those devices you had to sign into YouTube first.
Why are you trying to get rid of it?
Click to expand...
Click to collapse
Never used it, if I need to I can view it in the brother. Just another app that loads up on boot and sits there using the battery
odeccacccp said:
Never used it, if I need to I can view it in the brother. Just another app that loads up on boot and sits there using the battery
Click to expand...
Click to collapse
Fair enough. Why don't you give it a try? Make a nandroid backup and then delete the file via ADB in recovery mode (or move it to /data/local/tmp for easy restore). Clear Cache / Dalvik reboot and see if anything isn't working properly.
I would say you can delete via ADB in ICS but many people, myself included, are having issues mounting /system in ICS. It could be possible that this failure for /system to consistently mount could be why TiBu isn't freezing it properly.
Use root uninstaller, its how I have removed all system apps since my gb 2.3.1 days on my x10. A very effective method
Thank you for responces.
The proper way I found would be to transfer it to a User App and uninstall.
odeccacccp said:
Thank you for responces.
The proper way I found would be to transfer it to a User App and uninstall.
Click to expand...
Click to collapse
Just delete the .apk before you even put the zip on your phone
xcrazydx said:
Just delete the .apk before you even put the zip on your phone
Click to expand...
Click to collapse
What do you use to modify and save zip's, just WinRar will do?
odeccacccp said:
What do you use to modify and save zip's, just WinRar will do?
Click to expand...
Click to collapse
I use 7zip. open the archive and delete it, or add whatever .apk you desire. I always do this before I even flash a rom. Winrar should work fine, though.

Small OTA update (5.59MB) D800

Checked today for Software Update on my At&t LG G2 D800 and a small 5.59MB update was found. Update didn't install because I am rooted but I grabed the file and uploaded to my Dropbox account in case it can be of use to someone. I am currently on 4.4.2 software KOT49I.D80020c
FOTA file
mp2ning said:
Checked today for Software Update on my At&t LG G2 D800 and a small 5.59MB update was found. Update didn't install because I am rooted but I grabed the file and uploaded to my Dropbox account in case it can be of use to someone. I am currently on 4.4.2 software KOT49I.D80020c
FOTA file
Click to expand...
Click to collapse
This is supposed to enable Tap and Pay for Google Wallet...
https://plus.google.com/114105494557075919418/posts/gNCUZgwcnRQ
-Daryel
Sent from my LG-D800 using xda app-developers app
Swetnes said:
Sent from my LG-D800 using xda app-developers app
Click to expand...
Click to collapse
Did it automatically update for you? I've got root, and it will not update because it sees I'm rooted.
I'm thinking maybe it's due to the fact that I've removed a LOT of bloat.
SuperSport said:
Did it automatically update for you? I've got root, and it will not update because it sees I'm rooted.
I'm thinking maybe it's due to the fact that I've removed a LOT of bloat.
Click to expand...
Click to collapse
I did this to keep my phone from showing root: http://forum.xda-developers.com/showthread.php?t=2703501
And yes it did it automagically
Sent from my LG-D800 using xda app-developers app
Here's the dump from the FOTA folder. I haven't let the update roll just yet.
https://app.box.com/s/o1w00ddwq0uawpbrzg70
Grab it while my BOX bandwidth allows lol.
Sent from my LG-D800 using Tapatalk
daryelv said:
This is supposed to enable Tap and Pay for Google Wallet...
https://plus.google.com/114105494557075919418/posts/gNCUZgwcnRQ
-Daryel
Click to expand...
Click to collapse
If I do not intend to ever use the Tap and Pay and / or Google Wallet, is there any benefit to taking this update?
I currently have software update "frozen" via Titanium
lostangelintx said:
If I do not intend to ever use the Tap and Pay and / or Google Wallet, is there any benefit to taking this update?
I currently have software update "frozen" via Titanium
Click to expand...
Click to collapse
The update also mentions Google+... Not sure I've ever had an issue with Google+ on my phone though...
"Software version D80020k for the LG G2 is now available starting April 8, 2014. This update brings Host Card Emulation (HCE) support and updates to Google+."
I just updated today, was running 80020c with the modified boot.img (for custom recovery). Flashed all the way back to 80010c and went through the update process... 80010c -> 80010o -> 80010q -> 80020c -> 80020k -> Rooted via IORoot25. I keep cloud backups of data (SMS, MMS, call logs, etc.) and applications (apk + data), so I never worry about losing data by a factory reset.
-Daryel
daryelv said:
I keep cloud backups of data (SMS, MMS, call logs, etc.) and applications (apk + data), so I never worry about losing data by a factory reset.
Click to expand...
Click to collapse
Out of curiosity, what do you use for this? I'm currently using Go Backup, but wondered what other alternatives there are. Sometimes, Go Backup can be a little glitchy...
SuperSport said:
Out of curiosity, what do you use for this? I'm currently using Go Backup, but wondered what other alternatives there are. Sometimes, Go Backup can be a little glitchy...
Click to expand...
Click to collapse
I've been using EaseBackup Pro for my backups. It's simple and has just worked for what I need. I've used Titanium Backup in the past, and messed with MyBackup Pro, Carbon and a few others.
-Daryel
daryelv said:
I've been using EaseBackup Pro for my backups. It's simple and has just worked for what I need. I've used Titanium Backup in the past, and messed with MyBackup Pro, Carbon and a few others.
-Daryel
Click to expand...
Click to collapse
Thanks for the reply. I also use EasyBackup Pro, but it also has some problems getting a full backup of the Apps to my Cloud. The SMS/MMS backup is flawless on EasyBackup! That's my preferred for those.
EDIT: Oops, I just saw my mistake. EASEbackup, not EASYbackup. I'll take a look at that one now.
daryelv said:
This is supposed to enable Tap and Pay for Google Wallet...
https://plus.google.com/114105494557075919418/posts/gNCUZgwcnRQ
-Daryel
Click to expand...
Click to collapse
Could this patch be ported to any other (T-mobile) variant?
How do I install this update?
I downloaded the fota, put it in "/cache/fota/update.zip" and it still wont run.
Any help?
Anyone out there that can make this a flashable zip? or cook it into a rom? I would if I knew how
Tremulant1 said:
Anyone out there that can make this a flashable zip? or cook it into a rom? I would if I knew how
Click to expand...
Click to collapse
This would require quite a bit of work. The update contains a dlpkgfile which nobody has figured out how to decompress. It's not a normal zip, bzip, gzip, lzip, lhzip, or anything I can decompress. Looking through the file's data it's obvious that it's compressed using opensource code, but LG must have put their own "spin" on it.
About the only thing I can think of doing to extract the changes would be to do a fresh factory reset, go through all the updates and take a snapshot of the /system partition prior to this small update, do the update, and then take another snapshot after the update. Using some file comparison tools such as Meld in Linux I can compare the before/after to capture the differences. Totally possible to do, just very time consuming. Here's the rough steps if someone wants to do it themselves...
1. revert back to D80010d (LGFlashtool)
2. use OTA process to upgrade to 80020c
3. root using IOroot25
4. take a snapshot of /system partition using "dd"
5. use OTA process to upgrade to 80020k
6. take a second snapshot of /system partition using "dd"
7. mount snapshots on Linux desktop
8. compare mounted snapshots using Meld
This will only capture differences on the /system partition. If there are updates to other partitions then those partitions would also have to extracted and compared as well.
-Daryel
daryelv said:
This would require quite a bit of work. The update contains a dlpkgfile which nobody has figured out how to decompress. It's not a normal zip, bzip, gzip, lzip, lhzip, or anything I can decompress. Looking through the file's data it's obvious that it's compressed using opensource code, but LG must have put their own "spin" on it.
About the only thing I can think of doing to extract the changes would be to do a fresh factory reset, go through all the updates and take a snapshot of the /system partition prior to this small update, do the update, and then take another snapshot after the update. Using some file comparison tools such as Meld in Linux I can compare the before/after to capture the differences. Totally possible to do, just very time consuming. Here's the rough steps if someone wants to do it themselves...
1. revert back to D80010d (LGFlashtool)
2. use OTA process to upgrade to 80020c
3. root using IOroot25
4. take a snapshot of /system partition using "dd"
5. use OTA process to upgrade to 80020k
6. take a second snapshot of /system partition using "dd"
7. mount snapshots on Linux desktop
8. compare mounted snapshots using Meld
This will only capture differences on the /system partition. If there are updates to other partitions then those partitions would also have to extracted and compared as well.
-Daryel
Click to expand...
Click to collapse
Thats way over my head lol I wish I knew Linux!
yea linux is hard
Tremulant1 said:
Thats way over my head lol I wish I knew Linux!
Click to expand...
Click to collapse
just type some stuff and it works
thats what happens for me
mp2ning said:
Checked today for Software Update on my At&t LG G2 D800 and a small 5.59MB update was found. Update didn't install because I am rooted but I grabed the file and uploaded to my Dropbox account in case it can be of use to someone. I am currently on 4.4.2 software KOT49I.D80020c
FOTA file
Click to expand...
Click to collapse
Link not found... please upload again
3z3-8917 said:
Link not found... please upload again
Click to expand...
Click to collapse
Anyone can upload it again?
Thanks.
bigheadlyf said:
Anyone can upload it again?
Thanks.
Click to expand...
Click to collapse
both ota files zipped... and hopefully will remain as long i can.
https://db.tt/kaRWKxvs

Your Phone is Locked Because the Payment Service was Uninstalled

If you ever lock Your Samsung because of disabling Samsung Payments or by debloating and You have TWRP installed here is a fix.
Boot to TWRP and using File Manager copy data/system/users/0/package-restrictions.xml to SD and then copy this file to PC to and open in notepad or any text editor.
Remove <pkg name="com.samsung.android.kgclient" ceDataInode="-4294836077" enabled="3" enabledCaller="0/" /> line from the file. It can have different values but package name must be the same. Remove whole line, save file and place it back to data/system/users/0/. I suggest to delete old package-restrictions.xml and package-restrictions.xml.bak before placing back edited file.
That's it, phone should be unlocked now.
Thank you! This saved me from several hours of tweaking this stupid samsung security.
Thank you @Chamelleon! I was about to get in to a full reflash stock, reroot, reinstall situation. Damn, I love xda!
BTW, the thing I did differently was to remove the three lines inclusive of
<disabled-components>
<item name="com.samsung.android.kgclient.receiver.KGAgentReceiver" />
</disabled-components>
...and changed enabled="3" to enabled="1" in this line
<pkg name="com.samsung.android.kgclient" ceDataInode="2643" enabled="1"
Probably not required, but thought I'd mention it.
Galaxy Tab S6
Android 9
Stock-Rooted
i cant find the line even if i search it
I tried attempted to debloat an S8 (running Pie), but I started receiving this message afterwards. There's no “com.samsung.android.kgclient” in the package-restrictions.xml file. Is there any other place this restriction could be enforced?
Found Another Way 2
in my case i copied the file package restrictions but did not found the line or the package in it.
What I Did
1. download the Samsung payment services apk from apkmirror.com
2. installed this app as a system app using lucky patcher.
Note: i guess we can use the adb tool too to install apps as system apps.
3. Nothing just restart and done.
Also this can be overcome in every restart without installing the above app. As you may have noticed device waits some time after the restart before pushing the notification and locking the device. What i found is that if we restart the SystemUI it disables the lock and does not show it up until next restart.
Enjoy and Keep Sharing.
I went in and deleted package-restrictions.xml and the bak file, I can reboot now and get in with the message, I initially uninstalled payment services, I tried flashing a zip of payment services apk couldn't get that going, now I'm getting android set up pop ups and my twrp won't boot to the recovery loader from within the app, and super su has lost all the settings for applications!?¿ rlly don't want to do a clean flash and re root ... bloody system packages arggghf help
Wow, this was easy. Thanks!
harismuntazir said:
in my case i copied the file package restrictions but did not found the line or the package in it.
What I Did
1. download the Samsung payment services apk from apkmirror.com
2. installed this app as a system app using lucky patcher.
Note: i guess we can use the adb tool too to install apps as system apps.
3. Nothing just restart and done.
Also this can be overcome in every restart without installing the above app. As you may have noticed device waits some time after the restart before pushing the notification and locking the device. What i found is that if we restart the SystemUI it disables the lock and does not show it up until next restart.
Enjoy and Keep Sharing.
Click to expand...
Click to collapse
Hi..how to restart system ui within so limited time
Chamelleon said:
If you ever lock Your Samsung because of disabling Samsung Payments or by debloating and You have TWRP installed here is a fix.
Boot to TWRP and using File Manager copy data/system/users/0/package-restrictions.xml to SD and then copy this file to PC to and open in notepad or any text editor.
Remove <pkg name="com.samsung.android.kgclient" ceDataInode="-4294836077" enabled="3" enabledCaller="0/" /> line from the file. It can have different values but package name must be the same. Remove whole line, save file and place it back to data/system/users/0/. I suggest to delete old package-restrictions.xml and package-restrictions.xml.bak before placing back edited file.
That's it, phone should be unlocked now.
Click to expand...
Click to collapse
i cant find this xml anywhere, please help
Any advice if twrp isn't yet installed but device is already rooted?
Solution is to reboot to Samsung recovery and factory reset. Worked for me.
JoshReuben said:
Solution is to reboot to Samsung recovery and factory reset. Worked for me.
Click to expand...
Click to collapse
luckily factory reset solves it. i was already getting anxious about paying "ransomware" to samsung service oof
thanks
but my TWRP doesnt mount data
CANDco said:
but my TWRP doesnt mount data
Click to expand...
Click to collapse
Only hard reset can fix Your phone then. If TWRP can't mount data it means that your phone is encrypted and without full wipe you won't be able to unlock it.
Thanks! I just fixed my m51 with this method. I was thinking about restoring full TWRP backup or flashing stock rom as last resort. So glad I found this thread.
I don't know what is wrong with my phone. I disabled the app, and got the message. I did what you suggested and rebooted. but the app re-enabled itself. I tried disabling again and the message came up again. I checked and that line is no longer in my package-restrictions.xml
Luckily for me, just rebooting unlocks my phone, but I think that defeats the purpose....
I kinda want to get rid of that app
adb shell pm enable com.samsung.android.kgclient
will solve the problem
jafferkhan said:
i cant find this xml anywhere, please help
Click to expand...
Click to collapse
Man, that was a trip to do, but on my unlocked S9+, it worked! I could only see the exact file when I opened the .xml file with wordpad on my Win. 10 to edit it, otherwise it's very hard to spot scrolling in TWRP on the device, particularly since the long package list can freeze up while you scroll down.
I should add, that I used an OTG USB Bridge with a type C connector to paste the copied .xml file to the connected flash drive I mounted in TWRP (just scroll up through the directories for "OTG USB' to find the drive to paste it), then put it on my PC, this made the process go even faster.
But it's better to proactively check what apps can be disabled, removed, or in my case frozen with Titanium Pro, before ever having to deal with such a scare as this!
Chamelleon said:
If you ever lock Your Samsung because of disabling Samsung Payments or by debloating and You have TWRP installed here is a fix.
Boot to TWRP and using File Manager copy data/system/users/0/package-restrictions.xml to SD and then copy this file to PC to and open in notepad or any text editor.
Remove <pkg name="com.samsung.android.kgclient" ceDataInode="-4294836077" enabled="3" enabledCaller="0/" />line from the file. It can have different values butIpackage name must be the same. Remove whole line, save file and place it back to data/system/users/0/. I suggest to delete old package-restrictions.xml and package-restrictions.xml.bak before placing back edited file.
That's it, phone should be unlocked now.
Click to expand...
Click to collapse
What are procedures on how to remove the file after disabling the package, my Samsung A03 CORE can't mount. So kindly assist me here..

How get emojies back after Twrp/rooting?

No matter what TWRP version I use as my recovery, OOS loses all the emojis. I want to stay stock and rooted. I achieved root via magisk, but the OS is impossible to use without graphical symbols with square boxes instead of them. Please help me. I'm on oos 10.3.3
bythelaw said:
No matter what TWRP version I use as my recovery, OOS loses all the emojis. I want to stay stock and rooted. I achieved root via magisk, but the OS is impossible to use without graphical symbols with square boxes instead of them. Please help me. I'm on oos 10.3.3
Click to expand...
Click to collapse
So what's basically happening is that you somehow like many others don't have the Reserve partition which includes Emojis, Fonts and some OnePlus Apps.
There are a couple of things that you can try to fix it.
You can try to install OOS through local upgrade without wiping anything. This may work or not. From my experience it never worked but for some it did so it's worth to give a try.
If the first method doesn't work you can give this Magisk module a try, it contains everything that's included in the Reserve partition. Just install it via Magisk and reboot.
https://androidfilehost.com/?fid=1899786940962618515
For both methods you may need to wipe the app data and cache of your keyboard app for the emoji's to reappear.
If both methods don't work for you, you probably need to do a complete reinstall of OOS. You could try to clean flash OOS via TWRP or restore your device with the MSM Download Tool.
Good luck! :good:
Mr.FREE_Bird said:
So what's basically happening is that you somehow like many others don't have the Reserve partition which includes Emojis, Fonts and some OnePlus Apps.
There are a couple of things that you can try to fix it.
You can try to install OOS through local upgrade without wiping anything. This may work or not. From my experience it never worked but for some it did so it's worth to give a try.
If the first method doesn't work you can give this Magisk module a try, it contains everything that's included in the Reserve partition. Just install it via Magisk and reboot.
https://androidfilehost.com/?fid=1899786940962618515
For both methods you may need to wipe the app data and cache of your keyboard app for the emoji's to reappear.
If both methods don't work for you, you probably need to do a complete reinstall of OOS. You could try to clean flash OOS via TWRP or restore your device with the MSM Download Tool.
Good luck! :good:
Click to expand...
Click to collapse
I tried the first method, didn't work. I'll try the second method and reply here.
After installing "Reserve_V1" via magisk, do I have to data-reset via twrp? Wipe internal storage? Or anything else?
Or
Just reboot after flashing the zip, and hopefully emojies are back?
bythelaw said:
I tried the first method, didn't work. I'll try the second method and reply here.
After installing "Reserve_V1" via magisk, do I have to data-reset via twrp? Wipe internal storage? Or anything else?
Or
Just reboot after flashing the zip, and hopefully emojies are back?
Click to expand...
Click to collapse
Doesn't surprise me, never worked for me too...
No wipes needed, just install the Magisk module via Magisk and reboot. You may need to wipe the app data and cache of the keyboard app you are using like I mentioned but that's it.
Mr.FREE_Bird said:
Doesn't surprise me, never worked for me too...
No wipes needed, just install the Magisk module via Magisk and reboot. You may need to wipe the app data and cache of the keyboard app you are using like I mentioned but that's it.
Click to expand...
Click to collapse
Awesome, thank you so much. I'll try it and reply
Mr.FREE_Bird said:
Doesn't surprise me, never worked for me too...
No wipes needed, just install the Magisk module via Magisk and reboot. You may need to wipe the app data and cache of the keyboard app you are using like I mentioned but that's it.
Click to expand...
Click to collapse
It seems I didn't pay attention before, but now I see that after twrp and root, my internal storage is not working properly. No apps are installing, can't download anything either.
Mr.FREE_Bird said:
Doesn't surprise me, never worked for me too...
No wipes needed, just install the Magisk module via Magisk and reboot. You may need to wipe the app data and cache of the keyboard app you are using like I mentioned but that's it.
Click to expand...
Click to collapse
Reserve magisk worked wonderfully.
Thank you so much. Hopefully others can find this thread as well and root.
Im planning to root my op6, how do i not mess up the reserve partition??
bythelaw said:
Reserve magisk worked wonderfully.
Thank you so much. Hopefully others can find this thread as well and root.
Click to expand...
Click to collapse
Great to hear, glad that the Magisk module I shared was helpful. :good:
---------- Post added at 11:08 PM ---------- Previous post was at 11:06 PM ----------
Antieco said:
Im planning to root my op6, how do i not mess up the reserve partition??
Click to expand...
Click to collapse
I'm actually not quite sure what causes the reserve partition to go missing. But from my own experience it seems that wiping the /data partition after a clean install of OOS with he MSM Download Tool causes this to happen. But I am not 100% sure this is correct.
The Reserve zip file worked very well. Thanks to the zip creator and guy refering to the zip file.
Now with everything fixed I wanted to use the font changer magisk module which I couldn't due to the above module blocking/overwriting it.
Reserve file containing all the fonts and emojis in system/fonts folder. Surprisingly almost all the files were already present in the phones system folder but containing 0kb data, which was the problem.
Extracted the Reserve zip file, copied files from system/fonts and replaced them in the phones system/fonts folder via file manager. Rebooted and everything was working. Now all the fonts and emojis are working as well as I'm able to change fonts using font changer module. Hope this helps
Mr.Hunk said:
The Reserve zip file worked very well. Thanks to the zip creator and guy refering to the zip file.
Now with everything fixed I wanted to use the font changer magisk module which I couldn't due to the above module blocking/overwriting it.
Reserve file containing all the fonts and emojis in system/fonts folder. Surprisingly almost all the files were already present in the phones system folder but containing 0kb data, which was the problem.
Extracted the Reserve zip file, copied files from system/fonts and replaced them in the phones system/fonts folder via file manager. Rebooted and everything was working. Now all the fonts and emojis are working as well as I'm able to change fonts using font changer module. Hope this helps
Click to expand...
Click to collapse
Absolutely not a problem! Glad it was somewhat helpful.
Great solution and tip for others who might run into the same issue. I'm sure that will be helpful for others who might run into this thread. :good:

Deteled some system apps, now stuck in a bootloop

It is just as the title states. I would like to somehow fix my phone instead of just recovering.
I can still access twrp, and the app(https://play.google.com/store/apps/details?id=com.jumobile.manager.systemapp) is used to create it with has created some backup files that i can still access. Is there still hope?
Mi 8 Pro with lineage os 18 unofficial
PalanixYT said:
It is just as the title states. I would like to somehow fix my phone instead of just recovering.
I can still access twrp, and the app(https://play.google.com/store/apps/details?id=com.jumobile.manager.systemapp) is used to create it with has created some backup files that i can still access. Is there still hope?
Mi 8 Pro with lineage os 18 unofficial
Click to expand...
Click to collapse
If you have some idea which apps you uninstalled then you can put them back in the right directory/folder, the app you used probably created a folder to backup them anyway for the next this app is not recommended to use it blindly; it doesn´t have a good criteria to determine what´s important and what´s not.
Or you can flash only the system image and after that wipe caches, reboot.
SubwayChamp said:
If you have some idea which apps you uninstalled then you can put them back in the right directory/folder, the app you used probably created a folder to backup them anyway for the next this app is not recommended to use it blindly; it doesn´t have a good criteria to determine what´s important and what´s not.
Or you can flash only the system image and after that wipe caches, reboot.
Click to expand...
Click to collapse
do you know of a way to find out exactly whats missing? like some log or something like that?
PalanixYT said:
do you know of a way to find out exactly whats missing? like some log or something like that?
Click to expand...
Click to collapse
Yes, there are some apps on PlayStore that can do that but you can´t boot right now to use it, probably you can take some logs through adb while in TWRP, check this https://github.com/IzzySoft/Adebar
The app you used creates a folder in the SDCard, probably it keeps the apps there, if you have TWRP you can navigate to it and you´ll find them.
the app has created an xyz.apk.backup can i just use adb install, or should i do something different?
hmm, i think just reflashing the system image would be easier. So should i just reflash the lineageos.zip?
PalanixYT said:
the app has created an xyz.apk.backup can i just use adb install, or should i do something different?
Click to expand...
Click to collapse
Yes, the first is identify the apps and then you can install them using adb through TWRP or copying the app to the folder where it was previosuly.
PalanixYT said:
hmm, i think just reflashing the system image would be easier. So should i just reflash the lineageos.zip?
Click to expand...
Click to collapse
You can flash it just wiping caches.
ok thank you very much, you are a life saver
i'm sorry i messaged you
it didn't work. Maybe also flash gapps?
PalanixYT said:
it didn't work. Maybe also flash gapps?
Click to expand...
Click to collapse
What´s inside the LOS zip? And what exactly didn´t work?
it's just the zip i used when installing the custom rom. i can send the file if you wnat.
META-INF/com/android/metadata
system.new.dat.br
system.patch.dat
vendor.new.dat.br
vendor.patch.dat
META-INF/com/google/android/update-binary
META-INF/com/google/android/updater-script
boot.img
install/bin/backuptool.functions
install/bin/backuptool.sh
system.transfer.list
vendor.transfer.list
META-INF/com/android/otacert
i was still inside a boot loop
PalanixYT said:
it's just the zip i used when installing the custom rom. i can send the file if you wnat.
META-INF/com/android/metadata
system.new.dat.br
system.patch.dat
vendor.new.dat.br
vendor.patch.dat
META-INF/com/google/android/update-binary
META-INF/com/google/android/updater-script
boot.img
install/bin/backuptool.functions
install/bin/backuptool.sh
system.transfer.list
vendor.transfer.list
META-INF/com/android/otacert
i was still inside a boot loop
Click to expand...
Click to collapse
It could work if you do it correctly:
- Wipe system, caches and data (not format)
- Flash the LOS zip.
- Flash the GApps (if you had previously Google apps on it)
- Reboot.
it worked, thank you very much. Is there a way to restore my phone to its previous state? i made a twrp backup just in case
PalanixYT said:
it worked, thank you very much. Is there a way to restore my phone to its previous state? i made a twrp backup just in case
Click to expand...
Click to collapse
Great, you can restore it just at the same time you did take the backup, if at the moment that this happened you didn´t take a backup of course you can´t anyway if you had some apps synchronizing with the cloud then this will be the only way. It works similarly as Windows (or Linux distros) also work if you have some idea from.

Categories

Resources