[Q] Modify Stock firmware through CWM backup mods - General Questions and Answers

Hi, I have a GT-S7500 (wife's phone) with stock firmware and CWM. For some reason as soon as I root it, tried many different methods, camera and camcorder (and sometimes wireless) stop working. The thing is i don't really want to root this phone - but I really need to remove bloat Samsung and Italian TIM apps from it because the phone is unusable. (This means: freshly pushed stock firmware has 10-15 useless system processes and services running resulting in 70-80% of RAM usage)
So, I need to remove bloatware without rooting the phone. This is my starting point(http://forum.xda-developers.com/showthread.php?t=1534349#post23343879)
I'd like to take the "system.ext4.tar" from my CWM backup, extract, manually remove unwanted apk and odex files from it repack and push it back to the phone. Sounds fun!
Q1: "system.ext4.tar" is a normal .tar file, right? so when I'm finished i just use tar (i'm on *nix)
Q2: The above guide does not say but what is the best way to "push" the system partition back to the phone? My idea was to substitute the "system.ext4.tar" with its modded version right in the CWM backup folder (calculate and change md5 checksum in nandroid.md5) and then execute a restore from CWM. You think that would work? Is there another way to do this(ODIN)?
thanks
a\

Android Kitchen
Ok, I found Android Kitchen(http://forum.xda-developers.com/showthread.php?t=633246) and it resolved all my questions and doubts. You can take apart any rom (stock or custom) modify and repack it for CWM install. Thanx xda!

Related

Removing stock applications from the stock rom before install

Please tell me if this is feasable.
I was retarded and never bothered to Root my incredible when it was possible to do on 2.1
It obviously isn't possible using revoked/simple root/ or any other methods after 2.2 (not yet anyway)
I would like to remove the stock annoying apps(amazon,cityid, etc) from my phone entirely/rename them, but I can't. I can't because without root access you cant rename/delete files from the system/app folder on the phone, and you cannot force an unintall of these programs.
I recently downloaded the update.zip file from google for the 2.2 update(since I didnt want to wait for the OTA update). Do you think it is possible to remove the apk's you dont want from the stock 2.2 google rom since they are located in the same folder system/app within the rom files. Then rezip the rom files and reflash your phone with the edited rom files which would not include all this bloat crap stuff I do not want?
I cant think of a reason why it wouldn't work / be possible??? thoughts?
strunker said:
Please tell me if this is feasable.
I was retarded and never bothered to Root my incredible when it was possible to do on 2.1
It obviously isn't possible using revoked/simple root/ or any other methods after 2.2 (not yet anyway)
I would like to remove the stock annoying apps(amazon,cityid, etc) from my phone entirely/rename them, but I can't. I can't because without root access you cant rename/delete files from the system/app folder on the phone, and you cannot force an unintall of these programs.
I recently downloaded the update.zip file from google for the 2.2 update(since I didnt want to wait for the OTA update). Do you think it is possible to remove the apk's you dont want from the stock 2.2 google rom since they are located in the same folder system/app within the rom files. Then rezip the rom files and reflash your phone with the edited rom files which would not include all this bloat crap stuff I do not want?
I cant think of a reason why it wouldn't work / be possible??? thoughts?
Click to expand...
Click to collapse
Since you are using the stock recovery to install a stock ROM/update that is signed by them with keys the that you don't have, I would say NO. You'll have to get root first and install a customer recovery in order to install custom ROMs. If you modify the stock ROM/update and resign it, it will be a custom ROM/update at that point.
gnarlyc said:
Since you are using the stock recovery to install a stock ROM/update that is signed by them with keys the that you don't have, I would say NO. You'll have to get root first and install a customer recovery in order to install custom ROMs. If you modify the stock ROM/update and resign it, it will be a custom ROM/update at that point.
Click to expand...
Click to collapse
Ty for the response.
That is exactly the issue I ran into..
I wasnt able to figure out how to get past their md5/signed file check.
I am not sure if the bootlader/recovery console checks the file size or contents. What I tried to do originally was extract all the files in the update.zip package and make my changes then rezip them. Obviously this method failed because I had to repackage it and as a result it was no longer signed.
What I then tried was to edit the actual update.zip without extracting first. I figured this way the file itself would still be signed and I would be able to use it.
It generated a different error than I had seen the first time, but ultimately failed the check again..
Made me sad. I really wanted to get rid of all that crap. VZnavigator process is a memory hog. I dont need it at all, not with google maps which comes stock on the phone.. And to add to that, you cant even kill the process because as soon as you do it just starts again... So.. GG verizon
At this point I really only have two options..
1) Wait for 2.2 stock rom to be rooted. If this ever happens, I have faith that it will.
2.) Revert back to 2.1, s-off perma root and then manually load in 2.2 over that..
Have you tried that androot.apk? I was under the assumption that it was "universal".
Sent from my HTC Hero using XDA App
ddotpatel said:
Have you tried that androot.apk? I was under the assumption that it was "universal".
Sent from my HTC Hero using XDA App
Click to expand...
Click to collapse
I have not. What I did instead was use 3.2 unrevoked which works on 2.2
I am not sure what androot.apk is I will look into it out of curiosity.
[GUIDE] Universal AndRoot - 1-click root
give it a try....

