Editing the stock ROM - Galaxy S Advance I9070 Q&A, Help & Troubleshooting

Is there any way to decompile the stock rom and delete some unwanted apps and recompile it?

You might as well make a script to debloat and flash that...
Modifying stock ROMs would be a risky process since corrupt ones can brick you hard.

harith.unnikrishnan said:
You might as well make a script to debloat and flash that...
Modifying stock ROMs would be a risky process since corrupt ones can brick you hard.
Click to expand...
Click to collapse
Bro .. can u give me link of 16-09 nightly .. of cm 10.1?

Heartstoler1991 said:
Bro .. can u give me link of 16-09 nightly .. of cm 10.1?
Click to expand...
Click to collapse
You mean 16-11? And why that question is in the thread that has nothing to do with CM?
http://goo.im/devs/diegoch/janice/cm-10.1/nightly

Y:cool: said:
Is there any way to decompile the stock rom and delete some unwanted apps and recompile it?
Click to expand...
Click to collapse
yes you can and it is not word decompile
you cant just edit stock rom from odin flashable rom
you have to take backup and use android kitchen for building rom after editing for setting up kitchen look here
use apk multitool to decompile apks and edit it and to recompile use the same with the same
for theming edit systemui.apk and framework-res.apk and tw_framework-res.apk

Related

[NEED]nexus s stock framework(theme) files.

i need stock 2.3 framework.apk, systemui.apk file and all other theme related files.
Plz i need it.
Odexed or deodexed?
Maximilian Mary said:
Odexed or deodexed?
Click to expand...
Click to collapse
Thats not important.
snowcloud said:
i need stock 2.3 framework.apk, systemui.apk file and all other theme related files.
Plz i need it.
Click to expand...
Click to collapse
why don't you just download a stock rom? there's everything you need in it.
here's a deodexed 2.3.4 : http://forum.xda-developers.com/showthread.php?t=1060192
snowcloud said:
i need stock 2.3 framework.apk, systemui.apk file and all other theme related files.
Plz i need it.
Click to expand...
Click to collapse
Here you go.

[Q] Making A Rom

I am making a rom using the ofiicial sammy JB as base rom....but the problem is i cant find a boot.img file...if any one could help me with that it would be good!
You don't need a boot.img ... If you make a ROM with no boot.img, the kernel isn't overridden, and the person who flashes it stays with his previous kernel.
thank you
If you use dxisda's kitchen, add null boot.img, and the kitchen will remove it when repackaging
ok i got few questions!!
1. do i need to upload systemui.apk for UOT kitchen?
2.Which is a better app to edit apk's: APKTOOL or APK MANAGER
3. How to remove the touchwiz launcher and replace it with apex launcher.
4. Is there an easy noobish guide to use aroma installer....??
nlygamz said:
ok i got few questions!!
1. do i need to upload systemui.apk for UOT kitchen?
2.Which is a better app to edit apk's: APKTOOL or APK MANAGER
3. How to remove the touchwiz launcher and replace it with apex launcher.
4. Is there an easy noobish guide to use aroma installer....??
Click to expand...
Click to collapse
1. Yes
2. Apktool if you are a pro. Apk manager if you are a newb..
3. Remove seclauncher from system/app and put the apex apk over there.
4. Aroma is a complex shizz..
I do not respond to tech support via PM
i made a new systemui.apk and i wanna know how do i add it to my rom? do i need a META-INF folder? i have one already in my rom do i need to edit it in some way?
and also what is deodex and odex roms? i have an option like it in kitchen!
nlygamz said:
and also what is deodex and odex roms? i have an option like it in kitchen!
Click to expand...
Click to collapse
Read my thread from signature. There is some explanations.
and also while using kitchen i am getting the following errors....tried googling but got no answer
Error: No updater script found
working folder found
Error:boot.img not found
Click to expand...
Click to collapse
nlygamz said:
and also while using kitchen i am getting the following errors....tried googling but got no answer
Click to expand...
Click to collapse
You my friend need to do a lot of reading!
Head over to xda-u
I do not respond to tech support via PM
ok....another question.... i solved the updater script problem but i am getting the boot.img error again.
How do I get the boot.img?
ok....i was done making it and it got stuck on splash screen ... the one where it shows
Samsung Galaxy S advance GT-I9070
Click to expand...
Click to collapse
any idea what might be the cause?
tried taking logcat ..... could not take logcat!
Just a heads up, when you re-pack a ROM with kitchen... If you get an error saying "header mismatch" while zipaligning, then know that your ROM will not boot.
no error
panda00 said:
Just a heads up, when you re-pack a ROM with kitchen... If you get an error saying "header mismatch" while zipaligning, then know that your ROM will not boot.
Click to expand...
Click to collapse
no error!!
Ok....now it goes past the splash screen and but goes directly into recovery!! -_-
nlygamz said:
Ok....now it goes past the splash screen and but goes directly into recovery!! -_-
Click to expand...
Click to collapse
Protip : stop using the kitchen. It's made for older devices!
I do not respond to tech support via PM
Shaaan said:
Protip : stop using the kitchen. It's made for older devices!
I do not respond to tech support via PM
Click to expand...
Click to collapse
you talking about dxsida's kitchen or UOT? beacuse i am not using UOT!
And if you are talking about dsxida's kitchen can you help me out with how to do stuff myself?

