Custom System Image - Xperia Play General

Hi guys
Just trying to gauge interest, don't want to clog up the development forum anymore then it is if no one is interested.
I have created a custom system image.
its based on the stock rom, has lots of stuff removed, themed, new launcher,dialer, cifs/tun,insecure adb, ad blocked hosts etc etc..
Just interested if anyone would like to try it?
I will publish it in the dev forum if people are interested otherwise ill just keep it to myself.

hell yeah,
the more custom roms the better
post it please
thanks

Wouldnt mind trying
Sent from my R800i using XDA Premium App

I`d love to see it !
screenshots would be more then welcome.

Would you mind explaing me how to mod a system image?

Here is the link to it, still compressing and have to upload
expect it to be up in around 2 hours
http://forum.xda-developers.com/showthread.php?t=1140540

Count with a referral on another forum However, I have a doybt. If you flash a 2.3.3 FTF file which contains bloatware (the games and so on) and then you flash this, wouldn't the bloatware still be there? Or does this .img wipe the unneeded files itself?
I adhere to thomassafca's question as well ^^

Logseman said:
Count with a referral on another forum However, I have a doybt. If you flash a 2.3.3 FTF file which contains bloatware (the games and so on) and then you flash this, wouldn't the bloatware still be there? Or does this .img wipe the unneeded files itself?
I adhere to thomassafca's question as well ^^
Click to expand...
Click to collapse
Just do a fastboot erase system before you flash the image, you should wipe before a flash anyway, a good way to create a system image, is flash the stock image, mod /system/ however you want using your phone, do a nandroid, and just grab the system.img from the backup folder
Sent from my R800i using Tapatalk

Logseman said:
Count with a referral on another forum However, I have a doybt. If you flash a 2.3.3 FTF file which contains bloatware (the games and so on) and then you flash this, wouldn't the bloatware still be there? Or does this .img wipe the unneeded files itself?
I adhere to thomassafca's question as well ^^
Click to expand...
Click to collapse
when flashing .img fastboot erases system, the reason for flashing stock and doing a factory reset is to ensure an of the normal apps that I have used as system apps don't conflict... Also restores stock kernel
its online now

Good job fraz. Will try it monday when more time.
Sent from my U20i using XDA Premium App

Just put up a couple of screenshots, although its more just about being a slim img with the hacks I need out of the box.
Thanks to blagus I got loading cifs on boot working

Did you remove "Multimedia Server"? It's not a biggie, I have it backed up, but it's possibly the best thing ever if you have a PS3 or a Sony TV, and I have both

Yes removed from this
Sent from my R800i using XDA Premium App

This has evolved from a simple system.img with mods now into a custom rom, I have a full wipe in recovery booting from an update.zip
I am now focusing on de constructing apk's and themeing them as UOT just does not cut it...
Ill also be providing a set of patches for people, e.g. restoring facebook, restoring play games etc.

FrAsErTaG said:
This has evolved from a simple system.img with mods now into a custom rom, I have a full wipe in recovery booting from an update.zip
I am now focusing on de constructing apk's and themeing them as UOT just does not cut it...
Ill also be providing a set of patches for people, e.g. restoring facebook, restoring play games etc.
Click to expand...
Click to collapse
awesome work man

Related

[Q] N00b stupid (?) questions.........

First, what is that "deodexed" thing? Can anyone explain it in plain English? I was pretty good addict flashing Roms on my Nexus 1, but am kinda afraid to do anything with my new Dx, for unknown (to me) reason.
Also, i have heard or read somewhere that if i wipe everything in recovery, before flashing new "zip", i will be stuck at M logo forever.....is that correct?? I would appreciate anyone who can explain these.............ty.
WOW!!! Almost 60 people read this and nobody knows what they are doing??? OMG, i did not realize that we all are N00bs here................
Deodexed my friend is the past tense for deodex. Ha I have no clue
Sent from my DROIDX using XDA App
Uhm...its actually the opposite of "odexed"...=]
Sent from my PC36100 using XDA App
deodexed means you can install themes, dont worry any more about that. And a quick way to check is look in your system/framework there shouldnt be any odex files. if you installed the ota YOU ARE NOT DEODEXED, you must of installed a deodexed build or deodexed yourself
bad4u6669 said:
deodexed means you can install themes, dont worry any more about that. And a quick way to check is look in your system/framework there shouldnt be any odex files. if you installed the ota YOU ARE NOT DEODEXED, you must of installed a deodexed build or deodexed yourself
Click to expand...
Click to collapse
Thank you for the answer, but THAT i already knew. What i do NOT know is, what does it do? And what about that Recovery, can i wipe everything before flashing new zip, or do i have to do it, or should i do it?
fuzio1963 said:
Thank you for the answer, but THAT i already knew. What i do NOT know is, what does it do? And what about that Recovery, can i wipe everything before flashing new zip, or do i have to do it, or should i do it?
Click to expand...
Click to collapse
Deodex:
What bad4u6669 was saying is that is all you really need to know... the technical part is irrelevant really. In simple terms... deodex combines the classes.dex in the odex form of an application to it's corresponding .apk. So say you have INeedMoney.apk & INeedMoney.odex... the .odex part is broken down and then recompiled into the .apk.
.odex i supposed to make your phone more "efficient" and what not... and that's why companies use it, but in the dev world... it's not that big of a difference. It's WAY more easier to theme .apk files over .odex. So that's why devs only theme .apks and thus everybody who wants them must deodex there phone.
Recovery:
Wiping is a good way to clear all the garbage from your phone of an old build so the new stuff/information/apks can install cleanly. Now I always wipe the system and cache because those are the main things that are being flashed or rewritten most of the times. I try to stay away from wiping data (your user apps and accounts info) for obvious reasons. Only time I do wipe data is if it caused problems with the installation/flash.
Only time I can see to NOT wipe system is when you are told to be the person who is supplying you with the flashable.zip. Sometimes if it's minor updates to the system... you can save time by not wiping OR wiping will make you lose some vital information. If so, the dev who uploaded the flashable .zip will clearly state not to wipe.
Only in that case I would not wipe my system.
This is just my 2 cents on the questions that were asked.
Maybe this?
MrDanger said:
Deodex:
What bad4u6669 was saying is that is all you really need to know... the technical part is irrelevant really. In simple terms... deodex combines the classes.dex in the odex form of an application to it's corresponding .apk. So say you have INeedMoney.apk & INeedMoney.odex... the .odex part is broken down and then recompiled into the .apk.
.odex i supposed to make your phone more "efficient" and what not... and that's why companies use it, but in the dev world... it's not that big of a difference. It's WAY more easier to theme .apk files over .odex. So that's why devs only theme .apks and thus everybody who wants them must deodex there phone.
Recovery:
Wiping is a good way to clear all the garbage from your phone of an old build so the new stuff/information/apks can install cleanly. Now I always wipe the system and cache because those are the main things that are being flashed or rewritten most of the times. I try to stay away from wiping data (your user apps and accounts info) for obvious reasons. Only time I do wipe data is if it caused problems with the installation/flash.
Only time I can see to NOT wipe system is when you are told to be the person who is supplying you with the flashable.zip. Sometimes if it's minor updates to the system... you can save time by not wiping OR wiping will make you lose some vital information. If so, the dev who uploaded the flashable .zip will clearly state not to wipe.
Only in that case I would not wipe my system.
This is just my 2 cents on the questions that were asked.
Click to expand...
Click to collapse
Now, those are the answers!!
Thank you, i am "smarter" now.

Prepackaged Zips for on the go flashing

As someone who came from a Nexus One, I prefer to flash on the go. I usually take a Zip I have on my phone with ua_redbend in it, edit the update script on the go and drop the appropriate Modem.bin or zImage into it. But for those who haven't done this on the go, all you'll have to do is unpack the tar file most people upload, drop it in the respective ZIP file below using an appropriate program on your phone (unrar, astrozip, astro file manager for a few) and use Clockwork to flash on the go...
Of course, I am not liable for any misflashing that may occur, I just thought that this would help out on the go...
The folder to drop your respective file into will be the kernel_update folder.
Enjoy guys! And flash on the go Go GO!
Edit: Works as well with Infuse. It saved my Bacon when making my 1.0 Infusion so that I could reupload it quickly.
I just download the files to my computer that are flashable with clock and copy them all onto my sd and flash while i drive lol
Sent from my SAMSUNG-SGH-I897 using XDA App
That works too. I just thought that everyone would love to have these.... I love being able to flash anything anytime without sitting down at my computer.
Thanks bedwa, ive been looking for a method like this! All I ever really have to use my ext. Sd for is priority files and a handful of things for post-flash care such as my ever-so-loved launcher 2 apk, setiron's kernel, and a few others so when I help someone flash I put my sd in there phone and install the basics.
So I just drop zimage in w/ no edit?
I appreciate it. Thanks.
Sent from my SAMSUNG-SGH-I897 using XDA App
Flash a z4 kernel and you are kind of stuffed lol. Well it's more of a nandroid and ROMs on the internal SD on my side of the world.
tiger4j said:
Thanks bedwa, ive been looking for a method like this! All I ever really have to use my ext. Sd for is priority files and a handful of things for post-flash care such as my ever-so-loved launcher 2 apk, setiron's kernel, and a few others so when I help someone flash I put my sd in there phone and install the basics.
So I just drop zimage in w/ no edit?
I appreciate it. Thanks.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Download the respective zip and drop it in the "kernel_update" folder in the zip. No other work needed..... I just wanted to make it quicker for others to do this on the go....
so is there a way for this method to restore my captivate back to JF6? i'm on a mac and don't have access to windows all the time, so one click back to JF6 isn't a common option for me
Thats a bit trickier.... I would assume that you could redbend the whole thing, but you would need ALL the partitions and all the proper locations. Though it may be easier with hiemdal.....
lolgrec said:
so is there a way for this method to restore my captivate back to JF6? i'm on a mac and don't have access to windows all the time, so one click back to JF6 isn't a common option for me
Click to expand...
Click to collapse
Idk about JF6 but I've been using the stock OTA UCJH7 as my jump-off for flashing ROMs. I always do it through CWR and (as long as I remember to disable lagfixes) I've never had a problem.
Made my phone a damn good brick by forgetting to disable the lagfix and trying to flash back to stock, but as long as you're not as dumb as me you shouldn't have a problem.
When I first got the phone I spent hours trying to get my computer to recognize it in download mode before eventually coming to the conclusion that I was having hardware problems in my USB ports. I've only ever used Odin to go to stock *once* and I did it on a friend's laptop. So, figure that you and I have about the same access to Odin. I feel pretty confident with this on-the-go method of returning to stock and flashing.
Edit:
Also, now that I think about it, you can probably find a stock JF6 update.zip to be used with CWR. You may even find it somewhere linked to that thread that I posted.
This seems very interesting.
I came from the HTC Legend background and i was always flashing on the go then. I bricked the Cappy when i tried flashing on the go (as i was so used to on the legend).
However, looking at your files, i really have NO IDEA how to use this.
Could you post a step by step guide as to how to use this?
Would be great if you could dummy proof this so users like me won't mis-flash.
At the moment, i'm looking at your files, and i have no idea what order of flashing should another custom rom be.
However, i can only assume that these files are flashed BEFORE the custom ROM?
As in -> recovery -> Kernel & modem -> Custom Rom.
In this order?
These aren't flashable update.zips they're just guts to insert into a pre-made update.zip.
As far as on-the-go flashing with a Captivate... it's the only way to fly ;D
Still confused on how to use this
so the kernel is the zimage file in the update folder, is that correct? and the modem is the modem.bin? those are the files I would need to replace
wvumaniac79 said:
Still confused on how to use this
Click to expand...
Click to collapse
I think I've got it. So i drop the zimage inside the kernel_update folder and leave the redband thing?
I would very much like to try this but am a bit confuzzled Can I download and flash or do I have to do some adding and things. I"m under the impression that I have to mod some more after I download these... would be quite nice to have these w/ the stock zimage or whatever already in the zip...that's just me..mostly because I'm at work and would really like to reflash a rom right now.
Someone please post a step-by-step guide to using this please...
Am confused and without help right now...
Thanks
i agree a step by step would be great
+1 for a step by step!!!

[Q] Customising a custom ROM

OK, finally decided to pass on to a custom ROM, and the choice fell on sunaabh 1.1
Now the question is, I downloaded the ROM and I see it's a standard zip file. Is it possible to further customize it by removing/substituting/adding/updating files in the correct folders, and then flash it normally?
As an example, update the hosts file, removing the useless HTC apps, preinstalling titanium or any other app I like?
If it is possible, should I unzip the ROM, do my things, and zip it back, or does it require anything special?
Thanks in advance!
Veon11 said:
If it is possible, should I unzip the ROM, do my things, and zip it back, or does it require anything special?
Click to expand...
Click to collapse
Yes, it should be as simple as that. Most likely you do not need to re-sign the rom.zip since you're already using a custom recovery (assuming you have rooted your phone), but I signed mine anyway, so I didn't get to confirm it myself. Good luck and have fun!
Veon11 said:
OK, finally decided to pass on to a custom ROM, and the choice fell on sunaabh 1.1
Now the question is, I downloaded the ROM and I see it's a standard zip file. Is it possible to further customize it by removing/substituting/adding/updating files in the correct folders, and then flash it normally?
As an example, update the hosts file, removing the useless HTC apps, preinstalling titanium or any other app I like?
If it is possible, should I unzip the ROM, do my things, and zip it back, or does it require anything special?
Thanks in advance!
Click to expand...
Click to collapse
You can do exactly that. Open it up, mess around, making sure everything stays in the correct folder, zip it back up, and you're done. No need to sign if you're on Clockworkmod recovery.

[Q] How do you install .zip updates without CWM or TWRP?

For those of us with a locked bootloader who can't install CWM or TWRP, how do we install zip files? Such as a theme for a deodex TW ROM?
I've done some googling but everything I find just says "install CWM". ugh
Looks like some devs in the past have been able to modify the 3E recovery to remove the signature verification check. But I don't think we have that yet.
There is a modified 3E recovery in this thread below with instructions on how to install. But it's for a different phone and might kill ours. I dunno.
http://forum.xda-developers.com/showthread.php?t=909213
You dont.
Place or replace the files manually. Or be paitient and wait a bit for the bootloader unlock
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Bender B. Rodgriguez said:
You dont.
Place or replace the files manually. Or be paitient and wait a bit for the bootloader unlock
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Click to expand...
Click to collapse
Perfect answer.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
Bender B. Rodgriguez said:
You dont.
Place or replace the files manually. Or be paitient and wait a bit for the bootloader unlock
Click to expand...
Click to collapse
There is a huge amount of files in the extracted zip. Not really sure what all needs to be copied over. I did manually replace the systemui and it changed a few things. But I'm definitely missing quite a bit of the theme still. I'll keep playing with it for a bit longer I guess.
Edit: I think I'm starting to figure it out. There are a ton of res folders in the theme and if I open the stock APK's and copy the res contents from the theme over to the existing res folders, that might do it.
But it's time to eat dinner now.
CZ Eddie said:
There is a huge amount of files in the extracted zip. Not really sure what all needs to be copied over. I did manually replace the systemui and it changed a few things. But I'm definitely missing quite a bit of the theme still. I'll keep playing with it for a bit longer I guess.
Edit: I think I'm starting to figure it out. There are a ton of res folders in the theme and if I open the stock APK's and copy the res contents from the theme over to the existing res folders, that might do it.
But it's time to eat dinner now.
Click to expand...
Click to collapse
CWM flashables are nothing more than batch files or macros of sorts. Just manually follow along with whatever the updater-script is doing.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
Yay, it worked. Thanks guys.
7zip & Root Explorer are once again my two favorite utilities on the planet.
This is the theme I just applied to my deodex AT&T ROM in case anyone is wondering.
http://forum.xda-developers.com/showthread.php?t=2264498
CZ Eddie said:
Yay, it worked. Thanks guys.
7zip & Root Explorer are once again my two favorite utilities on the planet.
This is the theme I just applied to my deodex AT&T ROM in case anyone is wondering.
http://forum.xda-developers.com/showthread.php?t=2264498
Click to expand...
Click to collapse
So how did you do it? And does it work for any other zip files ?
eraycetin said:
So how did you do it? And does it work for any other zip files ?
Click to expand...
Click to collapse
For themes you can just open the zip file in Windows and locate the internal files. Then use those to replace the same files that are on the phone.
But the Google Play store has apps that will flash zips without needing recovery or a reboot. I don't know the names but if you Google you'll find it.

TWRP Flashable Zip to remove unwanted system apps after ROM Flashing

Hi Flashaholics out there.
One of the common issues with people who frequently flash roms is removing those unused system applications.
There are various methods of doing this.
Using apps like Titanium Backup to Freeze.
Deleting apps from /system/app or /system/priv-app using root explorer apps.
mounting system partition in Twrp and removing respective directories etc.
But when flashing multiple roms every day/week . after a few times even these methods seem boring and time taking (atleast I am lazy to do this).
So i just modified the updater script in a twrp flashable zip to remove unwanted apps.
Link to download : https://goo.gl/5zQWNd
Here is the list of apps removed.
AntHalService,
BasicDreams,
Calendar,
Email,
ExactCalculator,
messaging,
NexusLauncher,
OnePlusCamera_Luis,
OnePlusGallery_Luis,
LatinIME,
GoogleCamera_Luis,
AudioFX,
Eleven,
Gallery2,
Gcam,
OnePlusCamera,
OnePlusCameraService,
Trebuchet
Added
SwiftKey keyboard app to data partition.
Instructions :
Flash your Rom along with Gapps, Root Package , Modules etc in usual manner.
Flash this zip file.
Reboot.
Incase anyone want to modify/add/delete/undelete any of the folders,apps you are free to modify the contents of the Updater script.
Hit Thanks button.
A Cup of green tea doesn't hurt - Click Here
You should definitely add a disclaimer stating that users who use this zip should NOT expect any support from their ROM maintainers.
Deleting system apps is can cause several issues and it would be very unreasonable to expect support after you have made so many modifications.
legendavey said:
You should definitely add a disclaimer stating that users who use this zip should NOT expect any support from their ROM maintainers.
Deleting system apps is can cause several issues and it would be very unreasonable to expect support after you have made so many modifications.
Click to expand...
Click to collapse
I
I am very open to add such Disclaimer if i really remove something that can cause an unstable system.
But whatever apps i removed are just basic apps and DO NOT effect the system in any manner.
Sent from my OnePlus3T using XDA Labs
Babloo289 said:
I
I am very open to add such Disclaimer if i really remove something that can cause an unstable system.
But whatever apps i removed are just basic apps and DO NOT effect the system in any manner.
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
Check your device logs once you've removed these apps and compare them with logs from before you remove them. Modifying system files definitely has an effect on the system.
legendavey said:
Check your device logs once you've removed these apps and compare them with logs from before you remove them. Modifying system files definitely has an effect on the system.
Click to expand...
Click to collapse
I really wish you could help me with logs....
As long as you don't open these apps they won't be having any effect.
Anyways you are free to use / edit / share this zip file. No compulsion.
Sent from my ONEPLUS A3003 using Tapatalk
I know this is an old topic, but anyone know a Flashable Zip to actually freeze an app? (Not remove)
I want to know how to create such uninstaller files!!
Bcoz the rom I'm using isn't rooted and I don't want to root it!!
Rooting often makes my device unstable and so I want to delete system apps without rooting using these ZIP files!!!

Categories

Resources