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

zouden

Senior Member
Jan 29, 2011
74
14
0
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.
I've also had the play store problem after installing your mini deodex patch a few days ago. But I just restored my /system backup and the play store immediately started working again. No need to wipe data. So that's something, for anyone else with this problem.

From looking in the Z3 Compact forum it seems like "debloating" the system can avoid the xposed bootloops, with no need to deodex, so maybe that's a way forward.
 

redincali

Senior Member
Jul 15, 2009
618
379
0
I was reading that same thing about debloating. That's why I was hoping the log might help to narrow down which app is actually causing the issue. It could be caused by an app that some people want to keep. I haven't thoroughly gone thru the logs yet.

~ via Xperia Z3, XDA App
 

zouden

Senior Member
Jan 29, 2011
74
14
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!
I made a diff of the two files, but that's not really needed - the interesting stuff is right at the end of the bootloop file:

( 1299): DexFile_isDexOptNeeded failed to open oat file '/data/dalvik-cache/arm/[email protected]@[email protected]@classes.dex' for file location '/data/app/com.linkedin.android-1/base.apk': Failed to open oat filename for reading: No such file or directory
I/art ( 1299): DexFile_isDexOptNeeded failed to open oat file '/data/app/com.linkedin.android-1/arm/base.odex' for file location '/data/app/com.linkedin.android-1/base.apk': Failed to open oat filename for reading: No such file or directory
So, is removing linkedin enough? I suspect that removing it will simply cause the phone to reboot with an error in a different app. But eventually we would get a list of the critical apps that need to be removed.

It wouldn't even take that long, if you can uninstall apps and retrieve this log file just using ADB in TWRP. Remove app, reboot, check log file, repeat. I don't really know how to do that myself but I'm hoping you do :)
 

redincali

Senior Member
Jul 15, 2009
618
379
0
Check this out.... I did a factory reset, flashed lp, recovery, deleted 49 apps from the system, installed xposed apk, flashed the xposed arm without any wipe, restarted, everythings working. The first time I did that, it wasn't a fresh install, but it worked. So I did a fresh one, as I just wrote and it still worked. Multiple reboots after xposed was running and I ran into no boot loops.

I created a flashable zip to remove those 49 apps. Im testing it right now. I just did a fresh install so now im waiting for the long first boot up. If it works, ill post the zip. Ill also post the apps I removed in case anyone wants to do it manually, because my zip might remove an app they want to keep. The only thing I didn't check yet was with modules installed and running. I will test that on this "hundredth xposed attempt"
 

zouden

Senior Member
Jan 29, 2011
74
14
0
Great, sounds promising!

I'm unsure whether those bootlogs are useful... the error messages about "failed to open oat file" also appear in your working bootlog, just with other apps (not linkedin). So the linkedin error might not be related to the bootloop.
 

redincali

Senior Member
Jul 15, 2009
618
379
0
Yea I gave up on the logs lol. Not good at debugging unless its for an app im writing myself. Anyways, heres all you need now! Under 500kb file. 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. Enjoy!!!

***Of course... By downloading and flashing this file you are accepting all 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 (optional because it automatically rebuilds on boot)
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 (optional because it automatically rebuilds on boot)
5. Reboot into system
6. Install xposed apk and your modules, reboot after enabling modules


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


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
 
Last edited:
  • Like
Reactions: Xandros97

redincali

Senior Member
Jul 15, 2009
618
379
0
Im getting boot loop again. lmfao. didn't do it until I restored apps from titanium. Not sure if that is the reason, if its a module that got restored and enabled, or if my debloat isn't enough...

edit:
So I did a lot of different things. Too many to write all out. The conclusion is that the problem was due to a module, Lolistat. I enabled one module at a time and that's the one it messed up on. I haven't ran it as an only module to determine if its a stand alone problem or because its conflicting with others. Either way, I can do without it, but not my others. So no Lolistat module, but the debloat is making everything else work!!
 
Last edited:

Eason85

Senior Member
Dec 7, 2012
354
48
0
Bangkok
Im getting boot loop again. lmfao. didn't do it until I restored apps from titanium. Not sure if that is the reason, if its a module that got restored and enabled, or if my debloat isn't enough...
Lol cheers for the effort. If I knew lollipop was going to be such a pain in the ass I'd have never installed it. :p
 
  • Like
Reactions: redincali

redincali

Senior Member
Jul 15, 2009
618
379
0
Lol cheers for the effort. If I knew lollipop was going to be such a pain in the ass I'd have never installed it. :p
I know right! I mainly wanted it for the way phone calls come in now when your using your phone. I can just swipe the call away from the top while I playing Order & Chaos without interrupting my game. It has to reload if it gets sent to the background, which is no good when you have other people relying on you in battle.

If someone could make a module for KK that makes the phone that way then I'd switch back. May be possible by modding KK's phone app... hmm ill have to look into trying to do that.
 

redincali

Senior Member
Jul 15, 2009
618
379
0
Woooowww I feel like an idiot sorta... Ive never seen it mentioned anywhere, unless its in xposed's support area, but you can disable Xposed by pressing either volume up or down once you see the "ANDROID" logo, after the Sony logo. Press the button several times until you feel a long vibration after the short ones. AFAIK, there is no option to re-enable xposed without manually deleting the 'disabled' file found in "/data/data/de.robv.android.xposed.installer/conf". This will stop a boot loop without having to clear the damn caches and waiting 10-15 minutes lol...
 

bubiselbst

New member
Mar 26, 2015
1
1
0
Works on z3c 5803 with German lollipop 690 firmware, rooted and dual recovery.

I already rebooted several times and had several modules activated: Gravity box and Cybershot xposed for example. Everything is working fine (except gravity box not doing what it should).

Started with rooted lollipop
Used byeselinux (and installed dual recovery)
Flashed your mini deodexed zip
Flashed xposed mod
Restarted
Installed xposed installer
... and that's it
 
  • Like
Reactions: ThePhoneSpecialist

redincali

Senior Member
Jul 15, 2009
618
379
0
Yea it should. I've had no issue so far. The reason that was happening was from the framework being deodexed. Even with a minimal deodex it would eventually show that messages in the store.

All this flashable does is remove 49 apps. Feel free to unzip and modify which apps it removes. Just be aware that its working with the current removal list. Modifying it may mean your not ridding the phone of the boot loop culprit app.

~ via Xperia Z3, XDA App
 

zouden

Senior Member
Jan 29, 2011
74
14
0
Nice! Trying it now.

Of the removed apps I only use Hangouts, Chrome and Keep. Do you think it's safe to reinstall them as user apps?
 

redincali

Senior Member
Jul 15, 2009
618
379
0
Nice! Trying it now.

Of the removed apps I only use Hangouts, Chrome and Keep. Do you think it's safe to reinstall them as user apps?
I would give it a try. I just did a manual debloat of ALL the unnecessary apps. All my modules are working flawless together now. 8 modules total. Im thinking one or more of the apps, that run invisibly, are the culprit of modules boot looping.

Kinda like how the Force FastScroll modules used to cause some apps to crash upon opening, so that app would need to be blacklisted in the module's settings. I'll post a list of what else I removed here shortly.

~ via Xperia Z3, XDA App