yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Android Development] starbucks2010:
No, my problem is that the SuperSU is not working correctly. I mean, I have root only if I put in SuperSU the Default access to Grant. If I put to Prompt I don't get the popup menu to grant or deny root access.

Thank you.
[Xperia Z3 Compact Android Development] ondrejvaroscak:
First, calling "my son" someone who can be your father is rather silly, second I don´t know why you take general remark personally. I did not mean you. It was a general comment and I IMHO think, that clearly distinguish flashable from general ZIPs would help some people. So take a deep breath or cold shower and dont take yourself so serious.

I indeed appreciate your work in debloating Z3 fw and getting Xposed to work. You can see yourself, from many posts in your thread, that there are many people who are not able to simply follow quite clear instructions and are getting themselves into bootloops and other trouble. My recommendation was meant to make one thing more stupid-proof.
[Xperia Z3 Compact Android Development] FcukBloat:
well immediately after I said I was failing in flashing a zip file you wrote "...but with all the kids here trying just flash everything they can...." so thought it was meant for me, sorry! and as you mentioned kids I spoke of sons :D
[Xperia Z3 Compact Android Development] ondrejvaroscak:
When I react on someone directly I mention or use quotes. I reacted (indirectly) on serajr. And amount of people here who cant get used to that not every zip is to be flashed in recovery is quite big, so thats why my proposal.
[Xperia Z3 Compact Android Development] s3bish:
So where to get a pre rooted .726?

Could you provide one?

Edit: Would it be enough when i have working Recovery and a rootet .690?
[Xperia Z3 Compact Android Development] Amr Nasser:
Important

Does This Just " Debloated " Not Deodexed ??
[Xperia Z3 Compact Android Development] ogunja:
Until the problem with Play Store is identified, there will be deodex for now.
[Xperia Z3 Compact Android Development] FcukBloat:
hi, I am trying to make a flashable zip to debloat automatically the FW for me after flashing it from recovery (inserting it as "extra zip" for PRF creator) but it seems it doesn't delete anything :(

I got the flashable zip from the forum (gapps minal thread) and modified it to just delete something else, but it doesn't work it seems... can someone with skills please check it and let me know why I can flash it with no errors, but apps are not deleted from system/app and system/priv-app? :fingers-crossed:

#!/sbin/sh
#
# /system/addon.d/74-brs.sh
#
. /tmp/backuptool.functions

list_files() {
cat <<EOF

EOF
}

case "$1" in
backup)
list_files | while read FILE DUMMY; do
backup_file $S/$FILE
done
;;
restore)
list_files | while read FILE REPLACEMENT; do
R=""
[ -n "$REPLACEMENT" ] && R="$S/$REPLACEMENT"
[ -f "$C/$S/$FILE" ] && restore_file $S/$FILE $R
done
;;
pre-backup)
# Stub
;;
post-backup)
# Stub
;;
pre-restore)
# Stub
;;
post-restore)
rm -rf /system/app/AnonymousData
rm -rf /system/app/AntHalService
rm -rf /system/app/Backup-Restore
[b][i][COLOR="Red"][....][/COLOR][/b][/i]
;;
esac
[Xperia Z3 Compact Android Development] ogunja:
I was also researching about it, to delete the apps making the job easier, but not sure gave the script used.
[Xperia Z3 Compact Android Development] Santos8913:
FW D5833 upgrade

I need pre- rooted FW D5833 , can be Kitkat 77 or Lollipop . A link so I download the Mega ?

