yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Sure, you don't have to flash SuperSU, you can replace it with Magisk ;)

I am currently working on a flashable debloated stock ROM. Now that you bring up that you personally use Magisk, I will not include SuperSU on the flashable ROM :)

I don't know when I'll have it ready, I'm still trying to figure out what goes where but right now I have a 60% advance on it :)
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] d_g_m_2000:
really great news to start the year.

send you the best mate!
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] 01user10:
thank u for the script

i tried flashing the gallery zip , but my gallery force closing even after giving it all the permission
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Download Titanium Backup and wipe data. Or flash zip via TWRP and wipe dalvik/cache
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
I just re-installed it and now it doesn't work for some reason. I installed it when I uploaded it for the first time and it had worked. I'll look in to it and re-upload it when I'e gotten it to work again
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
I can't seem to be able to get it running again. I will eliminate Samsung Gallery from the script. You'll have to re-flash stock via Odin to get it back, unfortunately :/

Sorry for that, I will still try my best to get it to work again
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Sorry to disappoint but I don't think I will be able to create a debloated zip ROM.

I thought it would be as easy as making a script unpack everything in /system, but it turns out that you need to give permissions to a lot of folders and apps located in /system.

For beginners like me, it's an absolute pain to give permissions to every single file located in /system.

There are programs to make this easier like ASSAYYED's kitchen

But my PC detects it as malware and I can't deactivate this PC's anti-virus because it is not mine

Sorry, all I can do is modify this script I guess, it's my best attempt to debloat our device
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] d_g_m_2000:
Don't worry bro, with your scrip it's already done the job that we all need.

thanks for your hard work and keep this device alive!.

BTW, i mess with the system with (titanium backup) and now i can't activate the "max" option of battery saver in

device maintenance

. do you have the apk so i can reinstall it?

because in internet it's only avaible for nougat or higher (sammobile or apkmirror).

thanks in advance for your help.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Do you need the device maintenance apk? Would you happen to know what it's called in system/app or system/priv-app?

I can't find it lol
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] d_g_m_2000:
i don't really, but the name in sammobile or apkmirror when i download it says: com.samsung.android.lool_1.x.x.x.apk
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
I recommend just reflashing stock :/

I couldn't find it

I am updating the script so that it'll do the factory reset itself so that way all you would have to do is flash it via TWRP to get the debloated ROM. It is the closest I am going to get to actually getting a "Debloated flashable ROM"
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] 01user10:
Not a big problem, Thank you

just searched for another secgallery2015 and put it into priv-app:good:
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Sorry about that, it seems that the secgallery2015 that I uploaded is based on "G532MUMU1AQJ1" firmware. When I flashed it (for the first time) I didn't have any problems since I was using that firmware.

But the second time I tried it, I had flashed "G532MUMU1AQL3" firmware and when I tried it, Gallery kept crashing. There might be a slight difference between what the gallery's name is and how it's manifested, which is why it was crashing. I don't know much about coding so I didn't understand anything the logcat was throwing at me :/ but that's my first guess

I have updated my guide and script to keep Samsung Gallery to avoid this problem Dx

Sorry to make you work so much looking for Samsung Gallery :/
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Update 24/01/18

Guide updated! The script will now do everything for you (format data and wipe cache/dalvik-cache) :o

All you have to do is flash it like you would flash any ROM :highfive:

It is unrooted, so root with any app you want. Flashing ashyx's file to remove encryption is still recommended
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] d_g_m_2000:
hello OP.

do you have de "SMusicPicker" and "SoundAlive_41". i do use them.

thanks again for your script... it really blow away the useless stuff
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Let me upload them and will let you know when they are done
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Done, you can find the flashable zip files in post # 2

Please let me know if they work
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] d_g_m_2000:
thanks for the help... unfortunately it keep chrashing (from settings or samsung music app).. again.. great script OP.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Aldo Tapullima:
Thanks, it has helped me a lot. The only thing I want is the "HybridRadio_M" to be able to install it through the TWRP, since I work at dawn and I really need it :)

Thank you :good:
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Sorry to hear that. Unfortunately, until I learn how to successfully install an app to priv-app, these apps will remain missing :/

I am searching post all the time to try to install those apps. Until I learn how to do it correctly, the zips won't work :/
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Sorry, for now I can't upload any more zips. It seems that some (if not all) the apps I am adding are only usable in the specific firmware versions and are crashing on others. Until I get this figured out, I will not be uploading more zip files
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Here's what I did.

