[LP][23.1.A.0.690][LB/UB] Mini/Full Debloat Flashable [Xposed, Play Store, No FC's]

redincali

Senior Member
Jul 15, 2009
618
379
0
This is my attempt to help those who are on Lollipop and want Xposed working while not having any FC's. This also keeps the Play Store working. No "Your device is not compatible with this version" message in the store. I made 2 versions. One that removes the stock keyboard, one that doesn't. Also, if you don't want to remove the priv-apps, you can delete it from the zip by opening it with 7zip. I say this because I messed up the script and it only deleted files from /system/app but still booted fine. Also booted fine multiple times after, without having to clear cache. The file is only 500kb. Enjoy!!!

My phone is the Z3(6603), running LP(23.1.A.0.690), US Version, Locked Bootloader.

This should work for anyone using the same LP version on the Z series, but no guarantees since I only have the 6603 Z3 model.


Requirements:
Lollipop (23.1.A.0.690)
TWRP Recovery

Downloads:
z3_mini_debloat_for_xposed_no_kb**this WILL remove the stock keyboard, be sure to have an alternative installed
z3_mini_debloat_for_xposed_with_kb**this will NOT delete the stock keyboard

(added 5/17/15)
Z3_Full_Debloat_no_kb**this WILL remove the stock keyboard, be sure to have an alternative installed

Xposed Files
UPDATE-SuperSU-v2.46.zip



**BACKUP BEFORE ATTEMPTING**
**I ASSUME NO RESPONSIBILITY**
**FLASH AT YOUR OWN RISK**


How to (fresh install):
1. Backup (I cannot express this enough)
2. Do a full wipe
3. Flash a prerooted LP
4. Reboot into system
5. Run byeselinux for recovery fix
6. Let it reboot into system
(INSTALL A KEYBOARD AT THIS POINT, IF USING THE NO KEYBOARD VERSION)
7. Reboot into recovery
8. Flash one of the zips below (do not reboot)
9. Flash xposed arm
10. Clear cache and dalvik-cache
11. Reboot into system
12. Install xposed apk and your modules, reboot after enabling modules

How to (dirty install):
(INSTALL A KEYBOARD, IF USING THE NO KEYBOARD VERSION)
1. Backup (I cannot express this enough)
2. Flash one of the zips below (do not reboot)
3. Flash xposed arm
4. Clear cache and dalvik-cache
5. Reboot into system
6. Install xposed apk and your modules, reboot after enabling modules

Known Issues
1. Some modules will cause boot loops. I recommend enabling one at a time and rebooting after each one. Start with the modules you want the most, first.

Bootloop fix for bad module besides a cache clear:
When you see the "ANDROID" logo after the Sony logo, press Volume Down or Up repeatedly, and fast, until you feel a long vibrate after the short ones. This disables the xposed from running its framework. I just figured this out by accident. So as far as I know, the only way to re-enable it is to navigate to "/data/data/de.robv.android.xposed.installer/conf" and delete the disable file. Just be sure to disable the module from the xposed app afterwards.

Not Working Modules:
None are giving me an issue with boot loops. However, this is because of the full debloat. Doing the mini will cause random modules to cause boot loops.

View the apps that are removed...

Mini Version:

files removed from "/system/app"

AnonymousData
Books
Chrome
com.sonyericsson.xhs
com.sonymobile.xperialounge.services
Drive
EditorsDocs
EnchantedForest
ExperienceFlow2LiveWallpaper
ExternalKeyboardJP (Only in the no keyboard zip)
ExternalKeyboardsInternational(Only in the no keyboard zip)
Hangouts
HoloSpiralWallpaper
Keep
Lifelog-googlePreloadLive-release-2.4.P.1.4
Music2
NewsWeather
Newsstand
PlayGames
PlusOne
SomcPOBox(Only in the no keyboard zip)
SonyEntrance
talkback
textinput-chn(Only in the no keyboard zip)
textinput-tng(Only in the no keyboard zip)
Videos
WeatherWidget-release
WikipediaPlugin
WorldClockWidget-release
YouTubeKaraokePlugin


files removed from "/system/priv-app"

CivilAlerts
com.bambuser.sociallive
Exchange2
FBCalendarSync
filecommander
GoogleBackupTransport
helpapp
MyXperia
retaildemo
SEMCFacebookProxy
SOMCTwitterAccount
SemcEmail
SocialEngineCore
SocialEngineFacebookPlugin
SocialEnginePicasaPlugin
SomcPodcast
SonyEntrance2
TagGoogle
youtubelive

Full Version (not listed, but also includes all from mini):
/system/app

BasicDreams
CityIdPermission
CrashMonitor
CrashMonitorSystem
cover-widget
DeviceConfigTool
DrmDialogs
DrmUI
DualShockManager
FaceLock
Galaxy4
GoogleLyricsPlugin
GoogleTTS
Initial-boot-setup
IntelligentBacklight
IntelligentRotation
KeyChain
NoiseField
PartnerBookmarksProvider
PhaseBeam
PhotoSlideshow
PhotoTable
PhotoWidget-release
RecommendationEngineExtension
RemoteControlService
SemcMetadataCleanup
SemcSimDetection
SemcWarrantyTime
sneiaccountmanager
Tasks
TopContactsWidget-release
UnsupportedHeadsetNotifier
VisualizationWallpapers
WirelessControllerManagerService
YouTubePlugin

/system/priv-app

AndroidForWork
BackupRestoreConfirmation
CoverApp
EnterpriseService
InputDevices
livewaremanager
OMAClientProvisioning
ReadyToRun
SEMCSetupWizard
SimlockUnlockApp
SmartcardService
SnpVUStore
SomcMirrorLinkManualSwitch
SomcMirrorLinkServer
SomcMirrorLinkSystem
SomcMovieCreator
SomcPhotoAnalyzer
SomcPlayAnywhere
SomcSeamlessTethering
SomcWifiDisplay
UpdateCenter
usb-mtp-backup-transport
usb-mtp-factoryreset-wrapper
usb-mtp-marlin-wrapper
usb-mtp-update-wrapper
usb-mtp-vendor-extension-service
Velvet
VoiceDialer
VpnDialogs


Save a comment by hitting thanks, if this helped, instead of commenting a "thank you". It will help keep the thread clean. Thanks =)
 