:good:
[Xperia Z3 Compact Android Development] serajr:
Firstly you need to create a pre-rooted firmware with 23.1.A.0.726 ftf, SuperSU and DualRecovery and flash it (no matter over which fw you're on - LP or KK)! Later you can follow the steps to get your debloated rom!!
[Xperia Z3 Compact Android Development] serajr:
Try to change:

rm -rf /system/app/AnonymousData

To:

rm /system/app/AnonymousData

-rf means recursive folder (or forced)!
[Xperia Z3 Compact Android Development] spyvsspy:
it seems your flashable zip deletes play store and every google app.. after flashing it i have nothing ;/

what im i doing wrong ?
[Xperia Z3 Compact Android Development] acabreram:
how to deodex?

hi serajr, it's possible deodex with kamometool? or how did you deodexed? thanks!!!
[Xperia Z3 Compact Android Development] serajr:
No, in really, the script wipes whole app and priv-app folders, but all google related apps like play store are installed thereafter!!

Take the zip and give its contents a look, they're all there:

- Phonesky (Play Store)

- GmsCore (Google Services)

- Google...

- And so on...
[Xperia Z3 Compact Android Development] serajr:
Take a look at OP under

Credits

!
[Xperia Z3 Compact Android Development] FcukBloat:
yes it means recursively and force and actually i would like to delete recursively... i mean all those folders and all things inside them (apks, other folders, libs etc)

btw will try also the way you suggested thanks! :o
[Xperia Z3 Compact Android Development] sravanz:
Hi serajr.. after installation no playstore? Any help?
[Xperia Z3 Compact Android Development] serajr:
Something went wrong over there!

Play Store is within flashable zip... I really don't know what to do to help you!!!!

Take a look at OP's screenshots.
[Xperia Z3 Compact Android Development] ondrejvaroscak:
When creating prerooted ROM zip why you don't debloat it straight in the zip. You will streamline it, it will be less time consuming and nicer to flash. Including additional zip in prfc it makes it only bigger and more complicated as you first flash complete ROM, then script deletes what you don't need. Or worse script that deletes all apps and refreshes only those you want...
[Xperia Z3 Compact Android Development] FcukBloat:
you won't believe it, but that's exactly what I tried few hours ago! :o

I trimmed down system.ext4 from my linux machine following zxz0O0's instructions in his PRF thread before flashing and it worked, but I found a few small side effects:

1. I removed something like 800mb from system.ext4, but contrarily to what I expected the system.ext4 kept the exact same original size, so at the end even if it worked, and all the apps I debloated in the zip were not installed, the flashable zip was still about 1.4gb nevertheless.. I think that's because the system.ext4 file is like a "box" and even if you remove things from inside it, the dimension stays the same? (don't know other way to explain this sorry :p )

2. with this method, I can't really delete all the apps in my list, including the critical ones (keyboard, launcher, setup wizards etc) as doing like that in case of clean flashes I would have surely FCs during first boot and it wouldn't pass. so I would still need to split debloat process in two parts: one before flashing on the zip (not critical apks) and one later after first boot (critical apks) so I'm wondering if, also considering I am having problems with the debloat removal script, it wouldn't be better to just delete everything at once after first boot.... (even if for sure trimming the zip first would be a cleaner approach I agree! ;) )

bye!
[Xperia Z3 Compact Android Development] ondrejvaroscak:
Agree. Not aware of ext4 problem but sounds like container, even zipping it makes it probably smaller because of empty space compression... Two parts debloating is indeed necessary to remove setup and first run apps... Another idea of mine would be two part script that can run from shell. Before reboot freezing bloat and after reboot deleting it for good

Thus no need for recovery...

---------- Post added at 22:25 ---------- Previous post was at 21:42 ----------

stupido here, can you explain me what the case does in your script??
[Xperia Z3 Compact Android Development] FcukBloat:
dunno know.. as said i got a script made for gapps, that's not mine, and just tried modifying it to remove the apps I wanted.. but it doesn't work [emoji14]

i can only understand the last part actually (rm -rf etc etc) :o

i used this script with my previous phone running aosp based after flashing minimal gapps, to partially debloat the rom, and it worked. i wonder if the fact it doesn't work here now has something to do with the fact this stock fw is odexed.. or maybe when i tried it i didn't have r/w access enabled? will try more later on...
[Xperia Z3 Compact Android Development] ondrejvaroscak:
Ah, ok, so delete everything in your script and leave like this:

