[POLL] RE: MAD Industries SYSTEMUI MODS. See [MOD] thread first - Galaxy S III General (US Carriers)

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

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.

[Q] circle mod

Hi all
I am searching for the website where I could create a battery mod by myself, by submitting my own files.
Thanks
Nico
UOT Kitchen will allow you to pick from their files to make a flashable mod. If you want to design your own icons for everything, just pull the necessary apks and decompile them yourself.
Sent from my tomato filled Evo

[Q] Need Guidance for Theming

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

[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

[GUIDE] [MOD] Disable Ongoing IME Switcher Notification

Hello everyone my name is Jon Wesley Tranchida (Tran-Chee-Da) is how my last name sounds. Today I will be showing you this very simple mod that you all can implement into your current running rom. This guide and mod should work for all Tab 3 models but I have only tested it on the SM-T210R Model. Please see the requirements below in order for you to fully understand how to make this mod work!
What is this mod?
This mod will allow you to remove that annoying ongoing Keyboard (IME Switcher) notification from your notication panel. For example when you try to type an email this annoying notification pops up in your notification panel and it can get annoying. Here I will show you how to disable this annoying problem!
Requirements:
You need Java JDK 7 or later and you must have some sort of android program that recompiles and decompiles apk files. For example I use Ticklemyandroid. You will need also Notepad++ so you can edit text files. You also must have some knowledge of decompiling and recompiling apk files. You will also need to have and be on a deodexed ROM!
Okay let's get started!
1. First decompile your framework-res.apk
2. You should have all your decompiled files into a working folder, you will need to go to res/values-sw600dp and open up bools.xml with notepad++
3. Here is the code we will need to change. Look closely at the before code and after code. You will need to change the true to false
Before:
Code:
[COLOR="Red"]<bool name="show_ongoing_ime_switcher">true</bool>[/COLOR]
Now change to false as shown below
After:
Code:
[COLOR="Red"]<bool name="show_ongoing_ime_switcher">false</bool>[/COLOR]
4. Save text file and then recompile framework-res.apk
5. Now copy it to your tablets root system/framework folder and enjoy
6. That's it wasn't that easy?
Hope you all enjoy what I found!
Some time ago there was a better and more noob friendly method invented, called Xposed Framework it makes everything easier and if you've got Wanam MOD it makes your ROM much more customizable
Minto107 said:
Some time ago there was a better and more noob friendly method invented, called Xposed Framework it makes everything easier and if you've got Wanam MOD it makes your ROM much more customizable
Click to expand...
Click to collapse
Yes you are right mate
But I like mods like these better because you do not need xposed framework and it makes things a lot better for some people
Also wanam xposed really isn't supposed to be used on this tablet as it's only been tested on the Sammy GS3 and GS4. You could potentially just soft brick your tablet for no reason at all
JT1510365 said:
Yes you are right mate
But I like mods like these better because you do not need xposed framework and it makes things a lot better for some people
Also wanam xposed really isn't supposed to be used on this tablet as it's only been tested on the Sammy GS3 and GS4. You could potentially just soft brick your tablet for no reason at all
Click to expand...
Click to collapse
But Xposed is next framework in system and it's almost impossible to brick Tab 3 and there's a zip that deletes framework so it's safe at least for me
Wysłane z mojego GT-I9305

Categories

Resources