Last edited:

redincali

Senior Member
Jul 15, 2009
618
379
0
Working Xposed Modules:(tested and verified)

GravityBox for LP (see note 1)
Battery History XXL
Burnt Toast



Bugs/Notes for modules:
1. GB[LP] - recent apps key invisible when using navbar features
 
Last edited:
  • Like
Reactions: GoDExtremE

hzr34

Senior Member
Jan 5, 2012
436
28
58
Istanbul
Did you have a stock version of LP before attempting? Was the xposed apk installed before flashing my file? Did you follow the steps exactly? I'm not on Baltic myself but a few posts back, a Baltic user said it was working for them.

Also, I created a thread here for my deodex. Please post any questions/problems there. Thank you
@redincali

I am on pre-rooted ..BAL.690 and I am using exposed with byeselinux patch but when I reboot my phone I stuck bootloop.
Now if I will install your zip am I relies to bootloop?

Edit: I flash @redinvali Zip's on to BAL.690 Pre rooted ROM and bomm everything like a old days. Thanks bro.
 
Last edited:

redincali

Senior Member
Jul 15, 2009
618
379
0
Are you on a bootloop from my file or from using a different one? Mine hasn't caused any bootloop issues for me.

Im about to do my phone again from a factory reset to see if theres any issues. My Play store was working but now isn't. I think its due to me flashing LP without a reset, only cleared caches. I'll post results when my phone is back up.

~ via Xperia Z3, XDA App
 

redincali

Senior Member
Jul 15, 2009
618
379
0
Ok so I'm back from a factory reset. Everything is working, xposed & play store. I checked the store after every reboot to make sure there was no "your device its not compatible" message. This is how I did it...

1. Backed up all my apps with titanium
2. Booted into recovery and did factory reset
3. Flashed a prerooted LP
4. Rebooted into android
5. Went thru initial setup and signed into google (to check store for message)
6. Ran byeselinux (which restarts automatically)
7. Checked Play Store, was ok
8. Installed the Xposed apk
9. Reboot into recovery
10. Flashed mini deodex, xposed fw, & super su zips
11. Cleared cache & dalvik cache
12. Reboot into system
13. Checked Play Store, was ok
14. Rebooted and checked Play Store, was ok (2 time to be sure)
15. Restored apps with Titanium
16. Rebooted and checked Play Store, was ok
17. Enabled all my modules
18. Rebooted and checked Play Store, was ok and all modules running

So if your trying to flash this over an existing system that has been altered already, to get xposed working, then you may experience issues. I recommended backing up your apps, doing a factory reset, reflash your prerooted LP, then follow the steps in OP.

WARNING: BE SURE TO RUN "byeselinux" AFTER A FRESH INSTALL OF PREROOTED LOLLIPOP OR YOUR RECOVERY WILL STAY BROKEN


I didn't have the issue with the Play store before until I started debloating my system. Im going to do it now while checking the Play store to see if removing a specific app causes the issue.

~ via Xperia Z3, XDA App
 
Last edited:
  • Like
Reactions: ogunja

redincali

Senior Member
Jul 15, 2009
618
379
0
It seems my store is showing the message again... I haven't touched anything and it was working before my last post. I checked it again to be sure, before debloating, and there it was. So I'm back to trying to figure it out :-/

