[Q] Need Guidance for Theming - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

I am trying to learn how the theme a ROM. Example GoldenEye37 ROM (for my personal theme), the only thing I edit was some PNG's (not 9.png)using gimp but every time I try to flash the themed ROM i get this "com.android.keyguard has stopped " or just stuck on Samsung boot. Sorry been at this for 3 days now and normally I am good on searching for the answers. Couldn't find one that worked so far.
Any ideas why?
This is the guide ive been following http://forum.xda-developers.com/showthread.php?t=2251719
Thank You
Edit: So found out my problem in another forum. I was signing the framework-res.apk and SystemUI.apk . Signing them was causing the problem.
Now I need to find out when I need to sign the apk and not to, also what zipalign does.
Sorry for making a useless thread. I got impatiant after the 3rd day
At&t S4 SafeStrap

You could also grab a flashable vr theme zip, put all you .png files into their correct places in the flashable zip and zip it up and flash. No need for decompiling/recompiling/signing/zip aligning at all. The VR Theme flashable zip will integrate your .png files into each respective .apk file and do everything for you. You can grab my Red BadAss Flashable Theme and use it as a template. It is made for use on 4.2.2-4.3 roms or 4.4.2 roms. It has checks in it that will see which you have and flash the correct version.
It really is a easier way of making a theme. It will allow you to put .png, .9.png, .xml, or any other file type used inside the .apk and will change it for you.
Sent From My ATT S3 i747 Dark Blue BadAss Theme

RockRatt said:
You could also grab a flashable vr theme zip, put all you .png files into their correct places in the flashable zip and zip it up and flash. No need for decompiling/recompiling/signing/zip aligning at all. The VR Theme flashable zip will integrate your .png files into each respective .apk file and do everything for you. You can grab my Red BadAss Flashable Theme and use it as a template. It is made for use on 4.2.2-4.3 roms or 4.4.2 roms. It has checks in it that will see which you have and flash the correct version.
It really is a easier way of making a theme. It will allow you to put .png, .9.png, .xml, or any other file type used inside the .apk and will change it for you.
Sent From My ATT S3 i747 Dark Blue BadAss Theme
Click to expand...
Click to collapse
Thank you! I really appreciate it. Love your work! I downloaded your Red Badass theme to use as a template.
I want to theme different custom roms.
1.Do I just delete the framework, systemUI...etc..files you made in there and replace it with my theme?
2. Do I need to do anything to META-INF folder for different Roms 4.4.2 I want to theme?
3. What do you mean by zip it up and flash? Do I need a tool for this?
My apologies if my questions are common sense. I'm just starting to learn on my free time. I'm really good at building circuits/electronics though [emoji2]
Haha!

stric85 said:
Thank you! I really appreciate it. Love your work! I downloaded your Red Badass theme to use as a template.
I want to theme different custom roms.
1.Do I just delete the framework, systemUI...etc..files you made in there and replace it with my theme?
2. Do I need to do anything to META-INF folder for different Roms 4.4.2 I want to theme?
3. What do you mean by zip it up and flash? Do I need a tool for this?
My apologies if my questions are common sense. I'm just starting to learn on my free time. I'm really good at building circuits/electronics though [emoji2]
Haha!
Click to expand...
Click to collapse
1) I would suggest that you delete out all of the .PNG files inside of each folder, then add your .PNG files into the correct folders where they came from.
2) The Meta file should not need to be replaced and should work on any touchwiz 4.4.2 based ROM. When you unzip my theme you will see different folder right away. You will see "system" and "system4.3" inside. The one labeled "system" will work on 4.4.2 based Roms, the one labeled "system4.3" will work on 4.2 and 4.3 based Roms. Likewise for the other folders like "vrtheme" =4.4.2 and "vrtheme4.3" =4.2.2 and 4.3 based Roms.
3) Once you have put all your .PNG files into their respective folders, then you can use Root Explorer (on the phone) to ZIP the theme back up. Or you could use a PC based software to zip the theme back up (if your working on a PC to change out the .PNG files). Once it is zipped up you can put it on your phone and use your custom recovery/safestrap recovery to flash the created zip file.
Any further questions feel free to ask, I can help as needed.