need help about decompile framework-res.apk

hi all
i got these error when decompile homani framework-res.apk port for TX. please help. thanks
C:\apktool>apktool.bat d framework-res_homani_v2.apk
Exception in thread "main" java.lang.IllegalArgumentException: MALFORMED
at java.util.zip.ZipCoder.toString(Unknown Source)
at java.util.zip.ZipFile.getZipEntry(Unknown Source)
at java.util.zip.ZipFile.access$900(Unknown Source)
at java.util.zip.ZipFile$1.nextElement(Unknown Source)
at java.util.zip.ZipFile$1.nextElement(Unknown Source)
at brut.directory.ZipRODirectory.loadAll(ZipRODirectory.java:110)
at brut.directory.ZipRODirectory.loadFiles(ZipRODirectory.java:95)
at brut.directory.AbstractDirectory.getFiles(AbstractDirectory.java:39)
at brut.directory.AbstractDirectory.getFiles(AbstractDirectory.java:33)
at brut.directory.AbstractDirectory.containsFile(AbstractDirectory.java:66)
at brut.androlib.ApkDecoder.hasSources(ApkDecoder.java:197)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:83)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Click to expand...
Click to collapse
Post me your framework.
dully79 said:
Post me your framework.
Click to expand...
Click to collapse
OK. thanks in advanced
https://www.dropbox.com/s/1d5ttggidnch6ps/Xperia_i1_Full_Framework_Port_For_Xperia_TX%28No-Theme%29_v2.zip
Wheres it from and what have you done to it?
dully79 said:
Wheres it from and what have you done to it?
Click to expand...
Click to collapse
i've got it from http://sonyviet.vn/diendan/threads/25751/
And i want decompile to change something in it. please help. i dont know why can't decompile it. i modded many things and all good but only this file is not.
I asked owner thread but him dont want to help me. he is not kind enough
devilmaycry2020 said:
i've got it from http://sonyviet.vn/diendan/threads/25751/
And i want decompile to change something in it. please help. i dont know why can't decompile it. i modded many things and all good but only this file is not.
I asked owner thread but him dont want to help me. he is not kind enough
Click to expand...
Click to collapse
Have you tried installing it?
Code:
apktool if framework-res.apk
have you added things into the apk?
dully79 said:
Have you tried installing it?
Code:
apktool if framework-res.apk
have you added things into the apk?
Click to expand...
Click to collapse
yes, it did it already.
could you decompile it ? no, i hadn't put anything into that apk yet
It reports it as malformed, so it's probably been modified incorrectly.
Speak to whoever ported it.
dully79 said:
It reports it as malformed, so it's probably been modified incorrectly.
Speak to whoever ported it.
Click to expand...
Click to collapse
this framework work on my phone but still some bug so i want to edit it. i said i asked him but he didn't answer me. so no way ?
It wont allow me to decompile and i have my android sdk up to date and ive installed the framework.
Have you added any modifications AFTER installing?
If yes, then try the unmodified version.
If no, then you will have to wait for an answer or look for a work around.
When the new ICS versions were released we had to use older/modified versions of aapt and apktool.
See if you can find any and try that. I think i used wanams modified apktool from the sgs2 theme thread.
dully79 said:
It wont allow me to decompile and i have my android sdk up to date and ive installed the framework.
Have you added any modifications AFTER installing?
If yes, then try the unmodified version.
If no, then you will have to wait for an answer or look for a work around.
When the new ICS versions were released we had to use older/modified versions of aapt and apktool.
See if you can find any and try that. I think i used wanams modified apktool from the sgs2 theme thread.
Click to expand...
Click to collapse
thanks. i didn't add any modifications AFTER installing . i mean the apk is untouch. but couldn't decompile . that's all.
devilmaycry2020 said:
thanks. i didn't add any modifications AFTER installing . i mean the apk is untouch. but couldn't decompile . that's all.
Click to expand...
Click to collapse
please help.

