[Q] customising a samsung ROM - Android Software/Hacking General [Developers Only]

i am new to android, but i read that you can open .rfs files with magic iso...and its true...
i have a question for experienced mooders... if i delete some files from .rfs, will the firmware still work?
i want to delete (as a plan...) from system.rfs
1. from apps:
TouchWiz30Launcher.apk & odex (i dont like touchwiz)
Dualclock.apk & odex (i dont need it)
SamsungWidget_FeedAndUpdate.apk & odex (i dont need it)
2. from media:
bootani.qmg & samsungani.qmg (i think ...no ani at boot => faster boot)
shutdown.qmg (a few seconds can save a little battery)
please help me to understand better...thanks

I cant answer your question directly, but perhaps offer an altarnative partial solution. check out titanium backup, requires root but will allow you to remove system apps. I would be wary of removing touchwiz though, just use another launcher, I like zeam, but there are others like adw, and launcherpro and helauncher, lots more in the market most are free.

im more intereested in using the stock one, i want to bring my samsung as close as possible to the stock android, and remove the useless junk that samsung put there,

Related

[Q] Remove system apps and odex?

I'm debluring my US Froyo rom and there are some system apps that I want to remove completely. My question is if I remove the apks, should I also remove the odex files that they are associated with. I'm learning how to develop on Androids (Mainly my Defy but have friends that want me to clean up their phones) and a detailed explanation would be awesome.
Another question would be if I'm just renaming the apk, what should I do with the odex: leave alone, rename, or remove. And why?
PS: the original /system/app folder is completely backed up is I decide I want that app later

[Q] How to modify a deodexed .zip ROM file?

I wanted to get some insight, direction and perhaps guidance on how to take the existing Deodexed ED2 ROM and get inside and make some edits, remove bloatware, replace Touchwiz with a different launcher etc. I am not looking to build a full blown custom ROM, I am just looking to edit a stock (yet deodexed) ROM to meet my needs.
Any help would be greatly appreciated so I can learn more about this process.
There are two ways you can do it. First way, that is usually a little easier to work with, is to extract the zip file, make the changes you want, and re-zip the whole thing. The other method is to just open the zip file (7zip or similar will make this a little easier) and add/delete stuff as you want. It eliminates the decompress/recompress part, but is a little harder to work with unless you know exactly what you want to do.
As far as figuring out what to remove and such, some files are named in a manner that they are easy to figure out (Mms.apk for example) and other files are not (Dlna.apk is AllShare). If you want to figure out what an APK file is, a good indication is sometimes opening it with say 7zip (they are essentially zip files) and extracting res/drawable-hdpi/icon.png and you can see what the icon is. Astro File Manager can also give you some info on the specific Apks, as can Titanium Backup I believe.
As for replacing things (like the launcher) it is as simple as taking one out and putting another in for most stuff. I will let you know that I had battery drain issues when I removed the stock TWLauncher, but I believe I know how to fix it then. A lot of stuff though, if you are replacing things, you'll want to do 1 or 2 things at a time and also be familiar with logcat as it is an invaluable tool when testing out ROM changes and problems.
Thanks imnuts, I will start to play with a zip file and go from there. As you mentioned the bloatware is in the system folder and not the data folder so perhaps I will just delete the bloat, and install GB Launcher on my phone and make it default so that TW is still there just not in use.
Hi,
a little late, but...
did you actually make this work? I'm trying the exact same thing, but my 4ext recovery always aborts the installation. Do I need to sign it or what is wrong?
Thanks a lot...
Please use the Q&A Forum for questions Thanks
Moving to Q&A

[Q] DCSImpl.apk and DCSUtility.apk

i like to modify the zip files by removing certain apk's from system>apps folder that i don't use before flashing the rom. my question is related to the DCSImpl.apk and DCSUtility.apk...
i always remove apk's related to the Stocks app cuz i never use it. i was wondering if those 2 apk's are related to Stocks and if they're safe to remove?
I was wondering the same thing about these files. I found someone that removed them with no problem. I just did the same.
It would be nice to know what these apk's did, but I want to get rid of as much bloat as possible.
thanks
Scott
HTC Stocks:
http://forum.xda-developers.com/showthread.php?t=1106799&page=148
nice find! thanks!