RockRatt said:
1) I would suggest that you delete out all of the .PNG files inside of each folder, then add your .PNG files into the correct folders where they came from.
2) The Meta file should not need to be replaced and should work on any touchwiz 4.4.2 based ROM. When you unzip my theme you will see different folder right away. You will see "system" and "system4.3" inside. The one labeled "system" will work on 4.4.2 based Roms, the one labeled "system4.3" will work on 4.2 and 4.3 based Roms. Likewise for the other folders like "vrtheme" =4.4.2 and "vrtheme4.3" =4.2.2 and 4.3 based Roms.
3) Once you have put all your .PNG files into their respective folders, then you can use Root Explorer (on the phone) to ZIP the theme back up. Or you could use a PC based software to zip the theme back up (if your working on a PC to change out the .PNG files). Once it is zipped up you can put it on your phone and use your custom recovery/safestrap recovery to flash the created zip file.
Any further questions feel free to ask, I can help as needed.
Click to expand...
Click to collapse
hey um quick question. theres a theme out there called forum.xda-developers.com/showthread.php?t=2467075. How can i apply this theme to the samsung touchqiz stock rom. Im rooted withs afestrap and i backed up my current rom. If i extract the apkj i see a bunch of files pertaining to the system/fonts/wallpapaer. will moving these to /SYSTEM apply the theme being that stock roms lack a theme engine. Or do you know of any other way to apply this theme.
**THANKS IN ADVANCE

androidfine16 said:
hey um quick question. theres a theme out there called forum.xda-developers.com/showthread.php?t=2467075. How can i apply this theme to the samsung touchqiz stock rom. Im rooted withs afestrap and i backed up my current rom. If i extract the apkj i see a bunch of files pertaining to the system/fonts/wallpapaer. will moving these to /SYSTEM apply the theme being that stock roms lack a theme engine. Or do you know of any other way to apply this theme.
**THANKS IN ADVANCE
Click to expand...
Click to collapse
I checked out the link a bit. It is made for CM11. You could grab all the PNG files and copy them into the vrtheme flashable zip. BUT you will need to RENAME ALL/MOST of the .pngs for use on a Touchwiz based rom.
http://forum.xda-developers.com/showthread.php?t=2467075
It is a lot of work, but can be done. I did it with one of my themes from an older phone where I had a Touchwiz Based Theme and a CM/AOKP Based ROM Themes.
There is no way just to flash it as Touchwiz does not use the theme engine.

RockRatt said:
I checked out the link a bit. It is made for CM11. You could grab all the PNG files and copy them into the vrtheme flashable zip. BUT you will need to RENAME ALL/MOST of the .pngs for use on a Touchwiz based rom.
http://forum.xda-developers.com/showthread.php?t=2467075
It is a lot of work, but can be done. I did it with one of my themes from an older phone where I had a Touchwiz Based Theme and a CM/AOKP Based ROM Themes.
There is no way just to flash it as Touchwiz does not use the theme engine.
Click to expand...
Click to collapse
Okay so forget about flashjng it on or applying it via theme engine. How about remove touchwiz all together and use this theme/up instead .
Lol I really don't want to do the whole renaming/editing to get this to work right.
Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app

Related

[Q] Deodexed Theme Template or equivalent?

Hi all,
Wondering if anyone has made a stock theme template for the Shift? All I see are ROMs but I like to mess around with a clean stock deodexed system for a while before I flash a full ROM. I would make one myself but I'm still learning how the update-script/updater-script works. Is there one, or does everyone just flash ROMs around here? Closest I've found is the theme eraser, but that assumes you're already deodexed (no .odex removal script). Any help would be appreciated, links to guides, tutorials, how CWM works, a stock theme template, anything. And thanks in advance.
http://forum.xda-developers.com/showthread.php?t=948566
there ya go
Thank you, but this is a full ROM not a theme template.
Sent from my PG06100 using Tapatalk
Are you looking for the stock framework then?
Sent from my PG06100 using XDA App
Basically just the /system/app and /system/framework dirs deodexed. no other changes to the system folder. And a script that removes the odex files. Can that be run with just an update-script, or would it need other things?
Sent from my PG06100 using Tapatalk
Just unzip the zip file from the thread foxsdaddy67 linked & you have access to those two deodexed directories.
I guess I'm not being clear enough. I'm aware those files are there, what I don't understand is how cwm works. I'm coming from sdx where every rom, theme and mod had the same structure with only an update script in meta-inf. By testing I did find out that just having an update script works though I'm not sure if a script will run. Guess I'll have to test it.
Bottom line is that there is no flashable theme template zip, only roms, but I think I'll be fixing that shortly.
Sent from my PG06100 using Tapatalk
Tambourineman is developing for the Shift?!? THATS AWESOME!!
No, I'm not. Just an end user.

changing systemui.apk

I would like to take the systemui.apk from the galaxy rom and apply it to the stock honeycomb 3.1 rom, is there away to do such a thing? I ask this because i like the theme from the galaxy rom and am up for a change but i don't want to flash an entire new rom. I ask this assuming that the systemui.apk is responsible for the theme of a rom.
bump
edited the question so its alittle more to the point.
Just a couple of days ago I themed the Home/Back/Recent Apps icons on the bottom bar to be a different color. All I did was replace those three png files with ones i photo-shopped in the systemUI.apk I used 7zip to replace the pngs within the apk and ES file explorer to replace the systemUI.apk on the tab. If you're interested in more detailed instructions hit me up.
I don't think its all of what you're looking to do but it's a step closer.
no that's not exactly what I am looking for. Although that is cool you should post instructions and screenshots for everyone to see.