~ via Xperia Z3, XDA App

Edit:

Disabling all the modules in xposed did not remove the message from the Play Store. I just flashed the mini deodex again. Currently waiting on it to finish optimizing the apps. Then I'll remove the rest of the xposed framework files manually, if the Play Store is still showing the message. So I can determine if the framework for xposed is causing the issue or if its the deodexing causing it. I will figure it out ;)
 
Last edited:

russell664

Senior Member
Dec 2, 2010
1,342
2,352
0
25
Somewhere you can't imagine...
Great work with the ROM buddy.

Just a quick one, I am wanting to debloat my system. What are the safest apps to delete, or are the ones you listed on the first post still good to delete?

Also in regards to the error message in the play store, I used to develop ROMs for HTC devices, and deodexing the ROM caused this same issuer, bearing mind this was on ICS but still.
If you need any help, feel free to PM me. :)
 

redincali

Senior Member
Jul 15, 2009
618
379
0
Great work with the ROM buddy.

Just a quick one, I am wanting to debloat my system. What are the safest apps to delete, or are the ones you listed on the first post still good to delete?

Also in regards to the error message in the play store, I used to develop ROMs for HTC devices, and deodexing the ROM caused this same issuer, bearing mind this was on ICS but still.
If you need any help, feel free to PM me. :)
Thank you. I just wish it was working correctly. Thanks for the info about the deodexing. I never had that issue on KK and never used a deodexed version of ICS. As for the apps to remove, I'll post a list of what I removed without causing any FC's (other than the one you get for deleting the apk because it was running in the background).

I just manually removed xposed, restoring the orig files, and it caused a boot loop. Even though I did clear the cache and dalvik. So I flashed the prerooted LP again without a data wipe. Waiting for it to finish booting though app optimization right now.


Edit:

I can confirm that flashing a prerooted LP without a factory reset will not restore your Play Store. The message WILL still be there, even with a cache clear. Will perform a full wipe when I am back from the store and then try to slim the firmware deodex down and see if I can do it without losing the Play Store while still maintaining the use of Xposed.
 
Last edited:

redincali

Senior Member
Jul 15, 2009
618
379
0
Still no luck... I was able to get xposed running but was requiring a cache clear before each boot or else a boot loop would occur. Ill keep everyone posted on the situation if I'm able to fix it.
 

redincali

Senior Member
Jul 15, 2009
618
379
0
Just to confirm then mate, is it safe to flash this or not?
I wouldn't unless u want the message in the app store to say "Your device is not compatible with this version". There are other markets so you can always install them if you want to use this. I may do that for the time being because I enjoy having GravityBox features. Almost any app can be found elsewhere besides the Play Store. Ill update OP to let others know
 
  • Like
Reactions: Eason85

Norup58

Senior Member
Jan 2, 2015
269
107
73
I would not write your 'My Flashable' off so easily...it worked for me :) Was suffering from the Xposed bootloop and now its gone. Alls back to normal.
My setup (Sony Z3C):
Came from rooted KK 5.77.
Flashed pre-rooted Lollipop with R/W enabled, based on CE1
Ran 'Byeselinux' for recovery
Flashed 'Xposed.zip'
Installed 'Xposed alpha2'
Resulting in the boot loop.
Followed your guide:
Flashed the 3 files, wipe cache/ Dalvik chache & reboot.
Tested by d/l-ing app from Playstore, installed Amplify from Xposed and all is ok :) and using Debloater by @gatesjunior to block/freeze apps.

PS: @hzr34 actually said it worked for him in a earlier post, thats why I gave it a try.
 
Last edited:
  • Like
Reactions: redincali

redincali

Senior Member
Jul 15, 2009
618
379
0
Thanks :thumbup:. I'm using it as well. Since my last fresh install, I haven't had the play store issue. Been checking it periodically to see and still no issues (fb messenger was saying not compatible).

~ via Xperia Z3, XDA App

I've been doing some research and I've got a few ideas I'll try tomorrow. They should help narrow down the boot loop caused when installing xposed on a fully stock odex LP rom. Off to bed for now tho, 3am =)
 
Last edited:

redincali

Senior Member
Jul 15, 2009
618
379
0
Ok, so I did a factory reset and flashed the prerooted LP again. Did the normal stuff for recovery then installed LiveBoot, so I could log the boot even if it crashes. So I installed xposed and got a log from the boot loop it created. Im going to go through it now and see if I can figure out whats causing the boot loop when installing xposed on an odex LP. If anyone else is interested and/or is better at detecting problems from logs, I've uploaded em HERE in a zip. One log is a working boot log, the other is the boot loop version. The only difference, besides the boot loop, is that the working log was from when i had xposed working on my deodex mini version. I hope this helps!