[Q] Question about stock Samsung apps after custom mod

I know this has been asked before, but it hasn't been asked too clearly, at least to me. I'm using CM 10.1 on a Tmobile Galaxy S3, and I want to install a few of the Samsung apps like the Accuweather widget, sMemo, etc. I have all the apps in a backup folder, and they all have two files; a .apk file, and a .odex file. Can I just install them (.apk) like normal apps, or do I need to do something special with the .odex file, or can you even run them on a custom rom? I just really like a few of the stock features and would prefer to have them, but not at the cost of giving up CM 10.1 just to use them.
The stock apps need kinda stock environment to work with. So most of the stock apps don't work properly on a custom ROM.
That shouldn't prevent you from giving it a try.
You shouldn't be installing it as a normal app, but you should push the apk to system/app with right permissions (rw-r--r--) and reboot.
See if that works. Try with and without the odex file.
Look at this thread on how to set permissions.
A search would have told you that you can't run OEM apps in an AOSP based rom
Wayne Tech S-III
You need the framework that samsung adds. Using a rom based off the original will do it for you.

[SCRIPT] [i9505] cleanscript v1.0

What's this?
So, I finally decided to publish my first own script
It's made for SGS4 and its purpose is to delete some unneeded system apps.
I tested it on my i9505 and it worked fine. No guarantee for other devices (e.g. i9500) though.
It doesnt remove all bloatware, since I'm using OmegaRom, which already comes with less stock apps.
For who?
Puristic people like me, who:
Don't like preinstalled apps but prefer to use their own alternative
Hate autosync but want to check their mails when they want to and not when their phone wants to
What does it do?
Well, basically it just deletes some apps/features you'll probably never use and never used before (in some cases )
More detailed list:
BeamService.apk
Blurb.apk
CHS_J_Device_only.apk
com.sec.android.iap-1.apk
EasyLauncher.apk (Good for grannys or potatos, but not us pr0-h4xor-1337-xda users, right? )
EasySettings.apk (See above)
FaceLock.apk (Insecure and doesn't always work)
GoogleDrive.apk (I prefer Dropbox)
Hearingdro.apk
MusicFX.apk
MusicPlayerWT.apk (Not needed if you use another musicplayer)
SamsungIME.apk (Stock keyboard, also not needed if you use another)
SamsungWallet_Stub.apk
SNS.apk
SpenSdk3.apk
Sec_Email_J.apk (Preferably use the app of your email provider)
SecNoteMyFiles.apk (Use another file explorer, I recommend ES)
SimpleWidget.apk (Same reason as EasyLauncher.apk)
TravelService.apk
TripAdvisor.apk (Who needs this, seriously? )
WebManual.apk (If you need this, you should press ALT+F4 or your homebutton now)
You can find a even more detailed list of bloatware on the S4 here:
http://forum.xda-developers.com/showthread.php?t=2514703
How to use it
Make sure you have a custom recovery already installed!
Put the script on your phone's SD card
(Re-)Boot into recovery
Flash the the .zip scriptfile (if you don't know how, use Google or search the xda-forums)
Wait until it's done (shouldn't take that long )
Reboot!
Want to keep some apps?
Open the .zip scriptfile
Navigate to "\META-INF\com\google\android\"
Open the "updater-script" with a editor of your choice (Notepad++ is the best imho)
Delete the lines you don't like (or add some, if you know how to)
Save the "updater-script" (CTRL + S)
Put it in the same folder you extracted it from and close the window
ATTENTION: The zip file has to be opened the whole time in the background, otherwise it will not work!
You may upload the modified script, but please, don't claim exactly this file as yours!
NOTE: I'm not responsible for anything that could happen by/after using this script! If your alarm doesn't work after flashing this and you get fired or cause the third world war, it'll be your fault, not mine!
Download
http://d-h.st/EPu
Any kind of feedback is greatly appreciated!
Please be fair, this is my first thread on xda

Categories

Resources