[POLL] RE: MAD Industries SYSTEMUI MODS. See [MOD] thread first

This thread picks up where "[MOD] [SYSTEMUI] Enable Wifi Toggle / Reconfigure and theme toggles [ICS Blue!]" leaves off. See post #174
Alright guys so here's the deal. The *proper* way to remove the location icon, battery full notification, and/or clock is through a smali edit. Smali files are contained in dex files and jar files. Our stock rom is an odexed rom meaning that the dex file is specifically optimized for our device; its also signed. So in order to change anything, the steps are:
1) Pull core.jar, ext.jar, framework.jar, android.policy.jar, services.jar, services.odex
2) Disassemble the services.odex file
3) Decompile smali files and compare decompiled source to smali code to find correct values
4) Make edits to smali
5) Recompile smali files
6) Repackage odex file
7) Pull signatures from original odex file
8) Use them to resign new odex file
9) Push back to phones
10) Repeat for each version of the statusbar mod
As you can see this takes a very long time and is rather tedious. Work is pretty significantly reduced by using a deodexed rom.
I would like feedback from people regarding whether beans-only support is suitable or if this project should be elevated to a full rom. I have a feeling that even if I do just these couple of edits there will be more that require deodexing the services.
More detailed POLL options
1) Continue work with Beans support only (immediate)
2) Elevate project to full ROM status and introduce a new rom to the scene (requires time and preferably a team)
3) Just do the battery full mod and the location mod and forget any other status bar icon mods. (including removing battery/clock)
4) Leave the statusbar icons alone until a source-built rom is made available
5) (forgot to include) "Hack" solutions such as removing the png files
Delete
#3
Sent from my Commodore 64..
READY.
load"*", 8,1
1
Edit: Definitely just support deodexed roms. Way too much work for odex and if people are into modding their phone they should be deodexed anyway Imo.
Sent from my SGS3
3
Sent through Mental Telepathy...or my TF201
I say just provide support for Deodexed roms (not specifically only Beans Rom though). No reason to put you through all that time and effort of working on a stock Odexed rom.
Thank you again for your work. It is certainly appreciated by us all!
Hypnosis4U2NV said:
#3
Sent from my Commodore 64..
READY.
load"*", 8,1
Click to expand...
Click to collapse
Off topic but I like that Sig was my first computer
Sent from my SCH-I535 using xda premium
1!!!
Sent from sexy a** Galaxy S III
i vote whatever is easier for you. i am sure i am with the many here who appreciate what you've done and will appreciate what you will do in the future
but i asked in another thread and just saw you mention it but i tried playing around with some xml files and wasn't able to remove clock from status bar so a how to would be greatly appreciated if you or another more qualified individual has the time. if not no worries
i say 1 LOL

[Q] Want to theme phone

Not sure if this is the right place or not, but I just got my s5 tonight and I would like to theme it a bit by changing some icons. On my old phones, I would just pull framework res or sysUI and replace the pngs I wanted to, then push it back to the phone. It does not look like that is an option since it looks like most everything is qmg now. Should I use Samsung theme designer or do custom roms play nicer with custom themes? I am rooted, but I have not installed safestrap or a rom yet.
Check out themes n apps section.. or search for an app on xda called qmg2png. It'll convert qmg to png for editing

[Q] Deodexing problem