[Q] Phone Backup

Hey Guys, I'm a little bit of a noob here. I have had my captivate for about 6 months now and I started to get a little frustrated with the way the Captivate was set up compared to my old HTC Hero. I didn't have to root the Hero and could do anything with it I wanted. With the captivate it was another story. I rooted the new Captivate and it has been a wild ride. I follow the forums to see what is available after having Super User installed. I have to say I went a little crazy into the exploration of what i can and cant do. I learned what I cant do the hard way and spent almost 3 day's having problems with odin3 one touch flasher. Once i got everything back running to factory settings I decided to just set up the phone the way I like it and updated the config. for example I added the root access and updated the settings.db file to allow 3rd party apk installs. I than also deleted the wealth of useless crap At&T Preloaded onto the OS such as the apps and the 20 AT&T contacts. Fortunately now my phone and layout is exactly to where I want it. Unfortunately now I am afraid to perform other root mods on the phone and have to re flash the original factory settings on it and have to set it up all over again. I am not much of a programmer but do know end user support very well and was hoping that there would be a way to create a backup of the root directory so that in case I brick my phone (happend twice when I tried to replace the launcher program) I can just flash my backup so that I don't have to install apps, configure settings, and adjust the layout all over again? I was thinking of creating an update.zip would do it that i could keep on my sd card and flash it from recovery.
Can Somebody please Help!!!
Thanks,
Jay
Generally speaking, unless you use the same ROM, it is a bad idea to restore system settings.
Check out Titanium Backup from the Market. It works really well at backing up apps, data, and system data. Be sure to get the donate version so you don't have to manually install every single app (huge time/effort saver). It won't give you an update.zip file, but if you reinstall it and point it at it's backup folder, it can restore all of your data with minimal effort.
If you are prone to bricking your phone, back it up to an external SD card by entering "/<external sd>/Titanium Backup" as the backup path, replacing <external sd> with the real path (it's different on 2.1 and 2.2 ROMs).
Good luck.
Thanks, I actually already have Titanium Backup lite and i backed it up using the batch Backup all user apps + System Data but have no idea how to restore these backups if my phone bricks. I dont necessarily want to flash the phone to try it out. Any chance you know of where i can find out a little bit more information on how to restore backups with this app?
I also have the ClockworkMod Recovery where i have backed up my phone to an SD card. It says during the process Backing up system, data, datadata and than generates an md5sum. After this the phone boots back up and I was wondering if recovering using ClockworkMod is the same as flashing an update.zip rom but instead of using the stock version? Also this app seems a lot easier to use at there is an option to reboot into recovery and select roms

[solved ] Questions related with factory reset and rom

Hi guys, I'm on ddjp6 already rooted...
In this rom when I reinstall the rom through Odin, my data doesn't lost...
And I've removed bloatwares from system and installed important apps on rom...
Questions are...
1. When I do factory reset, all the apps I've pushed on rom get deleted...
How to prevent it?
Should I create a rom (Odin tar) or take system img?
2.
I want to know why no data loss on reinstalling this rom?
If I create system img. Or. Tar file, will I get the same feature?
Or, how can I get the same feature?
(no data loss)
Thanks in advance
1. Not sure..
Maybe its because you didnt pushed apps to /system/app
try pushing again as system app using root explorer to "/system/app" propperly.
2. That happened to me when i flashed XXJPN, then flashed XXJPQ over it. No data deleted. i think its similar to official update. when you have eg. android 2.1, on android 2.2 data doesnt get deleted. Maybe its the same - maybe odin flashes this rom only as /system so /data partition stay not affected. After flash you have to do factory reset for sure.
1.
I've done it for so many times already...
All the time apps like quickpic and blacklist pro etc... Gets deleted...
Please help...
2.
I've other Odin Roms but in only this one, no data loss...
So, if I make a new Odin tar using rom cooker, can I get the same feature?
Please anyone, help...
Devs, please reply...

First week root. Samsung bootanimations, CWM, and boot files.

{This I the third time I'm posting this in the forums, I hope that this is the right place ???}
It's my first time customizing an android phone after rooting it, and I have to say, there's a lot to learn. Samsung devices are made to read qmg files when it comes to boot animations, but I'm already making my own boot animations, and I have a lot of questions I hope this post isn't that long.
================================
1- after installing CWM can I UNINSTALL it using odin? Or is there any other way to do it without my computer?
================================
2- I know that you can't UNflash files, so when I flash a zip file (specifically bootanimations4U) what files should I back up? I'd rather back up only the files that will be replaced? Or is there an app to back up files from a certain folder and just bring them back if I want to bring back the normal animations?
================================
3- let's say that my device is rooted, it has CWM installed, and also, has the . zip enabler flashed already and in use. I'm planning to FORMAT my phone in a couple of weeks because I want to use it as if it's rooted with the whole storage available (I don't have storage problems I just want to do that) but my question is...
==========
-Q3: if my goal is just to delete my data and apps only, can I just use the factory reset from the settings? Do I need to do anything regarding CWM or the zip file I've flashed? Will CWM be deleted? Will I have to flash that .zip reader enabler (bootanimations 4u) again? What do I need to do if I needed to reset my phone without any problems?
================================
4- is there a file size limit for the bootanimations.zip files on Samsung devices (galaxy s5 android 6.0) and also the audio file size limit?
================================
5- what is the condition in which I have to flash the bootanimation4U.samsungani.zip file and not the other one?
If u want to format you can do it by wiping data,cache,dalvik it does not effect custom recovery and reboot

Ideas to swap the apps on ROM 2 and put them on ROM 1 (replace entirely) effectively?

So here are my limitations.
I have a Samsung S5 but it's the Straight Talk branded version, the SM-903VL. The issue with this S5 is the bootloader is locked so to root the phone you need to downgrade to 4.4 test firmware, root the test firmware then take the cache.img and system.img from another S5 rom, the G900V's stock rom, then move that over and replace the test firmware's cache.img and system.img to get a functional and rootable and full featured operating system on the SM-903VL.
You can read more about it here if it helps you understand better what I'm talking about.
Well, once the G900V's stock rom is on the SM-903VL and it's rooted, you can install Safestrap and then run quite a few different roms through Safestrap!
What I'm wanting to do is take the applications from the extremely debloated stock rom installed on the 1st rom slot and move them to the original rom and not even have to use Safestrap.
So I want to take all the applications on ROM 2, which is slimmed down and extremely lean, and move them to ROM 1 while not just moving the apps from ROM 2, but discarding all the apps originally on ROM 1.
What would be an effective way to do that? I might just try to do it by hand one app at a time through Titanium Backup but there has to be a better way?
So I answered my own question. In case anyone looks up the phone model I have via Google search, they'll maybe find this thread and it'll inspire them to do a similar endeavor.
I used Titanium Backup Pro to back up all user apps, system apps and data while inside ROM 2.
I then moved that all to an external SD card.
Then I went through the process of setting up the phone by putting the phone back into it's stock form with the G900V stock rom. Those directions on how to do that are in the hyperlinked thread above.
Once the G900V ROM was rooted on the Straight Talk SM-903VL Samsung S5 as directed above in the aforementioned thread, I then used Titanium Backup Pro to ''restore'' the system apps, user apps and data onto the Stock G900V rom.
Then, with all the apps from the extremely debloated rom installed now onto the phone, I proceed to adjust the filters to only show apps not backed up. That allowed me to see ALL the apps I needed to remove while keeping all the apps I needed to have a functional rom.
I then used Titanium Backup Pro to uninstall everything that wasn't backed up. From there I had an extremely debloated stock ROM that someone else had created for the G900V (that was impossible to flash since the SM-903VL's bootloader is locked down tight)

Categories

Resources