Full debloat stock rom on I9195 ( flashable zip ) - Galaxy S 4 Mini General

Hey there after a whole week of testing, reflashing, bricking, rebooting I decided to share with you my debloat version of Galaxy S4 Mini I9195 ( might work on all versions of galaxy mini, not sure. )
For those who want to keep stock os for some reasons, I made this post hoping I can spare people some great time.
Summary: most stock apps gone, no kies, no ota update ( if you root your phone you wont't get any anyway ) and so on. Removed main apps as I have replacements from the play store. Also removed everything search related including voice which never worked well for me. I use swype keyboard to dictate and that's all.
I attached the updater-script contents, as you may modify and keep whatever you want. I tested this script on my device and everything works fine.
Just flash it via cw recovery and if it's the first debloat I recommend wiping /data and /cache.
If you want to skip a file deletion, open the zip with any archiver, and edit the file META-INF/com/google/android/updater-script and delete the lines regarding the app/folder/lib you want to keep.

How to Unbrick
How did you unbrick your phone pls?
I had the CM and i want to come back to stock.
I have tried flashing a stock debranded DBT rom.
I had boot loop. The Samsung loge freezes.
I have tried flashing all stock roms.
No chance. I can see onlay Samsung logo...

I had this issue, wiped /data and /cache after flashing my csc ROM and worked.

Worked like charm. Serious debloating.
I flashed cwm, booted to cwm flashed the script and was done. I wiped dalvik just in case. Now seems to work fine. Didn't have to root for it.
So basically stock rom and kernel + no more crappy apps. :good:
Thank you for your work!!! Awesome!!

You're welcome like I said I spent a whole week removing/puting back until I found what CAN be removed and what CANNOT be removed safely.
When I feel like reverting to stock rom I flash stock and immediatly after odin's reboot I flash custom recovery and run the zip so I can have my /data intact.

@btnetro can I check with you if you needed to flash back your nandroid backup for reverting to stock rom?

I'm sorry I don't understand the question

What were the steps you took to revert back to stock ROM?

odin flash with appropiate csc firmware ( my case dbt ) not a very hard thing

Did you have to restore your initial CWM backup?

I never made backups since this is not my primary device and it's still in testing sort of speak.
however since this are different roms I don't think you can revert to stock rom with cyanogen /data ...

This sounds great, but if I have rooted and frozen bits of bloat can I do this over the top and expect it to work?
TIA
Sent from my GT-I9195 using Tapatalk 2

I'm intrested in using this script but for example Im using voice can I install some apps that you deleted back ?
and how many spce did you saved after debloating ?

instead of reinstalling you can edit the file I wrote on the 1st thread and delete the lines that match the apps you want to keep

if i install the full debloat and then i add only the apps i want, what happens with updates ?
am i going to be able to get them and if yes will all the samsung apps be re-installed ?

ks13 said:
if i install the full debloat and then i add only the apps i want, what happens with updates ?
am i going to be able to get them and if yes will all the samsung apps be re-installed ?
Click to expand...
Click to collapse
If you have rooted phone just make full backup with Titanium Backup and after you will use this debloater you can easy get back all apps you want.
I'm verry happy with this script great work

wieczor said:
if you have rooted phone just make full backup with titanium backup and after you will use this debloater you can easy get back all apps you want.
I'm verry happy with this script great work
Click to expand...
Click to collapse
thank i will try

you will receive update on apps but no ota updates.

Hey guys, could you please tell me how is the battery on this rom comparing the stock one?

marselcj said:
Hey guys, could you please tell me how is the battery on this rom comparing the stock one?
Click to expand...
Click to collapse
This is not a rom. Its a script that automaticly uninstalls all the samung bloatware apps like Samsung hub, sam connect, bookstore etc.
But to awnser your question, it would save battery a bit more since the bloatware won't be running in the sys backround any longer
Beware that debloating does not remove any bloatware system shortcuts such as some of the AllShare connectivities tabs as its implented into the samsung firmwares interface.
Sent from my GT-I9195 using xda premium

Related

Big problem with my sgs2 :(

Everything have worked fine until now..
Latest things i did was update firmware on the camera, then rebooted and the camera worked just as fine as before.
I had two framework-res.apk's that i have moded from my own frameworkfile in kitchen, i did try both out and they worked just fine before, i did rename them and hade both in my bluetooth folder on the phone.. one circle and one guage battery framework modfile.
I wanted to go back to the guagefile, so i copied the file (it was renamed framework-res..guage.apk) and pasted it in the framework folder on the phone, renamed it and now it seamed i had two framework-res.apk files... thought one would overwrite the other, but no it didnt. So i checked what file was oldest and deleted that and rebooted, now i cant get by the samsung logo have tried everything and it just wont go any further
Could anyone help me with what to do pleeeeeease ? i can flash with odin, and i have tried flasing kernels unsecure and original with no effect, please help me !! i really hope this phone isnt bricked now
Put phone in download mode or cwm and flash a rom. Use a stock rom made for your phone.
I would prefer not to flash a new rom as there is many things on my phone that i dont want to get wiped away. I have some movies in the camera folder that i havent made a backup for yet and i just cant live without them, if they are lost i could just as well throw away the phone
boarne71 said:
I would prefer not to flash a new rom as there is many things on my phone that i dont want to get wiped away.
Click to expand...
Click to collapse
root it , then buy titanium backup from the market and backup what you want , then flash rom , then install titanium again , then reinstall back up , easy peasy
your phone will have what you want on it still and hopefully be working again
have a good day
flashing a rom shouldnt clear your mass memory mate , your videos etc should remain unless you use the android restore function in settings or format it via pc
buxz777 said:
root it , then buy titanium backup from the market and backup what you want , then flash rom , then install titanium again , then reinstall back up , easy peasy
your phone will have what you want on it still and hopefully be working again
have a good day
Click to expand...
Click to collapse
It is rooted, and i cant get past the bootlogo.
boarne71 said:
It is rooted, and i cant get past the bootlogo.
Click to expand...
Click to collapse
sorry didnt read post properley my fault :-(
still flashing a new rom wont delete your mass memory files
it never has on mine , as the other user said , wipe , wipe cache , wipe dalvik cache , if this still doesnt boot then flash a rom of your choice it may bring it back fine and your mass memory should be intact
leomar2.4 / 2.5 / 2.6 / doesnt touch the mass memory files anyways so your videos would be fine and you would have one of the best roms going
No worries
As it is now i can only get into odin mode.. down volume,home button,power button and get connected to the odin flashprogram, that is the only thing i can do
So even if my pictures and movies are on phones internal sd-card it wont be deleted ?? i just need to know this before i do something major like new rom.
I have a external sd-card to and i guess that wont be effected, but i dont know about the internal sd-card
Can i flash a rom without do those wipe cleaning stuff i read about that seams to be important to do before flashing a new rom ?
If it is just the framework-res.apk file thats wrong, cant i flash a new framework file with odin ? if for some reason there was something wrong there.
What rom do you use now? Wiping data wipes everything, wiping cache and dalvik cache shouldn't delete any personal data.
Im running original stock rom with unsecure kernel..
boarne71 said:
Im running original stock rom with unsecure kernel..
Click to expand...
Click to collapse
Just flash a stock ROM with Odin.
It won't remove anything, it'll all br there.
Sent from my GT-I9100 using XDA Premium App
Wipe will only wipe /data and /system which will be user and system apps and data.
You wont lose anything on the internal sd card and ext sd card.
You can always flash the same rom as you had before over the top which should fix the framework.
just flash non wipe rom from intratech topic, it will fix it for you
or boot into recovery, do backup there, flash new rom and then restore advenced only data in recovery
and as was mentioned before, reset/wipe/new rom through odin will not touch pictures/movies/music on internal sd card only apps and app setup with data will be erased
sent from my GalaxyS2
Thanks everyone for your help, you are really a great bunch of people here, so fast and very helpful, thank you all so much !
I must admit that my heart stopped for a moment when i couldnt get it restarted, forgot to breath but i did as you said only thing is i didnt flash a stock rom, i flashed a very nice rom called lightning and im much more happy with my phone now then i was before... in the end it was a good thing maybe that this happen to me today, otherwise i would probably never have gone from stock rom, now im glad i did it's faster and everything is better, and i could just now flash a new bootanimation that i couldnt do before, i tried the cool pc bios boot and im very happy with that, overall it feels like a new improved phone
Thanks everyone !!! Have a great eavning !
All you had to do was boot in recovery, and adb a stock frameworkres.apk to the phone and it wouldve booted fine! Or made a flshable zip that copies the stock frameworkres.apk and flash that through clockwork!
...and on the 8th day he created the SGS II!

Need help with HC 3.2

I know this has been asked but i am new to Android. This is my first device i am tring to root and cannot root i have tried using Iconia root and Gingerbreak. Both do not work on my device. I don't want to take my device (Acer Iconia A500) to a older android software. and was wondering if somebody can point me in a direction of a valid way to root HC 3.2, i would be in your dept.
Again i am sorry for making this tread i know it has been asked and asked and asked but there is alot of bogus things and/or solutions for older software for my device.
Unfortunately, to root 3.2 due to the new acer bootloader, you first have to rollback to an older version of HC.
http://forum.xda-developers.com/showthread.php?t=1276227
Not that it can be a little bit unstable, but most folks were able to work with it, and have success.
After you get your root, you can flash most of the 3.2 roms in the dev forum for the 500.
It seriously is not as bad as it sounds to roll back to the 3.01 software, root, and then install your custom rom. once you get the files downloaded, you'll be good to go in less than 30 minutes (probably less than 15 if everything goes flawlessly).
Yea I was surprised at how quick and painless the process was, and some of the custom ROMS are far better than the Acer OTA one. The rollback to 3.01 I believe is the simplest but I think I read before of someone rooting 3.2 without rolling back. It was a very complicated procedure though and I wouldn't recommend it.
yea
This is what i feared is i had to go back to a older system, but i understand and i may do it. All i need to know is does going back to the old software delete all my files on here and if so whats the best backup program to use? by files i mean apps, music, and settings.
bfoster said:
This is what i feared is i had to go back to a older system, but i understand and i may do it. All i need to know is does going back to the old software delete all my files on here and if so whats the best backup program to use? by files i mean apps, music, and settings.
Click to expand...
Click to collapse
Anything on the sd card is safe (if you keep your music and fotos there). As for apps, the Market always remembers paid apps, and the newer market usually remembers most of the free apps you downloaded (I believe the apps are synched to google), so when you flash a new rom, it usually (in my experience) starts to download them all once you login to your account on first boot.
Out of luck on settings though. Installing a different rom will wipe away all user data. App settings, etc. You can use a backup app like Titanium backup, and backup like game data and app settings, then restore them after flashing a new rom, but really, I feel it's better to get a fresh start on a new rom
Moscow Desire said:
Anything on the sd card is safe (if you keep your music and fotos there). As for apps, the Market always remembers paid apps, and the newer market usually remembers most of the free apps you downloaded (I believe the apps are synched to google), so when you flash a new rom, it usually (in my experience) starts to download them all once you login to your account on first boot.
Out of luck on settings though. Installing a different rom will wipe away all user data. App settings, etc. You can use a backup app like Titanium backup, and backup like game data and app settings, then restore them after flashing a new rom, but really, I feel it's better to get a fresh start on a new rom
Click to expand...
Click to collapse
If you are worried about backing up your apps, there are free apps in the market that will create backup files of your APK's. As for music and files, i find that flashing a new ROM they are still there, but just to be safe you can transfer them to a usb stick or something if you are worried about losing them. As for settings in the apps, you might be out of luck. I don't know a way of keeping them, but at the same time I never really cared to.
bfoster said:
This is what i feared is i had to go back to a older system, but i understand and i may do it. All i need to know is does going back to the old software delete all my files on here and if so whats the best backup program to use? by files i mean apps, music, and settings.
Click to expand...
Click to collapse
I used method #2 in this link and it worked great for me. Then installed one of the rooted 3.2 roms in the development section and was up and running in no time. No data was deleted and all my apps were ready to go. When you first boot after the downgrade you will get a bunch of force closes, don't worry that is normal. Just follow the directions, install and run iconiaroot1.3, then install the cwm recovery through the acer recovery installer, then install the rooted 3.2 rom and when you boot up everything will be working correctly and you will be rooted. Here is the link:
http://forum.xda-developers.com/showthread.php?t=1276227
Also, I downloaded and installed the iconiaroot 1.3 and the acer recovery installer before downgrading so everything was ready to go. After you install and enter the cwm recovery, only wipe dalvik and cache before installing the 3.2 rom. If you wipe data you will loose all of your data. Took me about 10 minutes for the whole process and I didn't loose any data or have to re-install any apps.
tring but not success
i downloaded the zip file and installed the files in the zip file to my external cd card......then when i try to reboot using the power+vol-down keys it starts to load files then the android emblem comes up loads to 3/4 the the bar goes away and the android stays and now has a caution symbol in the middle and then the tab boots normal with all normal software......and help as to why i cannot flash the old software
Sounds like the file got corrupted. If you downloaded from a PC, try downloading it again. If you downloaded from the tab, try doing it from a PC and then transferring it to the tab.

[Q] Downgrade from 4.2 to 4.1.2

Some apps not working after updated to 4.2, so I'm considering back to 4.1.2.
Though I never done this before since the day I get Nexus 7,
I think use Wug's Nexus Root Toolkit should get it done.
But just for sure:
1. Do I need to unlock/root to flash factory 4.1.2 image? (I think it is not but not so sure)
2. Directory structure seems different from 4.1.2, is it OK just using Toolkit to backup/restore settings?
(Sorry for my English if anything looks impolite)
1) unlock bootloader yes; root no, as you're going to overwrite the system anyways.
Also I'd suggest not using a toolkit, just download the factory image off google's page and run the "flash-all.bat"
2) Use Titanium Backup to backup all app data, wipe after flashing 4.1.2 and then restore apps + data with Titanium again
I just downgraded this morning. All your data will be wiped .. ALL YOUR DATA ... meaning, after I got back to 4.1.2 I was having 13GB of free space on the tablet (out of 13 possible) .
So, if you HAVE a nandroid from the 4.1.2 days, save it to your computer (along with all your files).
If you don't have a 4.1.2 nandroid, at least create now a backup repository with whatever tool you prefer and then save the respective files to PC.
Then, flash the factory image for 4.1.2.
Then copy all your files back to the internal memory, install the backup tool and restore your apps.
The reason behind this is that the update from 4.1.2 to 4.2 has some scripts that are porting the original /data and /sdcard mounts to the new structure used in 4.2
When downgrading, you no longer have scripts to do that for you so the newly installed 4.1.2 will not recognize anything so it will bootloop like crazy (I tried first to restore just the /system ... but all the other data was already affected by the update so was no longer usable).
My thoughts:
If you got the ota, and things messed up, try flashing the 4.2 factory image. That seemed to help me. If you're not rooted already, I would recommend becoming familiar with the adb backup command to backup apps before doing anything else. You have to unlock the boot loader to downgrade or flash the factory 4.2 image, and this will wipe the device.
Once you update either way, definitely take the time to root. You can then use adb restore or titanium backup to restore from the adb backup you made before unlocking.
Just be aware that adb backup doesn't seem to backup all apps, and that titanium backup isn't exactly fast parsing through a big adb backup file.
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2
step by step?
srry, very nooby questions:
how do i flash my nexus?
where do i find the factory image?
what is the backup tool?
ro_explorer said:
I just downgraded this morning. All your data will be wiped .. ALL YOUR DATA ... meaning, after I got back to 4.1.2 I was having 13GB of free space on the tablet (out of 13 possible) .
So, if you HAVE a nandroid from the 4.1.2 days, save it to your computer (along with all your files).
If you don't have a 4.1.2 nandroid, at least create now a backup repository with whatever tool you prefer and then save the respective files to PC.
Then, flash the factory image for 4.1.2.
Then copy all your files back to the internal memory, install the backup tool and restore your apps.
The reason behind this is that the update from 4.1.2 to 4.2 has some scripts that are porting the original /data and /sdcard mounts to the new structure used in 4.2
When downgrading, you no longer have scripts to do that for you so the newly installed 4.1.2 will not recognize anything so it will bootloop like crazy (I tried first to restore just the /system ... but all the other data was already affected by the update so was no longer usable).
Click to expand...
Click to collapse
HellcatDroid said:
1) unlock bootloader yes; root no, as you're going to overwrite the system anyways.
Also I'd suggest not using a toolkit, just download the factory image off google's page and run the "flash-all.bat"
2) Use Titanium Backup to backup all app data, wipe after flashing 4.1.2 and then restore apps + data with Titanium again
Click to expand...
Click to collapse
restoring my apps with Titanium Backup is unsuccessful , when i first tried a full app+data restore it freezes at 0 percent
and when i tried backuping app the missing apps , it worked but after i rebooted it . It went into a bootloop
Youssef Hossam said:
restoring my apps with Titanium Backup is unsuccessful , when i first tried a full app+data restore it freezes at 0 percent and when i tried backuping app the missing apps , it worked but after i rebooted it . It went into a bootloop
Click to expand...
Click to collapse
Assumed you are referring to downgrade from 4.2.1 to 4.1.2 and rooted to run TB, so the basic stock rom is up & running otherwise, correct?
Let's try Plan B instead - go into (Custom) Recovery and wipe dalvik cache first, then reboot. Give it a few minutes to settle and try to do your TB restore WITHOUT data, and see if it works. The /SD and/or /SD/0 directory structures are setup differently on the N7 and trying to retore with your custom settings will just make it more difficult & complicated. If this works, you can then try to selectively restore one or more with data and hopefully without going into endless bootloop again.
Plan C - go to Play Store, then Settings and "All" - you should see all of your Apps and what's installed, etc. - and install from there, it's semi-manual but it works for me 99.8% of the time when it would otherwise freeze within TB, especially true when switching custom Rom & kernels.
I usually manually copy & move back items such as documents, pictures & mp3's, etc. from standalone/usb backup drives or cloud storage back into the device once everything else are up & running properly.
Let us know if this helps & working for you or not.
Thankss !
Letitride said:
Assumed you are referring to downgrade from 4.2.1 to 4.1.2 and rooted to run TB, so the basic stock rom is up & running otherwise, correct?
Let's try Plan B instead - go into (Custom) Recovery and wipe dalvik cache first, then reboot. Give it a few minutes to settle and try to do your TB restore WITHOUT data, and see if it works. The /SD and/or /SD/0 directory structures are setup differently on the N7 and trying to retore with your custom settings will just make it more difficult & complicated. If this works, you can then try to selectively restore one or more with data and hopefully without going into endless bootloop again.
Plan C - go to Play Store, then Settings and "All" - you should see all of your Apps and what's installed, etc. - and install from there, it's semi-manual but it works for me 99.8% of the time when it would otherwise freeze within TB, especially true when switching custom Rom & kernels.
I usually manually copy & move back items such as documents, pictures & mp3's, etc. from standalone/usb backup drives or cloud storage back into the device once everything else are up & running properly.
Let us know if this helps & working for you or not.
Click to expand...
Click to collapse
Thanks for your help , but I think the problem was that there were apps in the backup only compatible with the custom ROM I had and android 4.2.1 xD
I restored the apps one by one , but I think if I deleted the extra custom rom apps , the process would have finished without any problems
Hi fellow people,
i'm a noob just made my xda account like 5 mins ago. I've been trying to search for my problem but I haven't really a found a direct answer. So yesterday I just got my Samsung Galaxy nexus update to 4.2.1. I was really excited until I started having the battery issues, screen lock issues, and overheating problem. I really don't like 4.2.1 and want to downgrade my version back 4.1.2. My carrier is the Mobicility (Canadian). I did not do anything previously with this phone such as rooting it, doing all the funky stuff that will void my warranty. I heard about flashing some google images to get back 4.1.2 but I'm not sure if I need to root or how to like do it through the gnex toolkit that mskip made. As well what if the difference between yakju and maguro? I heard if you flash the wrong image it will brick your phone or something like that. If there is a method without having to root it and lose all my contacts, then I would prefer that a lot.
Thanks,
mleung754
mleung754 said:
Hi fellow people,
i'm a noob just made my xda account like 5 mins ago. I've been trying to search for my problem but I haven't really a found a direct answer. So yesterday I just got my Samsung Galaxy nexus update to 4.2.1. I was really excited until I started having the battery issues, screen lock issues, and overheating problem. I really don't like 4.2.1 and want to downgrade my version back 4.1.2. My carrier is the Mobicility (Canadian). I did not do anything previously with this phone such as rooting it, doing all the funky stuff that will void my warranty. I heard about flashing some google images to get back 4.1.2 but I'm not sure if I need to root or how to like do it through the gnex toolkit that mskip made. As well what if the difference between yakju and maguro? I heard if you flash the wrong image it will brick your phone or something like that. If there is a method without having to root it and lose all my contacts, then I would prefer that a lot.
Thanks,
mleung754
Click to expand...
Click to collapse
You dont have to root but you need to UNLOCK the bootloader which will obviously erase all your data(and VOID your warranty). you can find the factory image here https://developers.google.com/android/nexus/images . just flash the appropriate image and you should be as good to go.
mleung754 said:
Hi fellow people,
i'm a noob just made my xda account like 5 mins ago. I've been trying to search for my problem but I haven't really a found a direct answer. So yesterday I just got my Samsung Galaxy nexus update to 4.2.1. I was really excited until I started having the battery issues, screen lock issues, and overheating problem. I really don't like 4.2.1 and want to downgrade my version back 4.1.2. My carrier is the Mobicility (Canadian). I did not do anything previously with this phone such as rooting it, doing all the funky stuff that will void my warranty. I heard about flashing some google images to get back 4.1.2 but I'm not sure if I need to root or how to like do it through the gnex toolkit that mskip made. As well what if the difference between yakju and maguro? I heard if you flash the wrong image it will brick your phone or something like that. If there is a method without having to root it and lose all my contacts, then I would prefer that a lot.
Thanks,
mleung754
Click to expand...
Click to collapse
mleung754,
You are posting in the wrong forum.
Asus Nexus 7 is not the same thing as a Samsung Galaxy Nexus.
Ignore mmystere68's remarks.

