Unable to Install APKs (Package Invalid) - OnePlus 8 Pro Questions & Answers

I recently upgraded to the latest build of Oxygen OS (IN2025_11_F.13) after procrastinating.
I am trying to install quick glance so that I can disable the discover page on my homescreen.
No matter what APK version I try, it gives me an error stating the package appears to be invalid.
The same thing happens when trying to install the older version of oneplus weather with the (in my opinion) better widget and animations.
This also applies to any APK I have tried installing.
Is there any way to install these apps?
Or are there other ways to restore the old version of weather and disable discover?
My device is rooted with Magisk FYI.
Thanks.

Related

Installing APKs

I installed a stripped version of stock Lollipop and have used it for my daily driver for a while. There are a few of the widgets/apps missing that I'm trying to add back. I've got the weather widget APKs, but can't get it to install. I've copied it to the system folder and reset permissions and still nothing. I just get a message after the reboot that weather failed. Anybody have any ideas or another APK that will work with stock lollipop? I appreciate it.

[TOOLS Fire HD 6&7 ] Rooting, Gapps, Launchers, Block OTA & Ads + More

Download the latest tools from the AFH link near end of post. It includes the changes in the attached "jobs" zip. You only need "jobs" if you downloaded the tools before May 11
EDIT May 29: Playstore is currently unreliable. Until updated, use the workaround here.
UPDATE May 17: Install Other Launcher and Install Kingroot tools may not complete if Windows username has spaces. I'll fix in next update. Until then, if your username has spaces, use this fix.
Here are tools for the 2014 Fire HD 6 and 7. A little late, I know, but some of you who still troll the forums may find them handy. Download the tools from AFH link, extract and run RUNME.bat.
IF YOU PLAN TO ROOT, TURN OFF WIFI NOW!
Tested working on OS 5.1.2.1 and below, except:
- Current Kingroot can't root 5.1.2.1. You need to downgrade. See "ROOT OS 5.1.2", below.
- OS 4: Only OTA blocking is implemented in the Block/Unblock jobs. [5/13/16 UPDATE: Also, Play Store isn't working on OS 4.
.. I probably won't fix it unless there's some demand. Try the video guide here. OS 4 users, also see post #11 for useful info about custom launchers.]
THE TOOLS
Install Play Store
Install Nova Launcher to /priv-app [root]
Install Other Launcher to /priv-app [root]
Uninstall priv-app Launchers [root]
Install Apps
Block/Unblock: OTA, ADS, AMAZON LAUNCHER, APPSTORE, AMAZON SEARCH [root]
Root Checker
Device Info
Root Tools
Install Kingroot ~ Root ~ Block OTA
Replace Kingroot with SuperSU [root]
DESCRIPTIONS
Before running a job, look here for any tips and instructions. This info is also in the readme.txt in the zip​
INSTALL PLAY STORE - Like it says. Works on both rooted and unrooted OS 5. Not for OS 4. EDIT May 29: Playstore is currently unreliable. Until updated, use the workaround here.
INSTALL NOVA LAUNCHER - Installs Nova to /system/priv-app so widgets work. If you just rooted, make this your first custom launcher. You can replace it or add a different one later.
INSTALL OTHER LAUNCHER Installs the launcher app in user_launcher folder to priv-app. Get the apk for the launcher you want (from apkmirror.com for example) and put it into the folder and run the job. EDIT 5/16/2016: Filenames must end with ".apk" No spaces allowed; replace with "_". (The tool will find spaces and pause while while you fix.)
HOW TO INSTALL GOOGLE NOW (also in Readme.txt):
It's much easier to install Google Now if Amazon is blocked, and you need a custom launcher to do that.
1. If you don't have a custom launcher installed, use Install Nova tool (installs Nova and blocks Amazon)
If you have a custom launcher, block Amazon so your custom launcher is running.
2. Get Google Now (small) from apkmirror.com, e.g., put into user_launcher folder and run Install Other Launcher job.
You'll boot to your "other" launcher
3. Run Google Now in app drawer and:
If prompted to Update Google App (Get it from Google Play), do it.
If prompted that other launcher is default, tap link to go to Amazon Settings. In Apps & Games>Manage all Applications: Swipe to All, scroll to your other launcher, tap it and see if "Launch by Default" is on. If yes, Clear Defaults. If no, go to your launcher settings and see if you can turn off default there.
Some launchers don't give up their default easily. If pressing home key doesn't show "Select Home App" after doing the above, run Block/Unblock tool and switch to Amazon. Then block Amazon again. After restart, press home key and you'll get "Select Home App" and be able to choose Google Now.
UNINSTALL LAUNCHERS - Uninstalls and deletes everything associated with a launcher installed to /priv-app. If multiple, prompts you to choose the one to uninstall.
INSTALL APPS - Installs all the apps in the user_apps folder. Put the apks into the folder and run the job. Filenames must end with ".apk" No spaces allowed; replace with "_". (The tool will find spaces and pause while while you fix.) Don't install a launcher with this; use one of the launcher tools.
BLOCK/UNBLOCK - OTA, ADS, AMAZON LAUNCHER, APPSTORE, AMAZON SEARCH
Except for OTA, these work only on rooted OS 5. OTA does a soft block on unrooted OS 4, hard block on rooted.
OTA: Disables update packages and renames DeviceSoftwareOTA.apk for a "hard" block. Unblock reverses it.
ADS: Blocks/unblocks the lockscreen ads.
AMAZON LAUNCHER: Block disables the stock launcher (Amazon UI) and the Appstore, which forces the home key to use your custom launcher. Unblock switches you to Amazon. Checks for custom launcher before disabling Amazon. Black screen with multiple custom launchers: If you haven't set a default launcher, disabling Amazon will boot to black screen. (System doesn't know which launcher to use.) Press home key (circle at bottom) for launcher choices. TIP: To easily switch between your launcher and Amazon, use @bibikalka's guide here to set up "one-tap switching" from launcher home screen.
APPSTORE: Blocks the appstore so in-app links take you to the Play Store (instead of throwing that stupid Appstore prompt). Amazon complains bitterly if you run this from Amazon UI, so use it at your custom launcher or just use the Amazon launcher block.
AMAZON SEARCH: If you have Google Search installed, blocking Amazon Search makes your launcher search bar use Google instead of Amazon shopping.
DEVICE INFO - Just some specs that I find interesting. Lazy man's way to find out which tablet is plugged in, OS it's running, whether rooted . . .
INSTALL KINGROOT, ROOT, BLOCK OTA - Installs Kingroot, prompts you through rooting and blocks OTA updates.
- Installs kingroot v.4.8.5 by default.
- You can skip installation if Kingroot already installed
- You can install a later version if available: Check for new versions here: http://forum.xda-developers.com/android/apps-games/one-click-root-tool-android-2-x-5-0-t3107461
ROOTING AND UPDATES: An update file can download while you're rooting. The Kingroot tool prevents it from installing as soon as you press Enter to tell the tool you're rooted. Then it looks for any downloaded file and if it finds one it tells you where it is and prompts you to delete.
Amazon says that updates install when the the device is not being used, but be aware that on OS 5 there's some risk. To minimize the risk, never leave the tablet idle while rooting. Just keep running Kingroot until root is successful and then press Enter to block installation of any download. (These instructions are in the tool.) To eliminate all risk, you can downgrade and root OS 4.5.3. On OS 4 the tool blocks update installation before rooting. (There's no way to do this on OS 5.) From OS 4.5.3, you upgrade with root in TWRP per bibikalka's root Tut.
True story: Kingroot once rebooted 5 times and told me "Root Failed" 3 times before finally succeeding. An update had downloaded to /cache, but the kingroot tool successfully blocked installation and found the file, which I deleted. So, although it's possible you could get upgraded, as long as you keep the tablet busy trying to root and then press Enter as soon as you're rooted, it's very unlikely.
REPLACE KINGROOT WITH SUPERSU - Installs W0lfDroid's sh script and prompts you through using it to replace Kingroot.
I reviewed and tested the script and it does (only) what it says: Removes all Kingroot (except Purify app, which tool uninstalls) and installs SuperSU. The tool uses SuperSU v. 2.4.6 for OS 5 (known working on OS 5.1.2) and SuperSU v. 2.4.9 for OS 4 (because 2.4.6 didn't seem to work).
FULL DISCLOSURE: I lost root one time after running this on OS 4. I think the problem was SuperSU 2.4.6 and that's why I changed it. I've tested many times and this only happened once, but you should know it happened. AFAIK W0lfDroid script is still the best free tool for the job.
ERRORS: Script was written to remove Kingroot from multiple android versions, so it tries to remove Kingroot files that don't exist on Lollipop. THIS PRODUCES LOTS OF ERRORS. THAT'S OK. I left in all commands so it will work on OS 4, too.
USE THIS SOON AFTER ROOTING. W0lfDroid's script should work fine even with root apps installed, but all I know for sure is it runs quick and easy on a "fresh" system.
ADB Sideload
There's an adb-sideload job in the jobs folder. I didn't put it on the menu because it uses commands that may not run on some systems. Also, if you know what you're doing, it's probably faster to manually sideload an update. If someone wants to try it, put the update bin file into adb_sideload folder and run sideload.bat.​WINDOWS TESTING: Script was tested on English-language versions of Win 7 Pro and Home. Some testing on Win 10. (Thanks @SpaceBananas!) There's nothing that can hurt your tablet, but there may be kinks to work out based on Windows version. Hope a tester will work with me to help make the tools accessible to everyone. Thanks!
ADB DRIVERS REQUIRED: Try the guide in first link below. If problems, try the second.
Guide: http://forum.xda-developers.com/fir...ivers-fire-t3189000/post62561840#post62561840
Other options: http://forum.xda-developers.com/showpost.php?p=63072252&postcount=2
ROOT OS 5.1.2
IF YOU PLAN TO ROOT, TURN OFF WIFI NOW!
ROOT GUIDE: Follow this guide to use Kingroot and the root tools to set up your tablet.
At this time, Kingroot can only root OS 5.1.2 (February 2016) and below.
You can downgrade OS 5.1.2.1 (March 2016) to 5.1.2 and root, as explained in Root Guide, but this is an exception!
In general, never downgrade in order to use Kingroot. It's the fastest way to a brick!
You may be able to safely downgrade a higher OS to OS 4.5.3, root, and then upgrade in TWRP per @bibikalka's root Tut. Before trying this on an OS later than 5.1.2.1, make sure the tutorial says it's safe.
DOWNLOAD THE TOOLS FROM AFH ➔ . FireHD_TOOLS v 1.2
Update as of 5/11/16
➔ If you got the tools before the update, just replace the jobs folder in FIREHD_TOOLS with the one in attached "jobs_v1.x.zip"
Change Log
5/11/2016 - v1.2: Updated sideload.bat. (Missed the Find/Findstr fixes.)
5/10/2016 - v1.1: Fixed "No such file or directory" and "Permission denied" errors for users with *nix Find command installed
.
Nice Work!
@DoLooper - Magnum Opus, no less !
Why version 0.1 ??? The first release - solid 1.0 !!!
Updated. See OP.
Guys, I could use some feedback. Tools are getting downloaded a lot. Anybody using them? Are they helpful? Problems? Wishes? Anything? Thanks!
.
Updated again <sigh>. Sideload tool didn't get updated in v1.1. Apologies to those who downloaded the jobs zip.
DoLooper said:
Updated. See OP.
Guys, I could use some feedback. Tools are getting downloaded a lot. Anybody using them? Are they helpful? Problems? Wishes? Anything? Thanks!
.
Click to expand...
Click to collapse
Thanks DoLooper.
I tried these tools on my Fire HD 7 running 4.5.5.1 rooted with KingRoot.
I was able to use the script to successfully switch from KingRoot to SuperSU as well as to install Nova Launcher.
However, I had issues with the script elsewhere.
The play store seemed to install okay and it let me put in my google account info. After that, things went down hill. I was able to open the Play Store app without it crashing, but I just kept getting the "Error retrieving information from server. [RH-01]" message . I tried numerous things to correct this, but nothing seemed to work. In the end, I downgraded to 4.5.5, wiped data, cache and dalvik, and then flashed gapps via TWRP. This worked out, so all is good now.
I also had trouble with blocking the default launcher. Nova seemed to install okay, but the default launcher still worked and was a constant nag with each press of the home button. I fixed this by freezing the default launcher via Titanium Backup.
I don't know if these issues are particular to 4.5.5.1, or if I'm just unlucky. Regardless, I still appreciate your effort for putting this together. :good:
I'm currently trying to get wallpapers and widgets to work on the Nova launcher with no success. I tried the fixes intended for earlier Kindle models and (not surprisingly), they didn't work. Specifically, I tried Stunt's Wallpaper Fix and Kindlefree from the app store.
Any ideas where I should look for guidance on making Wallpapers and Widgets work?
Thanks again!
notorious.dds said:
Thanks DoLooper.
I tried these tools on my Fire HD 7 running 4.5.5.1 rooted with KingRoot.
I was able to use the script to successfully switch from KingRoot to SuperSU as well as to install Nova Launcher.
However, I had issues with the script elsewhere.
The play store seemed to install okay and it let me put in my google account info. After that, things went down hill. I was able to open the Play Store app without it crashing, but I just kept getting the "Error retrieving information from server. [RH-01]" message . I tried numerous things to correct this, but nothing seemed to work. In the end, I downgraded to 4.5.5, wiped data, cache and dalvik, and then flashed gapps via TWRP. This worked out, so all is good now.
I also had trouble with blocking the default launcher. Nova seemed to install okay, but the default launcher still worked and was a constant nag with each press of the home button. I fixed this by freezing the default launcher via Titanium Backup.
I don't know if these issues are particular to 4.5.5.1, or if I'm just unlucky. Regardless, I still appreciate your effort for putting this together. :good:
I'm currently trying to get wallpapers and widgets to work on the Nova launcher with no success. I tried the fixes intended for earlier Kindle models and (not surprisingly), they didn't work. Specifically, I tried Stunt's Wallpaper Fix and Kindlefree from the app store.
Any ideas where I should look for guidance on making Wallpapers and Widgets work?
Click to expand...
Click to collapse
Thanks for feedback. Tools apparently need work for OS 4.5.5.1. I tested pretty well on 4.5.3 and 4.5.5, but not 4.5.5.1. There may be some peculiarity there.
- The play store error has been reported on some 2015 Fires (using a different tool, but same method to install). It's unclear why it happens on some devices and not others, and they haven't found a fix, but it may be an OS 4 issue on the Fire HDs. I'll look into it.
- Nova & stock launchers: The block on stock launcher didn't work because it isn't implemented for OS 4. As mentioned at top of OP, only OTA block is available for OS 4. I'll need to add it in an update. Hadn't thought about need for it when using the Nova tool.
Would you please look in /system/priv-app folder and see if com.teslacoil.launcher.apk is at the bottom of directory? If so, are perms set to rw- r-- r--? Let me know and we'll proceed from there to get you widgets. Thanks.
DoLooper said:
Thanks for feedback. Tools apparently need work for OS 4.5.5.1. I tested pretty well on 4.5.3 and 4.5.5, but not 4.5.5.1. There may be some peculiarity there.
- The play store error has been reported on some 2015 Fires (using a different tool, but same method to install). It's unclear why it happens on some devices and not others, and they haven't found a fix, but it may be an OS 4 issue on the Fire HDs. I'll look into it.
- Nova & stock launchers: The block on stock launcher didn't work because it isn't implemented for OS 4. As mentioned at top of OP, only OTA block is available for OS 4. I'll need to add it in an update. Hadn't thought about need for it when using the Nova tool.
Would you please look in /system/priv-app folder and see if com.teslacoil.launcher.apk is at the bottom of directory? If so, are perms set to rw- r-- r--? Let me know and we'll proceed from there to get you widgets. Thanks.
Click to expand...
Click to collapse
Thanks for the help!
I found the com.teslacoilsw.launcher-1.apk file, but it's in my /data/app folder... and it is chmod'ed to 644.
Also, I did successfully install the AppWidgetPicker.apk and LiveWallpapersPicker.apk files to /system/app using the "kindlefree" app, but I think that about all the app did. These files are also chmod'ed to 644.
notorious.dds said:
Thanks for the help!
I found the com.teslacoilsw.launcher-1.apk file, but it's in my /data/app folder... and it is chmod'ed to 644.
Also, I did successfully install the AppWidgetPicker.apk and LiveWallpapersPicker.apk files to /system/app using the "kindlefree" app, but I think that about all the app did. These files are also chmod'ed to 644.
Click to expand...
Click to collapse
I've been using OS 5 for too long! Forgot you can't get wallpaper on OS 4 without fussing. It's unclear from your post: Did the pickers get wallpaper to work? This is the way we did it back when we always booted twrp and installed xposed: http://forum.xda-developers.com/fire-hd/general/how-to-wallpaper-custom-launcher-t3123009
As to widgets: What I meant is, you should have /system/priv-app/com.teslacoil.launcher_4.2.2.apk. Do you? I just retested this on 4.5.3. Nova (com.teslacoil.launcher_4.2.2.apk) got copied there and chmod'ed to 644 as it should and widgets are working fine.
No wallpaper is a bad problem, though, and no tool can fix it--unless that LiveWallpapersPicker DID work. Let me know. And let me know about /system/priv-app/com.teslacoil.launcher_4.2.2.apk.
BTW, how come you want to stay on OS 4?
DoLooper said:
I've been using OS 5 for too long! Forgot you can't get wallpaper on OS 4 without fussing. It's unclear from your post: Did the pickers get wallpaper to work?
Click to expand...
Click to collapse
Nope.
DoLooper said:
This is the way we did it back when we always booted twrp and installed xposed: http://forum.xda-developers.com/fire-hd/general/how-to-wallpaper-custom-launcher-t3123009
Click to expand...
Click to collapse
I think I tried that to no avail, but I can't remember exactly which module I used.
DoLooper said:
As to widgets: What I meant is, you should have /system/priv-app/com.teslacoil.launcher_4.2.2.apk. Do you? I just retested this on 4.5.3. Nova (com.teslacoil.launcher_4.2.2.apk) got copied there and chmod'ed to 644 as it should and widgets are working fine.
Click to expand...
Click to collapse
I think I ended up installing Nova via the app store so that's why it wasn't on the system partition. However, my widgets seemed to work when I checked again. I have no idea why they wouldn't work when I first tried them. I did end up creating two simple scripts via the "Scripter" app that would enable and disable the stock launcher. I put them as widgets on the nova desktop allowing for single click toggling of the stock launcher.
DoLooper said:
No wallpaper is a bad problem, though, and no tool can fix it--unless that LiveWallpapersPicker DID work. Let me know. And let me know about /system/priv-app/com.teslacoil.launcher_4.2.2.apk.
Click to expand...
Click to collapse
No, nothing seemed to fix the wallpaper... always black. Am understanding this correctly that the wallpaper works on this thing if I load Lollipop?
DoLooper said:
BTW, how come you want to stay on OS 4?
Click to expand...
Click to collapse
I didn't want to fiddle around with change the bootloaders every time I wanted into TWRP. At this point, it doesn't matter anyway... I hard bricked the device by flashing the 5.2.0 stock recovery last night
The post about using this to revert to stock should be edited or removed. It's bad.
The only reason I was trying to revert to stock was that I ended up getting into a situation where the stock launcher would continue looping back to the Welcome/select language screen. I wiped cache, data, and dalvik and reflashed the 4.5.5 rom which didn't fix it. I even tried that same approach including a wipe of system... same result. I was quite surprised to see the problem continue even after wiping everything. At that point I figured I go back to full stock and start over... BAD IDEA.
Anyway, I ordered a new one and it should be here tomorrow. I'm now curious if it's possible to recover the bricked device via the UART port on the motherboard. We'll see.:fingers-crossed::fingers-crossed:
notorious.dds said:
. . .
I think I ended up installing Nova via the app store so that's why it wasn't on the system partition. However, my widgets seemed to work when I checked again. I have no idea why they wouldn't work when I first tried them. I did end up creating two simple scripts via the "Scripter" app that would enable and disable the stock launcher. I put them as widgets on the nova desktop allowing for single click toggling of the stock launcher.
No, nothing seemed to fix the wallpaper... always black. Am understanding this correctly that the wallpaper works on this thing if I load Lollipop?
I didn't want to fiddle around with change the bootloaders every time I wanted into TWRP. At this point, it doesn't matter anyway... I hard bricked the device by flashing the 5.2.0 stock recovery last night
The post about using this to revert to stock should be edited or removed. It's bad.
The only reason I was trying to revert to stock was that I ended up getting into a situation where the stock launcher would continue looping back to the Welcome/select language screen. I wiped cache, data, and dalvik and reflashed the 4.5.5 rom which didn't fix it. I even tried that same approach including a wipe of system... same result. I was quite surprised to see the problem continue even after wiping everything. At that point I figured I go back to full stock and start over... BAD IDEA.
Anyway, I ordered a new one and it should be here tomorrow. I'm now curious if it's possible to recover the bricked device via the UART port on the motherboard. We'll see.:fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
Sorry to hear about the brick. Good thing Amazon is patient with us.
Yes, wallpaper works fine on OS 5. [For others who read this, on OS 4 the only way to get wallpaper is with Xposed (installed in TWRP) and the kindleBG module in the link I posted above. And BTW, although the tools don't block OS 4 Amazon launcher ATM, it can be done manually. Commands are here.]
Thanks for your input. Play store didn't work for me either this time, despite earlier success. Everything else except the launcher block (and other non-OTA blocks) does work, so for now I'm just going to edit post and see if there's any other interest in play store on OS 4. (I trust you'll get OS 5 on replacement or will want to update to it.)
As to TWRP: Once tablet is set up, booting TWRP isn't needed much except for upgrading. and bibikalka gives us lots of options for doing it.
Let us know if anything comes of UART port tests. You'd be the hero of the community!
Workaround for Windows username with spaces
The Install Other Launcher and Install Kingroot jobs may not complete if your Windows username has spaces in it. I'll fix this in next update. Meanwhile here's the workaround:
1. Right-click RUNME.bat and choose Edit. [file opens in Notepad]
2. Add a blank line under :: Set paths and run menu.
3. Type: SET "username=abc"
4. Make sure this section of RUNME looks like below and then save and close Notepad
Code:
:: Set paths and run menu.
SET "username=abc"
SET "main=%CD%\"
SET "jobsdir=%main%jobs\"
[remaining code]
This changes the username only for the tools. The rest of Windows continues to use the real username.
I'm getting ready to update. Please let me know if you found any problems.
Used the tool on my Fire HD 6 (4th Gen) running a Rooted OS 5.1.2.1 to install a new launcher and block OTA's, ads, fire launcher, appstore, and Amazon search. Everything worked without issue! Thanks for the awesome and simple to use tool! Tablet is now almost pure Android. Great work!!!
Sidenote: Used bibikalka's TUT (http://forum.xda-developers.com/fire-hd/general/how-to-upgrade-to-lollipop-root-gapps-t3163950) on my Fire HD 6 that was currently running Fire OS 4.5.3 with TWRP Recovery to obtain a Rooted Fire OS 5.1.2.1..
I adb'd the 5.1.2 upgrade to my slab this way.
$ adb push update-kindle-20.5.4.2_user_542168620.bin /sdcard/
3047 KB/s (663908627 bytes in 212.722s)
My OS is FIRE OS 5.1.2 Build Date March 31, 2016 1:37 AM.
I tried and got an error to the effect, "cannot upgrade because the upgrade you are trying is older than the one you have".
So I'm probably running an even later version of 5.1.2 where they blocked that loophole.
I'm just going to by a cheap Chinese slab and root that.
wallywallywally said:
I adb'd the 5.1.2 upgrade to my slab this way.
$ adb push update-kindle-20.5.4.2_user_542168620.bin /sdcard/
3047 KB/s (663908627 bytes in 212.722s)
My OS is FIRE OS 5.1.2 Build Date March 31, 2016 1:37 AM.
I tried and got an error to the effect, "cannot upgrade because the upgrade you are trying is older than the one you have".
So I'm probably running an even later version of 5.1.2 where they blocked that loophole.
I'm just going to by a cheap Chinese slab and root that.
Click to expand...
Click to collapse
use adb sideload in Stock recovery
Sent from my KFFOWI using XDA Labs
sd_shadow said:
use adb sideload in Stock recovery
Sent from my KFFOWI using XDA Labs
Click to expand...
Click to collapse
Yuh, I used sideload AND IT WORKED!!
I also have a fire 5th generation. Does the same procedure work for that, assuming I use the proper 5.1.2 for that device: https://kindle-fire-updates.s3.amaz...ate-kindle-global-37.5.4.2_user_542168620.bin
wallywallywally said:
Yuh, I used sideload AND IT WORKED!!
I also have a fire 5th generation. Does the same procedure work for that, assuming I use the proper 5.1.2 for that device: https://kindle-fire-updates.s3.amaz...ate-kindle-global-37.5.4.2_user_542168620.bin
Click to expand...
Click to collapse
yes
Sent from my KFFOWI using XDA Labs
Confirmed, this procedure worked for Fire (5th generation), however the amazon update file is different (see a few posts back)
I just got a fire HD 6 (4th Gen) with the 4.5.2 OS.
Everything I see talks about 4.5.3 and later. I have not turned on wifi, so basically in a holding pattern for now. I want to root/twrp and maybe a custom rom.
Can some give me advice on the best path to take? Should I upgrade then root? Or root then upgrade? Any advice is appreciated.

App not installed. Package Conflicts

Hello!!
My phone is an S7 Edge with Android 7.0. I am trying to manually install updates from apps included in the stock, like the calendar, messages ... etc. However I can not do it because it gives me this error: " App not installed. The package conflicts cith an existing package by te same name".
Please, can someone help me with this?
Uninstall the app and install the newest. If you have still the problem try install over ADB. Then you can see package name with conflict and uninstall it.
Hi,
You're trying to install two apps with the same package name, in Android data system the apps you install have its data saved in a folder with the format /data/*package name*/, therefore if two apps use the exact same package name and have different signatures (that is, one is not the update of another) you won't be able to install it.
As suggested, try to uninstall the stock apps and then install again manually. However I do not think you'll be able to do it, due to the nature of stock apps being installed in system partition. So for manually installing an stock app you'll first need to uninstall it, and that usually requires superuser privileges.
All the best,
~Lord
Sent from my Galaxy S7 Edge using Tapatalk
XxLordxX said:
Hi,
You're trying to install two apps with the same package name, in Android data system the apps you install have its data saved in a folder with the format /data/*package name*/, therefore if two apps use the exact same package name and have different signatures (that is, one is not the update of another) you won't be able to install it.
As suggested, try to uninstall the stock apps and then install again manually. However I do not think you'll be able to do it, due to the nature of stock apps being installed in system partition. So for manually installing an stock app you'll first need to uninstall it, and that usually requires superuser privileges.
All the best,
~Lord
Sent from my Galaxy S7 Edge using Tapatalk
Click to expand...
Click to collapse
That is the answer I have searched for days. You know APKMIRROR right? I am on unrooted SM-G935F (s7 edge) and I was not able to install any system apps before. But in apkmirror, some people uploaded newer versions of system apps and there was one visible difference: older versions which I cannot install was with android head icon, but newer version had it's own app icon next to the name, and that installed for me. For example s8 launcher (touchwiz home). I always got package error when tried to download versions with android head, and when someone uploaded version with its own icon, it installed. Can you explain this?
And now im waiting for new versions of s8 weather widget because there is no version available with the app icons....
All you need to to to install Touchwiz 9.0 is to encript device, and afterward install will go smoothly (All other experience 9.0 apps can be installed too).(Samsung S6, Android 7.0, December security patch).

Downgrade system app on rooted device

I was trying to install older version of Game Launcher on my S8 as I noticed new version just add ad banner on the interface which I hate. I used Titanium Backup to manually uninstall Game Launcher and when I try to install older version APK I got this message "package conflicts with an existing package by the same name". Normally this messaage showed up when there is newer version of the app already installed on the device so it seen even after I uninstall latest version of the app. Anyone know is there to get around this issue without having to flash older stock rom?
henban89 said:
I was trying to install older version of Game Launcher on my S8 as I noticed new version just add ad banner on the interface which I hate. I used Titanium Backup to manually uninstall Game Launcher and when I try to install older version APK I got this message "package conflicts with an existing package by the same name". Normally this messaage showed up when there is newer version of the app already installed on the device so it seen even after I uninstall latest version of the app. Anyone know is there to get around this issue without having to flash older stock rom?
Click to expand...
Click to collapse
use a root explorer and remove the file folder as well in system
HoosierDaddy said:
use a root explorer and remove the file folder as well in system
Click to expand...
Click to collapse
I did that which there is not folder for Game Launcher.

[ROM][N][7.0][STOCK][G920W8][zerofltebmc/zerofltecan]SamStock November Patch (Lightly Debloated)[RE-PACK]

Original ROM: https://forum.xda-developers.com/t/...loat-7-0-920-5-w8-f-i-november-patch.3649798/
I removed several apps in the ROM including a very annoying DiagMonAgent app that caused it to continuously show popup notifications.
Here is a complete list of apps I removed from this ROM: http://dr.mywebcommunity.org/g920w8/debloat/20210831-samstock-debloat-results.html
My phone works super well with this setup.
Download information:
Location: androidfilehost.com
File name: 20210831-1914-sst05-safe.zip
File size: 1.4 Gb
Information
I did not include the AROMA options for different phone vendors so if you really need those files, please use original rom. I uploaded this rom for my peronal use and because I am trying to make a debloated rom and bring the size of the zip file back down to under 1 Gb but I have several issues with required apks causing bootloops. So for now, this is a fully functional re-packed rom. I do plan to re-pack the phone vendors in a futur aroma setup but for now, I am still struggling to debloat this rom entirely. I just needed a base stock rom with as little modification as possible and this is the only ROM I found to fit this category. I am fully opened to receive any kind of help or assistance. The goal is to change the ZIP file only through my Windows computer, change any files through Notepad++ if necessary.
If you want details of what has been done in the ROM, please refer to the original author's thread.
GOAL OF THIS RE-PACK
My goal is to keep the original system but remove every other useless things. I want to drop the ROM size to under 1 Gb. I want to remove all Samsung and Google apps that are not necessary for the system to work. If people want Google Play, I want to simply download it on Open GApps. Of course, for now, I have been unsuccessfully removing other apps and had several boot loops, this is the only package I managed to re-pack that has a successfull boot and work well with my needs.
Why use an old 7.0 version?
Honestly? Because everything! Bluetooth connection, camera, stability. Everything works. The only VERY annoying things I hate about v7.0 are:
PROBELM: Picture-in-Picture (PiP) mode does NOT work. Apps compatible with PiP will not display any PiP content such as floating video call windows.
SOLUTION: The only similar effect you can have is by enabling in the dev options the "Force activities to be resizable" at the very bottom. Then, in an app you want to have displayed in a floating window, tap on your "All apps" button and drag your app's window on the little square that says "Open in pop-up view".
PROBLEM: Dark modes for apps like GMail and the user interface is not supported unless you seriously start to tinker arround with very creative workarrounds I have not tested.
SOLUTION: I did not test any.
Kernel Source
The kernel supplied in this re-pack is the original kernel from SamStock's original package (G920W8) with no changes. Based off SamStock's thread which states:
Untouched. Completely stock out of the latest zip from sammobile.
Click to expand...
Click to collapse
So source is based off original Samsung Kernel Source.
ROOT Magisk
This rom is NOT ROOTED. I removed the outdated supplied Magisk from the original ROM since I prefer to use the latest available version that works without any issues. Just remember to rename the Magisk APK file's extension to ".zip" and flash after flashing this rom. I also use the original APK file to install after first boot because the zip only enables root access but the APK installs the Magisk manager app and enables the popup message to grant root permissions to apps. It is not a requirement since Magisk will download the app automatically when you try to open it the first time, but it just makes you spend less time waiting for the automatic download and installs the app immediately. Installing the APK manually will require a reboot.
AdAway
This is the goto app to remove annoying ads in almost all apps. ROOT is required. To install, head to ApkMirror and download version 4.3.6. That's the latest version that still works very well on Android v7.0. You will be required to do 2 reboots, one after installing the app and enabling adblock and one for updating the hosts file.
Google
You will have a long update list to go through your initial boot to update all apps from Google App Store INCLUDING the app store itself. Please pay attention to Google Services notification because you may need to manually update Google Services if it does not do it on it's own for apps to work such as GMail and other Google apps.
I suggest you disable the "upday" app which Google Update installs. I hate this app so much that I disable the notification, force stop AND disable the app. I have not found any solution yet to prevent this app from being installed.
XPosed Framework
You need the sdk24 version. It works and boots without any problems BUT, it's old and I found it to be pretty much useless. Some stuff such as the Dark mode for GMail module does not work anymore. So I do not recommend you to install XPosed unless you already are familiar with modules you want to use and already know that is working.
What I wil NOT do (unsupported models)
I own only the W8 version of the phone so any other models I cannot support. BUT, I can say this, you can refer to the debloated list above to remove the apps from the ZIP file and repackage the file yourself for your model by downloading the right version on the original author's mod page. As I mentioned, this is a safe debloat list where the phone successfully boots and setups.
I cannot test phone calls and SMS because I do not use this function on my phone. I use a SIP phone service through GrandStream Wave and VoIP.ms. So if you have any issues concerning phone calls or SMS, please comment or check the list of removed apps above and mention to me what is needed and I will post a new upload with the included package. While you may be waiting for my fix, I suggest you use the original author's files.
KNOWN ISSUES
You will need to install another launcher to be able to change wallpaper since I removed some of Samsung's core apps which were linked to the Samsung store including the wallpaper switcher. I recommend the Microsoft Launcher which is entirely free and has all the basic functions including notification dots and icon pack themes.
INSTALLATION
• Backup your system and files
• Boot in TWRP (Hold Volume Up+Home Button+Power Button)
• Format and advance wipe everything
• Install zip file
• Optional: Install Magisk (rename apk extension to zip)
• Reboot System
Stuck in a bootloop or unresponssive phone?
Hard reboot your phone by holding Volume Down+Home Button+Power Button. Once the screen goes black, immediately Hold Volume Up+Home Button+Power Button and you will be back in TWRP. If it fails, simply repeat the Volume Down hard reboot until you get the timing right with Volume Up afterwards. That's what I do and it works but hopefully, this should NOT happen because it does not on my end.
Permission: I requested month's ago permission from the author and never got an answer so I presume that the project is abandonned or not followed anymore. So if ever the author somehow has specific requests or want's me to remove this, I will do so without hesitating after contacting me through PM.
XDA DevDB Information
SamStock ROM Debloated, ROM for the Samsung Galaxy S6 G920W8
Contributors
Moiz Ahmed
Supported Model: SM-G920W8 ONLY
ROM OS Version: 7.0 Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Latest Modem and Bootloader
Based On: Samsung Stock / SamStock Rom (G920W8)
Version Information
Status: Stable
Stable Release Date: 2017-07-31
Created 2017-08-01
Last Updated 2017-12-25
Re-Pack Date: 2021-08-31

Categories

Resources