Hello, I'm an owner of XPERIA Z1, using the latest Customized Lollipop firmware (.242), struggling very much to deodex his device. I've tried 2 different methods, which both lead to problems:
1.) Using a flashable zip provided by venkat kamesh, in this thread: link. After flashing, I don't face any prominent problems, like FCs on system apps e.t.c. But whenever I'm trying to launch any app requiring OpenGL ES 2 , I get an error message/toast notification, about that, saying that my device is incompatible. And Google Play refuses to even show these apps in the search results, listing them as incompatible.
2.) Modifying the flashable zip to use my own /app, /priv-app, /framework, and even /vendor/apps fully deodexed folders, leading to a bootloop, and refusing to show more than 2 seconds of the bootanimation before rebooting. I thought that some package may be incompatible with my firmware, but this theory can't be proved yet.
*I've tried fixing permisions using both terminaland adb using this method: link. No result either.
Is there any other solution? Thank you!
NFS_FM said:
Hello, I'm an owner of XPERIA Z1, using the latest Customized Lollipop firmware (.242), struggling very much to deodex his device. I've tried 2 different methods, which both lead to problems:
1.) Using a flashable zip provided by venkat kamesh, in this thread: link. After flashing, I don't face any prominent problems, like FCs on system apps e.t.c. But whenever I'm trying to launch any app requiring OpenGL ES 2 , I get an error message/toast notification, about that, saying that my device is incompatible. And Google Play refuses to even show these apps in the search results, listing them as incompatible.
2.) Modifying the flashable zip to use my own /app, /priv-app, /framework, and even /vendor/apps fully deodexed folders, leading to a bootloop, and refusing to show more than 2 seconds of the bootanimation before rebooting. I thought that some package may be incompatible with my firmware, but this theory can't be proved yet.
*I've tried fixing permisions using both terminaland adb using this method: link. No result either.
Is there any other solution? Thank you!
Click to expand...
Click to collapse
Are you deodexing every odexed file? I normally only deodex those files whose smali I'm going to mod. There's not much point deodexing anything else..
Ticklefish said:
Are you deodexing every odexed file? I normally only deodex those files whose smali I'm going to mod. There's not much point deodexing anything else..
Click to expand...
Click to collapse
Well yes, I just suppose that a fully odexed or deodexed system is more stable than a mix of those two.
Is there any red-line that I must not pass? Like a paricular .apk or .jar file, for example. Also on KitKat, we had to have fully deodexed system for some mods to work (like the 4K Mod by Chocolatetrain). This restriction doesn't exist on Lollipop, which utilises ARM?
NFS_FM said:
Well yes, I just suppose that a fully odexed or deodexed system is more stable than a mix of those two.
Is there any red-line that I must not pass? Like a paricular .apk or .jar file, for example. Also on KitKat, we had to have fully deodexed system for some mods to work (like the 4K Mod by Chocolatetrain). This restriction doesn't exist on Lollipop, which utilises ARM?
Click to expand...
Click to collapse
No. You can, in theory, deodex as many or as few APK and JAR files as you like.
The whole point of deodexing is to make it easy to change smali files. It doesn't affect stability or performance, it's solely for modding. I normally deodex SystemUI.apk, framework.jar and android.policy.jar then leave the rest of the odexed files alone.
(Well, technically a deodexed ROM takes longer to boot if the Dalvik cache has been wiped but that's about it.)
The only reason I ask is that, if you only need to deodex a few files, there are various tools available for deodexing individual files instead of whole ROM's. I could mention that Tickle My Android can do it but that'd be a bit cheeky.
Oh, looking at that 4K mod you mentioned, it doesn't actually need the whole ROM to be deodexed. But there are so many files that are being replaced that do need to be deodexed that it's probably just simpler to say the entire ROM needs to be.
Ticklefish said:
No. You can, in theory, deodex as many or as few APK and JAR files as you like.
The only reason I ask is that, if you only need to deodex a few files, there are various tools available for deodexing individual files instead of whole ROM's. I could mention that Tickle My Android can do it but that'd be a bit cheeky.
Click to expand...
Click to collapse
OK, thank you for the answer, I will try then deodexing just the essentials: SystemUI.apk, framework.jar, framework-res.apk and SemcGenericUxpRes.apk
Final question, as I see in your program's thread, Lollipop editing/deodexing is not supported yet, so do you recommend an automate tool for the deodexing process (like JoelDroidLollipopBatchDeodexe or any other), or the manual method?
NFS_FM said:
OK, thank you for the answer, I will try then deodexing just the essentials: SystemUI.apk, framework.jar, framework-res.apk and SemcGenericUxpRes.apk
Final question, as I see in your program's thread, Lollipop editing/deodexing is not supported yet, so do you recommend an automate tool for the deodexing process (like JoelDroidLollipopBatchDeodexe or any other), or the manual method?
Click to expand...
Click to collapse
TMA does support deodexing of Lollipop APK files...I just can't guarantee that it'll be able to deodex everything. Guess I need to reword the OP....lol
NFS_FM said:
OK, thank you for the answer, I will try then deodexing just the essentials: SystemUI.apk, framework.jar, framework-res.apk and SemcGenericUxpRes.apk
Final question, as I see in your program's thread, Lollipop editing/deodexing is not supported yet, so do you recommend an automate tool for the deodexing process (like JoelDroidLollipopBatchDeodexe or any other), or the manual method?
Click to expand...
Click to collapse
you also can use advance apktool (nice tool) , but you will have to update the apktool to the last one i think its the 2.0.0because is not updated.. cheers
juanpirulo said:
you also can use advance apktool (nice tool) , but you will have to update the apktool to the last one i think its the 2.0.0because is not updated.. cheers
Click to expand...
Click to collapse
Hm... I will try that too if my (already) deodexed apks won't work, thank you.
Please ask in the Q&A section for your device.
Cross device section is for development only
Thread closed

Categories

Resources