Some questions about Galaxy Tab 2 7.0 and root/ROMs, etc.

Just got a GTab 2 7.0 a few days ago. A P3113, so only 8GB of storage, about half of which is the ROM and crap apps. I've rooted before (had a KF 1st gen when it came out), and just wondering about a few things with the GTab:
Right now, I don't mind the stock ROM so much. There are problem things that would be "nice to have", but right now, would like to generally stay as "stock" as possible. That being said, I'd still like to "de-crap" the ROM to free up some storage space, and I assume that might lead to it running a bit better, since so much seems to just pop-in while running other apps. So:
I know I need to root first, so my first question - how reliable is that? I'm on a Mac, but have access to a netbook running Win7, so could run Odin to "get things done". I'd hate to brick the thing, still having 51 weeks of warranty left. (I also understand that I might want to install something else to keep the flash count from showing it's been flashed).
Once root'ed, is it better to use one of the "de-crapped" ROMs floating around? And if so, which seems "best" (yeah, I know the moderators hate the "which is best" - I'm looking for stock - and STABLE)
Or, is it better to eliminate the apps myself? (Not sure if this is a wholesale "rm" to remove certain apps from a terminal app, using adb, or if they have some uninstallers embedded somewhere, or...) - so better to use one of the ROMs floating around?
Is the GTab 2 "stable", so even if you trash a ROM, you can still get into the ROM manager to restore a previously working, or stock, ROM?
I'll probably come up with a couple more questions, especially depending on the replies... TIA
Hi..
I can answer some of your questions. I hope that helps!
1- Rooting is easy and reliable. you may use "CF-Auto-Root" tool (search for it in XDA forum).
But you need to remember that rooting and custom ROMs void your warranty.
2- If you just need to free some storage space, you may use an app such as "Clean Master" to uninstall system apps and get rid of temp and junk files.
3- If you opt to use a custom ROM make sure it is very well supported and maintained.
aisais said:
Hi..
I can answer some of your questions. I hope that helps!
1- Rooting is easy and reliable. you may use "CF-Auto-Root" tool (search for it in XDA forum).
But you need to remember that rooting and custom ROMs void your warranty.
2- If you just need to free some storage space, you may use an app such as "Clean Master" to uninstall system apps and get rid of temp and junk files.
3- If you opt to use a custom ROM make sure it is very well supported and maintained.
Click to expand...
Click to collapse
Thanks - but prior to using Clean Master I assume I better either get a stock image to reload, or use CWM so I can make a backup of the ROM before messing something up?
tundrwd said:
Thanks - but prior to using Clean Master I assume I better either get a stock image to reload, or use CWM so I can make a backup of the ROM before messing something up?
Click to expand...
Click to collapse
Taking a backup is always good thing to do. I suggest you try clean master to know how it works and what does it do.
aisais said:
Taking a backup is always good thing to do. I suggest you try clean master to know how it works and what does it do.
Click to expand...
Click to collapse
Thanks - I plan to use Clean Master. Allows me to be selective about what I remove/move, instead of getting a ROM from someone and they removed the ONE THING I really wanted.
Ok, got it rooted and CWM installed.
HOWEVER, when I boot into CWM, I DON'T see an option to backup my ROM (I've used TWRP before on my KF, so the menu is different).
What I've got on my screen in CWM:
Android system recover <3e>
Volume up/down to move highlight;
power button to select.
reboot system now
apply update from ADB
apply update from external storage
wipe data/factory reset
wipe cache partition
apply update from cache​
That's it. Where's the option to do a ROM backup? Oh, used file P3113_SAMSUNG_RECOVERY_SUPERSU-0.96_BUSYBOX-1.20.2.tar.md5.zip Had CWM and Root all in one. I do have GT-P3113_ClockworkMod-Recovery_6.0.1.0.tar as well. Should I just go through procedure again to flash this CWM? Will it still retain SU?
nandroid backup ok to use? Seems it's just a wrapper for a backup script...
Ok - I'll reply to myself.
I don't know what was wrong with the CWM I installed via the aforementioned file (P3113_SAMSUNG_RECOVERY_SUPERSU-0.96_BUSYBOX-1.20.2.tar.md5.zip), but I went to the CWM site, D/L'ed the latest touch enabled CWM for the P3113 (6.0.2.3, I believe), and installed it over the existing recovery image on the device (I had to create my own .tar.md5 - easy with *nix).
Anyway, I now have access to the backup options by scrolling down. The image from P3113_SAMSUNG_RECOVERY_SUPERSU-0.96_BUSYBOX-1.20.2.tar.md5.zip, simply wouldn't scroll beyond what I listed earlier. Now can scroll down, make backups, etc.
Haven't tried yet to re-install the image I made with nandroid - I'm a bit leery of that - so I'll just get the stock 4.1.1 ROM from sammobile, and keep it around....
tundrwd said:
Ok - I'll reply to myself.
I don't know what was wrong with the CWM I installed via the aforementioned file (P3113_SAMSUNG_RECOVERY_SUPERSU-0.96_BUSYBOX-1.20.2.tar.md5.zip), but I went to the CWM site, D/L'ed the latest touch enabled CWM for the P3113 (6.0.2.3, I believe), and installed it over the existing recovery image on the device (I had to create my own .tar.md5 - easy with *nix).
Anyway, I now have access to the backup options by scrolling down. The image from P3113_SAMSUNG_RECOVERY_SUPERSU-0.96_BUSYBOX-1.20.2.tar.md5.zip, simply wouldn't scroll beyond what I listed earlier. Now can scroll down, make backups, etc.
Haven't tried yet to re-install the image I made with nandroid - I'm a bit leery of that - so I'll just get the stock 4.1.1 ROM from sammobile, and keep it around....
Click to expand...
Click to collapse
That's exactly what I did today, grabbed the stock image for a backup, rooted with Odin and CWM then flashed a CM based 4.3 ROM. Piece of cake.