I deleted the Gallery app and tried the zip to add it back again and it crashed. The Gallery app I added in the zip is what I extracted of the "G532MUMU1AQJ1" firmware. I am now in "G532MUMU1AQL3" firmware. When I tried it, it kept crashing.

However,

When I replaced the SecGallery2015 folder with what I extracted of the AQL3 firmware, and flashed it on my AQL3 firmware, it didn't crash anymore and Gallery was working great again!

So yes, this confirms my suspicion that the zips I am adding are firmware specific, that is why it is crashing on other people's phones that probably have different firmwares

I am still investigating what can I do to make these apps universal between us J2 Prime users, but until then I can't do anything about it
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] d_g_m_2000:
ahhh wayusei!! wayusei!!

i edit your script (with notepad) and deletes the lines of the apps that i need.. rezip it and redo everything to see if it work... thanks again for your help and wish me luck xD
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
First flash stock to get all the apps back :)
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Good news guys! I found a way to combine my script and add S8 Launcher, S8 icons and status bar at the same time

I might upload it over the weekend, I'm testing it as we speak ;)

I have to make sure what the bugs are and how to install it because I've had unsuccessfull flashes too

Will try to upload it asap :D
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Tayfun6714:
Can you record video for this ? Because i don't understand very well. :(
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
I don't have a camera lol

But if you are stuck in any step let me know and I will assist you

I log in every day
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] d_g_m_2000:
hello OP, maybe you can help me.

i want to disable, turn off, erase, hide, etc; the clock on the lockscreen... but settings does not have that option on "display" "lock screen and security" or "accessibility".

do you have any idea where or how can eliminate that hideous clock-widget on lock screen? maybe it can be debloat

or maybe you can show me the directions to made it possible.

thanks in advance for your comments...
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] apbucaneg:
I'm having problem with the root

I flashed SuperSU, but it doesn't root my phone, SuperSU isn't installed
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
1. What SuperSU file did you flash?

2. Were you rooted before you tried this?

3. Do you have the SuperSU app installed?
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] apbucaneg:
1. SR5-SuperSU-v2.82-SR5-20171001224502.zip

2. yes

3. i was rooted before patching, so SuperSU app was intstalled, after patching, the app was gone. tried installing from play store, says my phone isn't rooted.

I guess I'll just install my stock rom, then patch again, cause although apps were uninstalled, my storage space didn't increase, still ~300MB left of the 8GB
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Well, do what you have to do :)

Just one small problem, though. My script does not clean storage space if you already have your phone set up, that is why I always recommend using the script that factory resets your phone.

Let me try to explain a little

The real problem with the J2 Prime is that bloatware apps take too much space when they update. These apps store their information on the /data partition. My script only eliminates the apps from the /system partition.

/system partition: Where everything related to what your phone needs to run is stored

/data partition: Is where the apps store all their information (updates, downloads, etc...). When you factory reset, this is the only partition that gets wiped and your /system partition gets untouched

My script focuses on eliminating the apps from the /system partition, it does NOT eliminate the updates from the /data partition

So let's say I eliminate Microsoft Word from /system after you have already updated it with Playstore. I eliminate the apk from /system, but all the update space it has already used up is stored in /data, that is why my script had little to no effect on you

That is I will always always ALWAYS recommend using "DEBLOAT_J2_Prime_FactoryReset", because it will wipe your /data partition (aka, factory reset) and eliminate your bloatware apps from /system before giving them the chance to download their updates and start taking precious system space.

Then you root flashing the zip and it should be good to go

But it's your decision :o
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] apbucaneg:
i did use the one that factory resets the phone
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Can you give me your phone's model and firmware version you are running?

It may have bloatware that I did not account for since I based this script on firmware with very little bloat to begin with
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] apbucaneg:
sm-g532g

G532GDXU1AQI2

it's the latest release for sm-g532g for open line models in the PH
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Thanks, I will look into it!

Were you running stock when you tried this MOD?

Also, when you factory reset using Odin, and without updating anything and without any accounts or anything, how much free space to you begin with?
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] apbucaneg:
i was running a rooted stock rom (does that still count as a stock rom?)

I can't remember how much memory it originally had, internet is slow and i'm still downloading the stock rom, so maybe i'll be able to answer in a few hours
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Sorry to bother you, but can I ask you a big favor? Can you try my script after you factory reset with Odin and install TWRP before the first boot?