#!/sbin/sh
#
rm -rf /system/app/AnonymousData
rm -rf /system/app/AntHalService
rm -rf /system/app/Backup-Restore
[....]

exit 0

you had your commands in conditional (case), so they were actually never executed.
[Xperia Z3 Compact Android Development] ogunja:
Everything works great for me, which is driving me sad is that every reboot my device falls in bootlooping, have to enter the recovery and give wipes cache and dalvik to connect. Something is not perfect in Xposed ..

Someone with a light for that?
[Xperia Z3 Compact Android Development] FcukBloat:
great thanks will try later and report!

my suggestion is to debloat regular pre rooted fw... just debloating no bootloops at all here means, for me, the problem is not in xposed, but in sony's bloatware, or at least 50% - 50% [emoji14]
[Xperia Z3 Compact Android Development] ogunja:
I did debloat following list [MENTION=3989065]serajr[/MENTION], everything working like a charm, only realized this after the first reboot.

Edit...

If you did the debloat of your list [MENTION=4695495]moly82[/MENTION], would be more system apps though kkk.
[Xperia Z3 Compact Android Development] notabene:
It says that:

u0_a90@D5803:/ $ su

bbroot@D5803:/ # busybox

BusyBox v1.20.2-jb static (2012-11-25 17:47 +0100) multi-call binary.

Copyright (C) 1998-2012 Erik Andersen, Rob Landley, Denys Vlasenko

and others. Licensed under GPLv2. Merged for bionic by tpruvot@github

See source distribution for full notice.

Usage: busybox [function [arguments]...]

or: busybox --list

or: function [arguments]...

BusyBox is a multi-call binary that combines many common Unix

utilities into a single executable. Most people will create a

link to busybox for each function they wish to use and BusyBox

will act like whatever it was invoked as.

Currently defined functions:

[, [[, adjtimex, arp, ash, awk, base64, basename,

bbconfig, blkid, blockdev, brctl, bunzip2, bzcat,

bzip2, cal, cat, catv, chattr, chgrp, chmod, chown,

chroot, clear, cmp, comm, cp, cpio, crond, crontab,

cut, date, dc, dd, depmod, devmem, df, diff,

dirname, dmesg, dnsd, dos2unix, du, echo, ed,

egrep, env, expand, expr, false, fbsplash, fdisk,

fgrep, find, flash_lock, flash_unlock, flashcp,

flock, fold, free, freeramdisk, fsync, ftpget,

ftpput, fuser, getopt, grep, groups, gunzip, gzip,

halt, head, hexdump, id, ifconfig, inetd, insmod,

install, ionice, iostat, ip, kill, killall,

killall5, less, ln, losetup, ls, lsattr, lsmod,

lsof, lsusb, lzcat, lzma, lzop, lzopcat, man,

md5sum, mesg, mkdir, mkdosfs, mke2fs, mkfifo,

mkfs.ext2, mkfs.vfat, mknod, mkswap, mktemp,

modinfo, modprobe, more, mount, mountpoint, mpstat,

mv, nanddump, nandwrite, nbd-client, nc, netstat,

nice, nohup, nslookup, ntpd, od, patch, pgrep,

pidof, ping, pipe_progress, pkill, pmap, poweroff,

printenv, printf, ps, pstree, pwd, pwdx, rdev,

readlink, realpath, reboot, renice, reset, resize,

rev, rm, rmdir, rmmod, route, run-parts, rx, sed,

seq, setconsole, setserial, setsid, sh, sha1sum,

sha256sum, sha512sum, sleep, sort, split, stat,

strings, stty, sum, swapoff, swapon, sync, sysctl,

tac, tail, tar, taskset, tee, telnet, telnetd,

test, tftp, tftpd, time, timeout, top, touch, tr,

traceroute, true, ttysize, tune2fs, umount, uname,

uncompress, unexpand, uniq, unix2dos, unlzma,

unlzop, unxz, unzip, uptime, usleep, uudecode,

uuencode, vi, watch, wc, wget, which, whoami,

xargs, xz, xzcat, yes, zcat

root@D5803:/ #
[Xperia Z3 Compact Android Development] sxtester:
[MENTION=3989065]serajr[/MENTION]:

Thanks a ton, especially the list of removed APKs is highly valuable :)

However, I would have expected you to include/remove as well (or did I simply overlook some of them in your already long list?):

Anonymous Data_1.0.apk

Configuration Agent_1.0.apk

Enterprise Service_1.0.apk

my Xperia_0.0.A.0.71.apk

Social live_1.0.24.apk

What's New_1.2.A.0.6.apk

...

Just a suggestion to remove even more bloat :p
[Xperia Z3 Compact Android Development] serajr:
Thank you... Noted!

Sure we can remove them altogether! Removed list can be easily increased, and it will on next update, but for the first pack I preferred to leave some of them included.

[MENTION=4102242]Gustavo RD78[/MENTION]

Is CellInformationNotification.apk safe to remove?

More suggestion are welcome!
[Xperia Z3 Compact Android Development] Gustavo RD78:
extremely safe! ?

Sent from my Xperia Z3
[Xperia Z3 Compact Android Development] sxtester:
Sorry for asking , but what is that actually for?
[Xperia Z3 Compact Android Development] alekthefirst:
seems normal to me, nothing wrong with Busybox.
[Xperia Z3 Compact Android Development] notabene:
So what else should I try?

While I am trying to install xposed it says mount:permission denied (are you root?) it is impossible to mount system for write¨

but I have superSu installed, and root checker says I am rooted.. weird

GOT IT!!

Sony has a special in kernel protection that disallow remounting /system read-write, even for root. Flash this in recovery (copy it to the sdcard and reboot in recovery with volume UP pressed, then install it): https://github.com/dosomder/SonyRICD.../RICDefeat.zip
[Xperia Z3 Compact Android Development] charliebigpot:
Guys, sorry but I just don't get it - it says that I need a pre-rooted fw, but when looking at the last steps of the "how-to: root, keep, ..." thread, it says that I need to flash via flashtool the latest non-pre-rooted-fw.

Does that mean that instead of flashing the non-pre-rooted-fw I can flash the files from this thread or should I simply flash these files after completing all steps of the "how-to: root, keep.." guide?
[Xperia Z3 Compact Android Development] wars045:
nevermind
[Xperia Z3 Compact Android Development] mrrflagg:
Thanks to you [MENTION=3989065]serajr[/MENTION] for you works, I have also used your xposed modules to tweak my Z3.

I dirty flashed and it was no problem for me. Just make a backup first.

One thing I noticed was how many apps there are on this this, first reboot after flash it came up with the optimising apps and there are over 200!! My HOX with slimkat had only 120 at most so there must be more that could be safely removed?
[Xperia Z3 Compact Android Development] serajr:
The step you're afraid of can be skipped if your pre-rooted firmware flashable includes whole ftf contents.

Take a look at here for simplified instructions! ;)

Thank you!

"Optimising apps" screen shows you not just apps being optimised, but entire system core files: apps (*.apk) and framework files (*.jar).

There are some others apps that can also safely be removed, see them one or two pages ago!
[Xperia Z3 Compact Android Development] charliebigpot:
I flashed a pre-rooted firmware that should include the whole ftf contents (donwloaded at step 26 here ) but with that I don't have wifi, and neither the external memory is recognised. I'll try the whole process again.
[Xperia Z3 Compact Android Development] serajr:
It's not a painful process to flash .77 fw ftf, ofc excluding SYSTEM, so why not to do it? Just do it! ;)
[Xperia Z3 Compact Android Development] charliebigpot:
Definitely not painful, I just saw that the how-to thread got updated ;) I'll flash the .77 fw ftf and then finally I'll be able to enjoy your work too :)
[Xperia Z3 Compact Android Development] exnokiafan:
Wow! A debloated rom is always welcome!!! How does the phone behave after flashing this one?