[Q]WhatsApp not sending/receiving media

Hello everyone. I've tried really hard to DO NOT create this thread. As it happens I have used all I know (which isnt much) to try to fix this problem but got no success.
So I've got a S4 GT-I9505. I've recently decided to root it mainly because I wanted full External SD-card access to some apps. Here are some facts about my rooting:
- I used TWRP;
- I used SuperSU;
- I kept the stock ROM. I personally dont have anything to complain about it so I didnt install any custom ROMs.
- I had a problem with Knox afterwards, the phone was rebooting and freezing. I made a backup on Titanium and then uninstalled every Knox-related app.
- The system worked nicely for days.
Then I decided to clean some garbage that I knew was present in my device, like ghost folders and foster files and such.
- I installed SD-Maid and Clean Master.
- On the same day, I switched my SIM card because of some personal issues. I'm brazilian but now living in Deutschland. The change of SIM cards (if it matters) was as follows: bought the phone > inserted brazilian SIM > inserted deutsch SIM > inserted brazilian SIM (due to a personal problem) > back to deutsch SIM. I'm telling you this because I'm not sure of how relevant it is. Just trying to give as much info as possible.
- I cleaned some **** with SD-Maid AND Clean Master.
What happened next:
- WhatsApp was broken. I couldnt receive any media (voice recordings, videos, images, nothing at all).
- I tried re-installing the App
- I tried to restore my WhatsApp backup from Titanium. No success*.
- I tried to restore my backup from TWRD. No success.
- I tried to change WhatsApp folder (on data/media) permissions to r-r-r---- and then back to 00775. No success.
- I tried re-registering my phone to whatsapp network. No success.
- I tried deleting whatsapp folder on data/media (WhatsApp FAQ recomendation). Thats when WhatsApp stopped also SENDING media. I couldnt simply send or receive through the app.
- I tried re-creating the WhatsApp media folder on data. No success.
- I tried a factory reset followed by a TWRD backup restoration. WhatsApp was once again SENDING, but NOT RECEIVING media. When my phone finished booting and the launcher loaded, I was immediately prompted by a WhatsApp message saying something like "Conection failed! Please verify your phone number. WhatsApp can only be installed in one device per phone-number" even though everything else internet-related was working just fine.
(* when I say NO SUCCESS, I refer to the fact that WhatsApp still not receiving/sending media, not that I failed to implement that given fix)
Now, when I wiped my phone to factory defaults, I noticed that in TWRD prompt it said something like "Wiping Data, EXCEPT data/media". My knowledge of the subject isnt great but I think it might be something with this folder.
Any thoughts?
Thank you very much in advance!
Do nothing. Delete your account from whatsapp and recreate it with the number you wish to use
My whatsapp works fine with a different no. And has a diff sim for calling.
Maybe to much of backup.. restore...bla bla..made it crash.
Press Thanks if I helped
Sent from my Samsung Galaxy S4 via XDA app.
Venorian said:
- I tried re-registering my phone to whatsapp network. No success.
Click to expand...
Click to collapse
DeepankarS said:
Do nothing. Delete your account from whatsapp and recreate it with the number you wish to use
My whatsapp works fine with a different no. And has a diff sim for calling.
Maybe to much of backup.. restore...bla bla..made it crash.
Press Thanks if I helped
Sent from my Samsung Galaxy S4 via XDA app.
Click to expand...
Click to collapse
It was not very clear in my post, indeed, but yes I have tried that as well. Thanks for trying!
I would just take the shortcut.
- Backup the apps you want to backup with Titanium.
- Make a backup of Whatsapp from within the app.
- Wipe from TWRP recovery (I assume that's what you mean by TWRD). Use the option prepare for rom flash (don't know the excact words, but you understand when you see the option).
- Reflash the rom you are currently on with Odin (or flash a custom rom).
You can also just skip the wiping part and just flash the rom with Odin again. I always like to start from scratch if something goes wrong, but it should probably work without the wipe.
Then restore the apps you want to restore. Whatsapp should probably be working now.
You can spend many more hours finding a solution, but my guess is that SD-maid or Clean Master deleted something it should not have. Always be carefull with those kind of apps. I don't really like those apps because the benefit you get from them is limited.
GOT A FIX!
After 2 days of hitting my head on the wall with this, I came up with a solution.
My girlfriend has the exact same phone as me (though I think any rooted android with WhatsApp installed would do).
I entered her data/media/whatsapp folder and created all the folders that were missing on my own folder (deleted by CleanMaster just for being empty). Then I gave all the folders the exact same permissions (rwxrwx--x or 0775) as my girlfriend's device and voila! It's working perfectly!
Now just for future reference and to feed my curiosity: why does factory reset through TWRP do not also wipe data/media? If this folder were wiped, I would get a fresh WhatsApp install and the problem would have been gone sooner. I kinda dont understand the folders' structure in my phone. Sometimes it looks like I can get to the same very place using diferent paths (like /data/ OR /emulated/ OR /0/ OR /sdcard/).
Anyway, thanks people! Though I figured it all by myself, this forum still rocks!
Venorian said:
GOT A FIX!
After 2 days of hitting my head on the wall with this, I came up with a solution.
My girlfriend has the exact same phone as me (though I think any rooted android with WhatsApp installed would do).
I entered her data/media/whatsapp folder and created all the folders that were missing on my own folder (deleted by CleanMaster just for being empty). Then I gave all the folders the exact same permissions (rwxrwx--x or 0775) as my girlfriend's device and voila! It's working perfectly!
Now just for future reference and to feed my curiosity: why does factory reset through TWRP do not also wipe data/media? If this folder were wiped, I would get a fresh WhatsApp install and the problem would have been gone sooner. I kinda dont understand the folders' structure in my phone. Sometimes it looks like I can get to the same very place using diferent paths (like /data/ OR /emulated/ OR /0/ OR /sdcard/).
Anyway, thanks people! Though I figured it all by myself, this forum still rocks!
Click to expand...
Click to collapse
Good that you found a solution.
It would be bad thing if the custom recovery would standard wipe data/media because that would wipe your entire internal sd. People that flash roms don't want that to happen. You can still wipe it from the recovery, it's just in a different place then the standard wiping.
Lennyz1988 said:
Good that you found a solution.
It would be bad thing if the custom recovery would standard wipe data/media because that would wipe your entire internal sd. People that flash roms don't want that to happen. You can still wipe it from the recovery, it's just in a different place then the standard wiping.
Click to expand...
Click to collapse
So basically its just a matter of keeping your apps and app data? Not something system-damaging or system-related at all?
And thanks for your answer!
Venorian said:
So basically its just a matter of keeping your apps and app data? Not something system-damaging or system-related at all?
And thanks for your answer!
Click to expand...
Click to collapse
No your apps and data will be wiped. Basically every part that could interfere with a new rom is wiped. It's only the data on your internal storage that is kept. So apps (like Whatsapp) also write data to your internal storage and that won't get wiped.
/system
/data (excluded /data/media)
/cache
and a few more will be wiped.
(There are more parts that don't get wiped, but that are parts that neither an app or you will ever touch.)
Now the problem is back. I can't really understand what happened.
I rebooted my phone just to check if everything was OK and then to do a new backup in TWRP.
Checked WhatsApp and the problem was back. Then I went to see the files and some folders that I've just copied were gone! The WhatsApp main folder on data/media was still there, but some subfolders were simply missing. I also noticed that my copy of that folder on my External SD-card was also gone! Like WTH?!
Any help will be much appreciated.
P.S.: and to my happiness, copying the files once again (as I've done before) simply doesnt work. This is driving me crazy, seriously.
this happened to me once, and wasn't whatsapp only, the reason whatsapp wasn't being able to receive/send media files was because it somehow could not access the internal storage.. same with all my other apps, it happened when restoring a full rom backup with CWM.. and the only way i managed to fix it was to re-flash the stock rom with odin
-Ric- said:
this happened to me once, and wasn't whatsapp only, the reason whatsapp wasn't being able to receive/send media files was because it somehow could not access the internal storage.. same with all my other apps, it happened when restoring a full rom backup with CWM.. and the only way i managed to fix it was to re-flash the stock rom with odin
Click to expand...
Click to collapse
Not even a factory reset will do?
How do I find a stock ROM from Samsung (with 4.4.2) compatible with my S4 GT-I9505? Also: should I also wipe everything or simply flash the rom without doing anything else?
Now that you said, I also noticed that one of my favorite games (Mushroom Wars) has also stopped working. Might be that you're right!
Venorian said:
Not even a factory reset will do?
How do I find a stock ROM from Samsung (with 4.4.2) compatible with my S4 GT-I9505? Also: should I also wipe everything or simply flash the rom without doing anything else?
Now that you said, I also noticed that one of my favorite games (Mushroom Wars) has also stopped working. Might be that you're right!
Click to expand...
Click to collapse
Do as I suggested. Start from a blank sheet and stay away from those rom cleaners for now.
You could just take a clean custom rom, then you don't have to worry about deleting those knox stuff and rerooting again.
Venorian said:
Not even a factory reset will do?
How do I find a stock ROM from Samsung (with 4.4.2) compatible with my S4 GT-I9505? Also: should I also wipe everything or simply flash the rom without doing anything else?
Now that you said, I also noticed that one of my favorite games (Mushroom Wars) has also stopped working. Might be that you're right!
Click to expand...
Click to collapse
i honestly didn't attempt a factory reset because i wanted to keep all my stuff, so i just flashed the stock rom on odin and everything worked out fine, was the only way i was able to fix it
-Ric- said:
i honestly didn't attempt a factory reset because i wanted to keep all my stuff, so i just flashed the stock rom on odin and everything worked out fine, was the only way i was able to fix it
Click to expand...
Click to collapse
By doing this I'll have to reroot, right? Do you think it is a problem if I recover my backup from TWRP after flashing the stock rom?
Dont wanna go through the configs and app installing all over again.
Venorian said:
By doing this I'll have to reroot, right? Do you think it is a problem if I recover my backup from TWRP after flashing the stock rom?
Dont wanna go through the configs and app installing all over again.
Click to expand...
Click to collapse
you don't need to re-configure or recover a backup, if you flash the same stock on odin as you already had running, without wiping, it should work right away, without any issues and without any need for a wipe or a restore, you will have to re-root though, yes.
-Ric- said:
you don't need to re-configure or recover a backup, if you flash the same stock on odin as you already had running, without wiping, it should work right away, without any issues and without any need for a wipe or a restore, you will have to re-root though, yes.
Click to expand...
Click to collapse
Here is your stock firmware: http://www.sammobile.com/firmwares/3/?download=33568
Tkkg1994 said:
Here is your stock firmware: http://www.sammobile.com/firmwares/3/?download=33568
Click to expand...
Click to collapse
This is for switzerland, isnt it? A Brazilian version would be most welcome! I'm currently downloading one from this thread: http://forum.xda-developers.com/showthread.php?t=2265477
-Ric- said:
you don't need to re-configure or recover a backup, if you flash the same stock on odin as you already had running, without wiping, it should work right away, without any issues and without any need for a wipe or a restore, you will have to re-root though, yes.
Click to expand...
Click to collapse
Sure! Thank you for your help!
Just a side note: while downloading the stock rom, I found this and installed the given app (Folder Mount) just to check. As soon as I opened it, it pop'd a message saying that he identified a crucial problem with my /bin/sdcardwhatever file. So yes, I'm confident that your solution will be the one to fix my problem. Let's see...
Also thanks for Lennyz1988 for your suggestion. Your fix seems a little bit... harder?... for me, but if this one doesnt work I'll try yours and post the results. BTW, where do I find a clean custom ROM? Thank you!
Venorian said:
This is for switzerland, isnt it? A Brazilian version would be most welcome! I'm currently downloading one from this thread: http://forum.xda-developers.com/showthread.php?t=2265477
Sure! Thank you for your help!
Just a side note: while downloading the stock rom, I found this and installed the given app (Folder Mount) just to check. As soon as I opened it, it pop'd a message saying that he identified a crucial problem with my /bin/sdcardwhatever file. So yes, I'm confident that your solution will be the one to fix my problem. Let's see...
Also thanks for Lennyz1988 for your suggestion. Your fix seems a little bit... harder?... for me, but if this one doesnt work I'll try yours and post the results. BTW, where do I find a clean custom ROM? Thank you!
Click to expand...
Click to collapse
Cause you want a Brazil version, here you go : http://www.sammobile.com/firmwares/3/?download=31097
Lennyz1988 said:
I would just take the shortcut.
- Backup the apps you want to backup with Titanium.
- Make a backup of Whatsapp from within the app.
- Wipe from TWRP recovery (I assume that's what you mean by TWRD). Use the option prepare for rom flash (don't know the excact words, but you understand when you see the option).
- Reflash the rom you are currently on with Odin (or flash a custom rom).
You can also just skip the wiping part and just flash the rom with Odin again. I always like to start from scratch if something goes wrong, but it should probably work without the wipe.
Then restore the apps you want to restore. Whatsapp should probably be working now.
You can spend many more hours finding a solution, but my guess is that SD-maid or Clean Master deleted something it should not have. Always be carefull with those kind of apps. I don't really like those apps because the benefit you get from them is limited.
Click to expand...
Click to collapse
-Ric- said:
this happened to me once, and wasn't whatsapp only, the reason whatsapp wasn't being able to receive/send media files was because it somehow could not access the internal storage.. same with all my other apps, it happened when restoring a full rom backup with CWM.. and the only way i managed to fix it was to re-flash the stock rom with odin
Click to expand...
Click to collapse
I just realized both solutions are the same, LOL.
ODIN just finished flashing the stock rom. Will update soon with the preliminary results.
Apparently it did NOT work. Not completely at least.
WhatsApp is now once again making voice recordings and receiving them as well, but is not handling any other kind of media. Mushroom Wars (the game I talked about earlier) is also not loading.
The system looks just it was before, only without root (I know that was expected).
Don't know what to do now.
Just one more question: how much of a problem is it restoring a backup using TWRP? I mean, in a scenario in which I get this problem fixed, I couldnt simply restore any backup due to the possibility of screwing my internal storage thing all over again?

Categories

Resources