If it doesn't work then you can re-install stock using Odin.

Sorry for messing up your phone, I was confident that this would work in any stock ROM. I will work on my script this weekend and turn it to a full debloated ROM to avoid problems like these
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] apbucaneg:
yeah sure, but maybe later, in a few hours cause it's around 2am here and i need to get some sleep haha

earliest i can update you is in about 7 hours.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Thanks, yeah no problem :)

Sleep well
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] apbucaneg:
couldn't sleep so waited for the download to finish haha

after i installed the stock rom i did the instructions again, freed space (oh yesss) but no root, so i just went into TWRP again and just did the root steps, rebooted and it was rooted :D

i want to try the one with the S8 launcher, will i have to install stock again? (i think yes, but i just want to confirm it)
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
It is not necessary :)

You can install it directly but if you want you can install it directly after flashing with Odin, it should work either way I think
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Muhammad fayiz:
Excellent
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] fablackstar:
doesnt work with xposed, causes touchwiz and weather to stop working
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Refiq H-ev:
help mi fix this thanks

work good 5 days :/ help me fix this ibb.co/d4KACn
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Re-flash stock via Odin, it should work
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Refiq H-ev:
work thanks :) Would it be again?
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
You can try again if you want, I don't know why that screen showed up, I've been using the phone with this for a while now and haven't gotten a problem
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] praful Bagave:
XDA
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] :
what about integratingsystem apps updates to system with lucky patcher and odex them after integrating to save internal storage !

nice idea ? xD
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] itsmemico206:
Script modifications

Hello,

I'd like to ask if it's possible to change what will be removed by modifying the updater-script.

Thank you very much :)
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Yes it's possible :)
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Kir13n:
Hi, i really like your debloat script. but there is one problem encountered. whenever i try to wifi hotspot this device to my laptop, i will disconnected after 10 seconds....do your remove the wifi related stuff? ty
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] roldygon:
Thanks!

Thanks! I couldn't say that enough :fingers-crossed: . You saved my day, sir! :laugh:
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] bdvstore87:
[MENTION=5802828]ShaDisNX255[/MENTION] gracias por tu excelente aporte, pero tengo una pregunta, al dia de hoy sigue funcionando bien?

Equipo: J2 Prime G532M

Saludos amigo :good:
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ayongpm:
Working flawlessly for Samsung Galaxy J2 Prime (SM-G532G/DS) :good:

There's nothing wrong so far, will report if I found some bug/problems.

Android version: 6.0.1

Baseband version: G532GDXU1AQA3

Kernel version: 3.18.19-12327063 dpi@SWDG4715#1

Build number: MMB29T.G532GDXS1ARF3
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Caupolican17:
You are awesome

Thanks a lot for this. You rock. You made my little cousin happier. :D
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ademb:
Problem here

Same problem for me too.

When screen off, hotspot disconnected my laptop, and i have to turn off and on hotspot in my samsung to connect my laptop..
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] nickSnake:
I wat to try this but Im currently rooted with supersu. Is it ok to flash this?
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] xmanz:
firmware

Hello all

im just about going to try the root/debloat for 532m but before i do i want to find orig firmware the one on my phone g532mubu1aqf1 but i cant find this with a search.im in new zealand..is there other firmware you could recomend if anything turns sour? thank you phil
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Jake1702_:
Just for kicks and because I'm a data hoarder and will do whatever it takes to save even 10MB of space, I'm going to try this on mine which is the 16GB model and report how much space remains.

UPDATE: So it seems flashing the stock ROM makes it think it's the 8GB model and I don't have the extra space. Does anyone know where I can find the 16GB version's firmware?

UPDATE 2: Ignore that, got it fixed. I now have 10.2GB Free. Wow. Thanks. Guess I won't need my SD Card for a while.

EDIT: Ok one more question. Is there a way to reinstall the weather app and radio app? Or any some sort of way to modify the script. All I see in the zip is a META-INF folder with useless stuff in it, so I have no clue where the actual script is located.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Akibtech:
I have tried all methods also flashed many rom but still there is no volte on my samsung j2 SM J200g/DD
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] pablortega:
Failed to mount '/data'

Hi all:

Sorry to bother you guys. I have being trying to follow the guide and I am having some problems.