And sorry for the ot: how can de-bloat my stock rom after getting root? :)
[Xperia Z3 Compact Android Development] charliebigpot:
1. It's not a rom, it's the system core ;)

2. The phone feels definitely snappier + you also free internal space

3. To de-bloat the stock rom you either flash this or you can use root explorer (or similar) and read the first post of this thread on where to find the bloat-apps ;)
[Xperia Z3 Compact Android Development] serajr:
Exactly... thanks for support buddy! ;)
[Xperia Z3 Compact Android Development] charliebigpot:
[MENTION=3989065]serajr[/MENTION], maybe you can add to the instructions that if despite flashing your zip nothing changes you need to first flash this from the general thread by [MENTION=2851630]bilboa1[/MENTION].

;)
[Xperia Z3 Compact Android Development] serajr:
Thanks again...

See OP requirements last line:

Do you prefer a better approach about it?
[Xperia Z3 Compact Android Development] charliebigpot:
Maybe you can post the link to that zip to fix r/w so that people don't start asking where/how to make the system mountable as r/w - or maybe I'm just underestimating people ;)
[Xperia Z3 Compact Android Development] juanpirulo:
well i dont know how you do it on Linux machine, but this is how i do it. with sudo su command i mount system.ext4 and open window with nautilus, delete files or folders, but everything deleted is keept in a invisible .trashcan folder inside system so you have to ctrl +h to see the invisible folder and delete as well. I dont know if this is the reason why your dimensión stays the same. After that you have to unmount the system to get the system.ext4 updated. Sorry if its not cleared enoght my explanation. cheers.
[Xperia Z3 Compact Android Development] FcukBloat:
[MENTION=4716941]ogunja[/MENTION]: so maybe the problem is in one or more apk(s) not present in serajr list but present in mine.. in fact i never had bootloops. that would maybe simplify a little in discovering what is really generating bootloops..! but for that i would need to know exactly what are all the apks deleted by serajr in his zip
[Xperia Z3 Compact Android Development] ogunja:
The list is in Op friend, deleted all apps that list.
[Xperia Z3 Compact Android Development] FcukBloat:
yes that exactly what i did except for the trash thing [emoji14]

omg if that is the reason why my size stays the same is a shame lol! but if for you the dimension is reduced that's surely the reason! i thought unmounting system there wouldn't be residuals inside it but, eventually, only inside regular OS trash!

but i did everything very quickly today well will try this too later tonight thanks!! :o if i can reduce size this way than pre-trimming will become again a good option! :o
[Xperia Z3 Compact Android Development] luminoso:
Flashed Debloated_Rooted_23.1.A.0.726.zip after flashing 23.1.A.0.726 and everything went smoothly!

Xposed working, Play Store working!

Thank you so much. Keep up the good work!
[Xperia Z3 Compact Android Development] serajr:
Thank you for ur feedback!!
[Xperia Z3 Compact Android Development] FcukBloat:
ah ok wasn't sure if it was up to date, as recently someone reported not all apps in list were really deleted if I am right.. will maybe try to compare them later if I get some time, because my list is pretty bigger so won't be that easy :p
[Xperia Z3 Compact Android Development] ogunja:
True, your list this very large, tested in another FW my parents and it worked perfectly, but in FW I was I did not have apps on Play Store. I made the base using the Dangeous Hunter 5.
[Xperia Z3 Compact Android Development] FcukBloat:
so I think you probably messed up your fw with some mix you did ;)

btw I am trying now latest recovery by nut to see if it can be included in pre rooted fw! :o
[Xperia Z3 Compact Android Development] ogunja:
There I installed from scratch.