[Q] Debloating rooted stock cwm rom

Does anybody know how to deboat this stock rom. Developer wrote that this is possible, but I have no idea how to do it. Thanks
http://forum.xda-developers.com/showthread.php?t=2409400
jan.zogmund said:
Does anybody know how to deboat this stock rom. Developer wrote that this is possible, but I have no idea how to do it. Thanks
http://forum.xda-developers.com/showthread.php?t=2409400
Click to expand...
Click to collapse
Hi. Search for debloat in s3 mini forum, and you'll find threads/posts on what's safe to remove, then install titanium backup or similar to uninstall systemapps, or simply use a filemanager, go to "/system/app" and delete what you dont want.
i want to know too, Tys0n how do u Deodex, zipalign, and debloat a Sock ROM before flashing and the most important thing how do u make it a flashable zip.
Thanx
Kpoch said:
i want to know too, Tys0n how do u Deodex, zipalign, and debloat a Sock ROM before flashing and the most important thing how do u make it a flashable zip.
Thanx
Click to expand...
Click to collapse
I'm using dsixda kitchen in cygwin.
Heve a look at enox.co [HOWTO] Build your own rom for GT-I8190(golden) with dsixda's Android Kitchen
tys0n said:
I'm using dsixda kitchen in cygwin.
Heve a look at enox.co [HOWTO] Build your own rom for GT-I8190(golden) with dsixda's Android Kitchen
Click to expand...
Click to collapse
i installed kitchen and it works very well, there is a way to add Xposed framework like busybox or root ?? i want to implement more tweaks beore flashing.
thank you tyson
Thank you guys

Changing the offline charge battery icon

hi guys. What i can do for change it? i want to mention that im on cm 12.1 rom
op3n said:
hi guys. What i can do for change it? i want to mention that im on cm 12.1 rom
Click to expand...
Click to collapse
This is relatively simple. You just need to find the image files that are used for that icon. They're probably inside SystemUI.apk but could be inside framework-res.apk instead.
Ticklefish said:
This is relatively simple. You just need to find the image files that are used for that icon. They're probably inside SystemUI.apk but could be inside framework-res.apk instead.
Click to expand...
Click to collapse
i decompiled systemui and framework...its need to deodex also ? bcs i find only xml files
Hmmm... Im not sure for CM, but on Stock, you can change it by going to /system/somc/chargemon(?) I think. Look for similar folders in you /system

Categories

Resources