First after many (maney) tries Iwas able to finally boot into TWRP. The problem I am having is that after successfully install it with odin when I reboot holding power+home+v.up 9 out 10 times it boots into the normal phone loading screen.

Now when I was able to boot into TWRP I was not able to install anything because eventhough I can see the folders inside the internal memory it cannot read anything. I try to mount the sd card and I get the following error

Failed to mount '/data'

THe folder I see I cannot access if I connect the phone to my windows PC, so I really don't what to do.

Any ideas

Thanks

btw, I have a G532M - form telcel mexico. I am not rooted

p
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
That means that the data partition is encrypted. To get rid of this problem, you need to format data completely and it will be fixed. This is done by default in stock.

To avoid getting this problem in the future, you need to flash the encryption remover which can be found in the TWRP thread
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] pablortega:
Thanks for the reply ShaDisNX255.

Question: what do you mean by default in stock? Do you mean that data being encrypted is normal for stock roms?

when you say to format data, I'm guessing I have to do it when I boot in TWRP, right?

Thanks for the help, and sorry if any question seems lame...
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
We're here to help, no question is lame :)

And yes, encryption is normal for stock ROMs
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] pablortega:
Hi again. I was able to format data and now I can mount it. THe problem now is how to I get the zip files needed to install inside the internal memory of the cel phone... I bet is something easy...

Thanks

---------- Post added at 02:37 AM ---------- Previous post was at 02:13 AM ----------

I will answer myself. I used a sd card I had around. Mounted it. done

Now I wish I could unstall that ugle telcel booting screen

thanks
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
You can, actually. Just replace the boot animation .qmg files with custom ones. They are located in system/media

Regards!
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] pablortega:
Thanks again for the reply.

Can you point me to a place where I could fin some custom one.

Another question (I hope the last one) Any idea why even though I followed the guide (flashed SuperSU zip)my cellphone is not rooted afterward?

Regards

P.

P.S> great to see a follow country mate in XDA
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Here is a great collection of boot animations that also have instructions on how to change it

https://xdaforums.com/galaxy-s5/themes-apps/bootanimation-massive-qmg-bootanimation-t2838295

Have fun!
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] LILY69:
will this work at any country?
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] miracule:
thx so much bro
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] iniffy:
What would happen

Hello, what would happen if I completed this whole process then I decided to unroot SuperSU? Will it affect other services?
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] streetdealer:
bro the only problem i have is my samsung account doesn't work, i don't have a way to use it or add it for download notes, please if u can upload a zip with that i would be so thankfull... the rest is as i want and need it :D
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] LazyAndBeyond:
hey i am unable to give accessibility access to apps, settings just crash after telling me that the app language isnt compatible with text to speech???
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
That's because this script deletes TTS. You're gonna have to restore your backup or flash stock or whatever ROM you had again
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ShaDisNX255:
Sorry I don't support this device anymore
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] datzcute:
Manage storage on j2 prime

Bro. If you have rooted phone you can Use Link2sd app to maximized your storage. force move your Intalled app to sd card. I also recommend adoptable storege to fo this as your Internal Storage. IF it's help you. Thanks
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] pablo_xperia:
ShaDisNX255 - Thanks for excellent work!

We found an old J2 prime plus and got it working again and decided to try to find a way to delete bloat. A TWRP and SuperSU later we have a debloated phone!

Again: thanks for your awesome work! (I already clicked the Thanks! button)
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] Hastoma:
:)This is very cool ... It is really possible to delete these apps .... they are present in most devices through the deletion programs such as: link2sd and others .... to reduce the memory of the device .... Thank you :cool:
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] 6xatz:
reserved
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] jayTP:
Hi,

I tried to modify updater-script to exclude removing what is hopefully the radio app.

ui_print("Removing HybridRadio_M...");
delete_recursive("/system/priv-app/HybridRadio_M");

After deleting those lines I tried to zip the updated files and attempted to flash it using TWRP but it failed to mount. Those who have had success editing the updater-script what/how did you go about it? I just used VScode to remove those lines and saved it. Not sure if I should have a specific IDE or need to compile it or something.

Installing the APK itself seems to run into some issues and it won't run at all.
[Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth] ViLXDRYAD:
Hi! I was looking for this script again, and found out the Drive link in the main thread as of now doesn't work, I looked on my HDD if I had it, and found this one I remember applying, and just applied now again.

Cheers!