93

root

recovery

flash zip my country BR stock odex.

wipe dalvik and cache

reboot

fix recovery for access

nandroid full backup

install Xposed flashzip

wipe cache and dalvik

install apk Xposed and gravitbox to test

reboot

I using normal thereafter.

goes shopping, and when I came installed another apk Xposed youtube Adway

reboot and has already bootlooping

I entered the recovery and did wipe cache and dalvik

enjoy.

now restored my full backup and reboot

enjoy again.

I debloated on your list and reboot again

enjoy

I am now doing full backup nandroid

Flash Zip Xposed and install apk again

bootlooping again

Xposed deactivated serajr supersu and nothing permenece in bootlooping

Xposed tired for now

I will restore my nandroid
[Xperia Z3 Compact Android Development] FcukBloat:
at last I made it :) it was a little more difficult, a lot of syntax errors and most important I was working on the wrong file at the beginning my gosh!! :( :p :D

pretty dumb spent almost all the night for such an easy script but well finally got the bloatware removal script working for my list of apps, will add it in the other thread if someone is interested can grab it and modify as he wish! this way it will be very easy procedure: flash pre-rooted stock fw, do first boot and then automatic debloat from recovery and flash xposed :o
[Xperia Z3 Compact Android Development] chikrron:
Hi bro, how did you get ok this fw?

Could you tell me the steps that you do it?

I get bootloop again and again :(

Please help! thanks
[Xperia Z3 Compact Android Development] ondrejvaroscak:
The most important steps are :

1. Read the forums

2. Search the forums

3. Follow instructions precisely

4. Have idea what you actually do

5. Learn from own mistakes

6. Respect work and time of others
[Xperia Z3 Compact Android Development] spyvsspy:
Can you share the script?
[Xperia Z3 Compact Android Development] gibihr:
I have been trying and trying and now I am finally getting play Store and all apps working, thanks [MENTION=3989065]serajr[/MENTION]! The only thing I am still observing - sorry if I maybe lost it somewhere in the thread - is that every time i install a new module, phone bootloops. But only then. Resolved it wiping caches. All the other reboots go fine. I have some apps reinstalled, such as the gmail app for example.
[Xperia Z3 Compact Android Development] FcukBloat:
Here in OP ;)
[Xperia Z3 Compact Android Development] s3bish:
I am in process of creating my own, pre rooted germany telekom stockrom incl. recovery and su.

I will provide feedback, if the email and notification issues are fixed.
[Xperia Z3 Compact Android Development] ondrejvaroscak:
This zip is not a rom. It's only script that removes apps listed in OP. It is designed for 726 so for 690 you may need to check correct folder names..
[Xperia Z3 Compact Android Development] E66666666:
Can you leave the .690 flashable in the OP so we may choose versions?
[Xperia Z3 Compact Android Development] notabene:
I have to say, that this LP version of ROM, combined with xposed and gravity box, has made my phone superb! I don't have to upgrade for Long time. Everything working very Well!
[Xperia Z3 Compact Android Development] spyvsspy:
it worked perfectly!

but it also deleted my xperia keyboard (which i personally prefer) and i cant seem to find the package name in the script, you know its name ?
[Xperia Z3 Compact Android Development] FcukBloat:
OT here please write in the other thread ;)

Btw in OP there > hidden boxes you'll find information
[Xperia Z3 Compact Android Development] Depump:
i have a question

if i create rom via PRFCreator with super su and recovery 2.8.7

and use byeselinux and SGP621-RICDefeat

Can i install xposed without debloat rom or it need debloat rom ?
[Xperia Z3 Compact Android Development] :
Superuser

will this superuser mod apk work with .690 odexed debloated(with working xposed) ?? :)
[Xperia Z3 Compact Android Development] Hani88:
I just want to make the xposed works on my lollipop odexed Z3 without any bootloop... is there an easier way to do it ?? :)