[Q] Odex Me - T-Mobile, Samsung Galaxy SIII

What do I do if its not Odexing my ROM after I use it?

Perhaps you should read up on what Odex is.

CousinMikeyP said:
What do I do if its not Odexing my ROM after I use it?
Click to expand...
Click to collapse
Stock Android implements an odex file structure, with odex meaning “optimized” dalvik executable file. As your likely aware, Android apps on your device are packaged as .apk files. That all being said, what this means is that for pretty much all of your apks there is a corresponding odex file. This goes for the framework files in .jar format as well.
For instance, on a non-rooted phone you’ll find
system/app/Phone.apk
as well as
system/app/Phone.odex
But what exactly are these odex files?
Well, when the Android OS needs to run your apps or utilize framework components, it has to parse (read/interpret) the compressed data stored in the .apk and/or .jar files. Having an odex file structure expedites this process by utilizing another file, the .odex file, which includes only the most critical data in an uncompressed format so the Android OS can quickly interpret that important information before parsing through the rest of the data held within the compressed .apks and .jars. Therefore, not all of the components of an app or framework are present in one file in an odexed sile system. I’ll elaborate on why I stress that in a moment. The goal of this scheme is to boot up faster, and generally load applications more quickly and smoother.
Ok so what is deodex?
The odexed file structure works well as an optimization tool, except for in the case of theming. Odexed apps and frameworks present a unique problem to those wanting to theme because the aspect they want to theme is broken up into two files. Typically theming involves swapping out images for home made ones, however this is simply impossible in an Odexed environment. The solution is to DeOdex the file system and reunite all of the uncompressed critical data of an app or framework back into the compressed .apk or .jar file.
Thought that would help you alot better then just telling you to read up on it because i didnt know myself
Maybe this will give you some insight

redhooka said:
Perhaps you should read up on what Odex is.
Click to expand...
Click to collapse
+1
---------- Post added at 07:27 PM ---------- Previous post was at 07:13 PM ----------
redhooka said:
Perhaps you should read up on what Odex is.
Click to expand...
Click to collapse
CousinMikeyP said:
What do I do if its not Odexing my ROM after I use it?
Click to expand...
Click to collapse
http://forum.xda-developers.com/forumdisplay.php?f=1104

XoCareBear3417 said:
+1
---------- Post added at 07:27 PM ---------- Previous post was at 07:13 PM ----------
http://forum.xda-developers.com/forumdisplay.php?f=1104
Click to expand...
Click to collapse
:banghead: y in the hell does ur op get thanked. This one gets a +1. And mine gets over seen. Wft is going on here? I think I got it now... imma keep n eye out for Thanx boosting. Haha
Sent from my SGH-T999 using xda premium

nardone24 said:
:banghead: Y in the hell does ur op get thanked. This one gets a +1. And mine gets over seen. Wft is going on here? I think i got it now... Imma keep n eye out for thanx boosting. Haha
sent from my sgh-t999 using xda premium
Click to expand...
Click to collapse
+1 wondering the same thing!

Related

[REQUEST] Modified MMS.apk

Can someone modify mms.apk to so it doesn't compress the pics so much? I remember seeing this done in an old nexus s thread.
Sent from my SPH-D710 using XDA App
im looking for the same thing
Yes, holy ****, PREACH IT BROTHER! Been needing this since day 1. Anyone? I can't get AOSP MMS.apk to load either.
oxeneers said:
Yes, holy ****, PREACH IT BROTHER! Been needing this since day 1. Anyone? I can't get AOSP MMS.apk to load either.
Click to expand...
Click to collapse
Yea why not just get aosp mms working that be great!
Sent from my Epic touch 4G using xda premium
Yeah AOSP would be awesome.
I have been using Chomp.
well i found the file that needs to be modded but every time i make a change and try to re compile the apk it gets errors and wont compile so im kinda lost im new to making edits like this so....
the file that needs to be changed is navigate to res>xml>mms_config.xml open that and you should see the compression sizes for picture size
---------- Post added at 02:31 AM ---------- Previous post was at 02:18 AM ----------
edit try this but please make a backup first dont want any one bricking there phones
ftp://www.slimeinside.me/Samsung/Mods/MMS/test_MMS.zip
BLOWNCO said:
well i found the file that needs to be modded but every time i make a change and try to re compile the apk it gets errors and wont compile so im kinda lost im new to making edits like this so....
the file that needs to be changed is navigate to res>xml>mms_config.xml open that and you should see the compression sizes for picture size
---------- Post added at 02:31 AM ---------- Previous post was at 02:18 AM ----------
edit try this but please make a backup first dont want any one bricking there phones
ftp://www.slimeinside.me/Samsung/Mods/MMS/test_MMS.zip
Click to expand...
Click to collapse
the mms.apk had dependencies. have you installed proper framework first?
AvatarOfFrost said:
the mms.apk had dependencies. have you installed proper framework first?
Click to expand...
Click to collapse
nope like i said this is my first time at editing something like this any info is appreciated

[ICS][MOD][CWMR]Long Press volume changes music track

So after desperatley wanting this mod to work on my captivate glide at any cost, i went after it myself. It looked easy at first but turned out to consume a lot of hours figuring out how to compile decompile and understand basics of smali.
What it does ?
As in the title, pressing the volume buttons a little longer (400 ms) will make the stock music player skip to next track (up vol) or previous track (down vol). This only works while the screen is off and phone locked which is basically the purpose . Right now will work on deodexed ROMs only, meaning pepole having "android.policy.odex" file in the system/framewrok folder would not be able to use this mod.
Caution : The mod if goes wrong can/will make your phone stuck at the boot animation unless the mod is removed. Copy both the files so you can restore your original file back in case it doesn't work for you.
How to Install
1) Make sure you are rooted. and boot into CWMR.
2) Flash LongPressVol.zip - Installs the mod and takes backup
3) Wipe Dalvik and Cache partition
4) Reboot and "Upgrading android" screen should show up.
You are done and now test it and let me know if it works for you. Enjoy!!!
Restore original/Remove Mod :
1) Boot into CWMR.
2) Flash LongPressVolRemove.zip - Restores your original android.policy.jar file
3) Wipe Dalvik and Cache partition
4) Reboot
Tested to be working fine on following ROMs
Nardholio's NardROM 0.4
Thegreatergood's LiteROM .4
Credits : Ported with help from the guide posted by jakubklos -> http://forum.xda-developers.com/showthread.php?t=1770564
Next update :
CWM flashable zip (will need some time to learn how to do that - Done
Post the Diff and the code to make it easier for other roms to include it if the android.policy.jar changes. - In progress
Awesome, been missing this mod since leaving my DHD
CWM Flashables worked great..... But since I'm using the stock rom which has not been deoxed it did not work.
It booted though didn't notice any adverse affects
Not to put you on the spot but do you think you could use the UCLH2 .jar and make a version that will use odex. not sure if anything would have to be done to the odex file but I have included the non odexed android.policy.jar files if you wouldn't mind taking a stab at it. If you could just modify the .jar file I'll test it. I would be forever in your debt!
Sent from my SGH-I927 using xda premium
Force closes PowerAMP and Nova Launcher.
Tested on ICS Leak.
Just delete the odex file and clear cache and you should be fine. You don't have to deodex the whole ROM.
or for extra points you can reodex, which theoretically will boost speeds a bit (although I'm experiencing wonderful speeds on my ROM). Redodexing is pretty easy (just Google it) and doesn't require him to do his mod again.
Cool thanks for the tip!
Sent from my SGH-I927 using xda premium
ludacris1 said:
Force closes PowerAMP and Nova Launcher.
Tested on ICS Leak.
Click to expand...
Click to collapse
Strange works for me. Nova didn't quit at all throughout my testing. I tried Poweramp trial and works fine as well. Did you clear dalvik and cache after flashing in the Mod ?
Nardholio said:
Just delete the odex file and clear cache and you should be fine. You don't have to deodex the whole ROM.
or for extra points you can reodex, which theoretically will boost speeds a bit (although I'm experiencing wonderful speeds on my ROM). Redodexing is pretty easy (just Google it) and doesn't require him to do his mod again.
Click to expand...
Click to collapse
Tried with no success stuck at boot screen. Thanks for the hint I'll try re odexing it and see if that will work next.
I like all the bloat that the stock has except the att apps, I would love to try your ROM but I would prefer a completely stock version of it with little modification and fixes. I have tried to do it myself with no success and simple don't have the patience for it. As my computer would end up at the muzzle end of a AR15. I really don't want to waste ammo or buy a new computer just yet. LOL ^o^
I'm very happy with the stock rom after applying the keyboard, tethering fix, and sdcard swap. It will be perfect when I get this working on it. And if its true that having it odexed is faster, I don't know but it is very smooth and battery is awesome.
Sent from my SGH-I927 using xda premium
enewman17 said:
Awesome, been missing this mod since leaving my DHD
CWM Flashables worked great..... But since I'm using the stock rom which has not been deoxed it did not work.
It booted though didn't notice any adverse affects
Not to put you on the spot but do you think you could use the UCLH2 .jar and make a version that will use odex. not sure if anything would have to be done to the odex file but I have included the non odexed android.policy.jar files if you wouldn't mind taking a stab at it. If you could just modify the .jar file I'll test it. I would be forever in your debt!
Sent from my SGH-I927 using xda premium
Click to expand...
Click to collapse
As evident from your last post, it does not work for you on UCLH2. As i said in my OP that i've not tested it on LH2 and it might not work as the android.policy.jar may be different. It should work on the UCLG9 and the ROM's based on it for sure.
I'll see later what i can do for the LH2. Can you post me a link of your whole system/framework folder, so i can download the same ? I'll maybe try later in the day to see the difference.
Thanks you, much appreciated! http://db.tt/0PnPOv4p
Sent from my Transformer TF101 using XDA Premium HD app
enewman17 said:
Thanks you, much appreciated! http://db.tt/0PnPOv4p
Sent from my Transformer TF101 using XDA Premium HD app
Click to expand...
Click to collapse
Deodexed your files and compared the PhoneWindowManager.smali file with mine, they are binary equals. So technically this mod should work for you. As your ROM is odexed, you need to manually delete the android.policy.odex and android.policy.jar file and then copy the android.policy.jar file from the zip attached to the OP. Remember to clear dalvik and cache partition as the last step before rebooting your phone. As Nardholio suggested this should work and you don't need to deodex the whole ROM.
Updated OP with the name of the ROM's tested to be working fine with this mod. Will try some more and keep adding.
Sent from my SGH-I927
Nardholio said:
Just delete the odex file and clear cache and you should be fine. You don't have to deodex the whole ROM.
or for extra points you can reodex, which theoretically will boost speeds a bit (although I'm experiencing wonderful speeds on my ROM). Redodexing is pretty easy (just Google it) and doesn't require him to do his mod again.
Click to expand...
Click to collapse
Do not delete the odex file... in an odex ROM all the code, java and smali are located in the odex class until you deodex which pulls the classes out and compresses them into a classes.dex into the particular apk and/ or jar file. So, if you delete the odex file the jar or apk is useless as you just deleted all the java and smali code it uses to communicate with the DVM..
Sent from my SGH-I897 using xda premium
dman3285 said:
Do not delete the odex file... in an odex ROM all the code, java and smali are located in the odex class until you deodex which pulls the classes out and compresses them into a classes.dex into the particular apk and/ or jar file. So, if you delete the odex file the jar or apk is useless as you just deleted all the java and email code it uses to communicate with the DVM..
Sent from my SGH-I897 using xda premium
Click to expand...
Click to collapse
Deodexing is all clear and i know the procedure, but can you let me know some link or tutorial to follow to odex it back again ? I think it needs the whole rom and needs some more files like framework etc. to be odexed again ?
Note: still learning and long way to go
In my trying to learn all of this too, seems you can re-odex a rom. But everything I found has to be done on the phone it self with terminal and a odex wrapper script. Haven't found a way of doing it on a computer yet.
Sent from my SGH-I927 using xda premium
enewman17 said:
In my trying to learn all of this too, seems you can re-odex a rom. But everything I found has to be done on the phone it self with terminal and a odex wrapper script. Haven't found a way of doing it on a computer yet.
Sent from my SGH-I927 using xda premium
Click to expand...
Click to collapse
I've read some tutorials as well, but lemme know if you find a easier way to do this. I'm almost certain that the odex files are specific to a specific rom, but i can be wrong as well. That's the reason i believe that the generic mods are only for the deodexed ROMs.
enewman17 said:
Awesome, been missing this mod since leaving my DHD
CWM Flashables worked great..... But since I'm using the stock rom which has not been deoxed it did not work.
It booted though didn't notice any adverse affects
Not to put you on the spot but do you think you could use the UCLH2 .jar and make a version that will use odex. not sure if anything would have to be done to the odex file but I have included the non odexed android.policy.jar files if you wouldn't mind taking a stab at it. If you could just modify the .jar file I'll test it. I would be forever in your debt!
Sent from my SGH-I927 using xda premium
Click to expand...
Click to collapse
I don't realize there was a Dial Home Device on earth, I though it was never found
*stargatefan*
TheHow7zer said:
I don't realize there was a Dial Home Device on earth, I though it was never found
*stargatefan*
Click to expand...
Click to collapse
Lol love stargate
Sent from my Desire HD using xda premium
---------- Post added at 07:13 PM ---------- Previous post was at 06:47 PM ----------
ninthsense said:
I've read some tutorials as well, but lemme know if you find a easier way to do this. I'm almost certain that the odex files are specific to a specific rom, but i can be wrong as well. That's the reason i believe that the generic mods are only for the deodexed ROMs.
Click to expand...
Click to collapse
Yes the odex file is specific per app so if any changes were made, the odex file which contains most of the data for each app would also have to reflect those changes. As the changes you made were part of .smali which is part of the dex file. So on a stock rom the odex file is loaded into the Dalvik machine during boot. This is why when flashed on a odexed rom the mod does not take, because the non modded odex file was already loaded. I gave up as I'm happy using literom4 with your mod.
Edit: Ok here is why it has to be done using the phone, all has to do with BOOTCLASSPATH http://classictomatoe.net/dexo-universal-odex-tool/
If you wanted to make this mod for folks still using the stock rom. All that needs to be done is decompile the .odex file using baksmali make the changes to the necessary files and then smali ?I think? don't quote me on that.
Can you share the how to four this? I'm setting up a rom and would like to add this
Sent from my SGH-I927 using xda app-developers app
kick buttowski said:
Can you share the how to four this? I'm setting up a rom and would like to add this
Sent from my SGH-I927 using xda app-developers app
Click to expand...
Click to collapse
Would you use the new uclj3 ? Send me the androidpolicy jar from your rom and hopefully it should be the same. I've not upgraded to .8 literom yet so not sure if it will work as .8 is based on the newer uclj3 released by samsung.
Sent from my SGH-I927
ninthsense said:
Would you use the new uclj3 ? Send me the androidpolicy jar from your rom and hopefully it should be the same. I've not upgraded to .8 literom yet so not sure if it will work as .8 is based on the newer uclj3 released by samsung.
Sent from my SGH-I927
Click to expand...
Click to collapse
Here ya go

SystemUI crashes after installing edited twframework

I need help please. Does anyone know what might be causing my systemui to crash after I install an edited twframework. I am on CNexus' MK3 deodexed rom. I am using ApkMultiTool with compression set to 9. I am able to decompile and recompile the twframework, but after copying to system/framework, changing permissions and rebooting, a persistant message "systemUi has stopped working" keeps popping up. At that point, I have to quickly keep pressing OK while trying to navigate over to ES file Explorer so that I can copy over the backup twframework to the system.
It could be so many things. What did you edit?
---------- Post added at 11:50 AM ---------- Previous post was at 11:48 AM ----------
Did you copy the manifest and resources files from the original apk to the modified one?
metalfan78 said:
It could be so many things. What did you edit?
---------- Post added at 11:50 AM ---------- Previous post was at 11:48 AM ----------
Did you copy the manifest and resources files from the original apk to the modified one?
Click to expand...
Click to collapse
I edited the scrollbar text color in values/color. I didn't copy the manifest over, only the resources. I didn't know I had to copy over the manifest? Is that a mandatory, I never do that and usually never have problems?
I've always had to copy the manifest, it contains the stock signatures needed for the system to verify the apk. Try that first to see if it works.
Grab a logcat. It'll tell you if it can't find a resource or whatever the issue is
metalfan78 said:
I've always had to copy the manifest, it contains the stock signatures needed for the system to verify the apk. Try that first to see if it works.
Click to expand...
Click to collapse
Thanks very much for your help @metalfan78! I'll give it a try and see what happens
CNexus said:
Grab a logcat. It'll tell you if it can't find a resource or whatever the issue is
Click to expand...
Click to collapse
Thanks @CNexus. As usual, I appreciate your help. Give me a little bit, and I'll have something for you.
metalfan78 said:
I've always had to copy the manifest, it contains the stock signatures needed for the system to verify the apk. Try that first to see if it works.
Click to expand...
Click to collapse
I didn't realize until after you asked, I use Apk MultiTool. All you need to do is copy resources from the modded apk to the original. The original manifest remains.
I always used apk tool and I did it the opposite way, copying the manifest over to the new one where I made all the edits.
metalfan78 said:
I always used apk tool and I did it the opposite way, copying the manifest over to the new one where I made all the edits.
Click to expand...
Click to collapse
Hmmm. I didn't know to do that. Do you think it's better that way?
I can't say which way is better, that's just the way I learned. Hopefully cnexus can help more.
I'm a lot out of comfort zone with theming questions so I called in the pros for you. Should get a response or two in a bit
nyfl2004 said:
I need help please. Does anyone know what might be causing my systemui to crash after I install an edited twframework. I am on CNexus' MK3 deodexed rom. I am using ApkMultiTool with compression set to 9. I am able to decompile and recompile the twframework, but after copying to system/framework, changing permissions and rebooting, a persistant message "systemUi has stopped working" keeps popping up. At that point, I have to quickly keep pressing OK while trying to navigate over to ES file Explorer so that I can copy over the backup twframework to the system.
Click to expand...
Click to collapse
Hey buddy. Some edit in your tw framework is clashing with UI. UI is trying to pull a resource from twfw that isn't there anymore. No easy solution. Another reason why tw theming gives people fits and there are so many themes for aosp and not many for tw. I would start over editing small amounts at a time...
[email protected]'$ [email protected]@XY
To be in the safe zone always copy over android manifest and meta inf files. Even when using multi tool. You never know if it is going to do it for you even tho it usually does.
He's what I did for that apk.
1. Decompile
2. Make edits
3. Compile
4. Move original meta inf file to new apk
5. Move original android manifest to new apk
I haven't had any problems this way
CNexus said:
I'm a lot out of comfort zone with theming questions so I called in the pros for you. Should get a response or two in a bit
Click to expand...
Click to collapse
Thebear j koss said:
Hey buddy. Some edit in your tw framework is clashing with UI. UI is trying to pull a resource from twfw that isn't there anymore. No easy solution. Another reason why tw theming gives people fits and there are so many themes for aosp and not many for tw. I would start over editing small amounts at a time...
[email protected]'$ [email protected]@XY
Click to expand...
Click to collapse
calebsb said:
To be in the safe zone always copy over android manifest and meta inf files. Even when using multi tool. You never know if it is going to do it for you even tho it usually does
Click to expand...
Click to collapse
Thanks fellas. I appreciate your help. I will definitely take all your advice and apply it going forward. You all have taught me a great deal. I'm very grateful!!
You may want to, if the previous suggestions haven't helped, throw your apk in a zip. Wipe cache/dalvik, and flash via recovery.
1brainsurgeon said:
You may want to, if the previous suggestions haven't helped, throw your apk in a zip. Wipe cache/dalvik, and flash via recovery.
Click to expand...
Click to collapse
Thanks @1brainsurgeon. I had tried that as well, figured I would cover all bases, but that didn't work either. I finally threw in the towel and borrowed a twframework from another MK3 rom. I was then able to make my edits without any issues. Big thanks to all you guys for all your help!!

(MOD)Lock Screen center clock-Android 4.3

Process:-
Open /system/app with root explorer
Copy existing file keyguardwidget.apk to some where else
Replace/copy the attached one
Change permission (Please google if you do not know how to change permission)
Reboot
If clock does not show properly. Remove and add it again.
This one is made by me but used some other existing file. Credit goes to them as well. It is perfectly working for ML4 but should be working with all 4.3 firmware
Added the font file if you want to use it. I foget from whom I collected this file. No credit to me.
Process:-
Remove the .txt from last of the file and save it
Take back up of old file under /system/Fonts folder
Replace & change permission
Screenshot attached.
What's that wallpaper you're using?
Sent from my GT-I9300 using xda premium
I tried twice, but as you can see no good.
Sorry for my bad english
linus98 said:
I tried twice, but as you can see no good.
Sorry for my bad english
Click to expand...
Click to collapse
Make your clock smaller in settings.......
Send From A Devil3 - f2fs - Dualboot Powered Machine
---------- Post added at 07:28 PM ---------- Previous post was at 07:26 PM ----------
Working fine or me.
Not on the biggest size.
But small and medium it looks good.
Thnx.
Send From A Devil3 - f2fs - Dualboot Powered Machine
It only works if I set the clock on small
Sent using my S3&skippioROM
linus98 said:
I tried twice, but as you can see no good.
Sorry for my bad english
Click to expand...
Click to collapse
Change the font file and check.
daanismyname said:
What's that wallpaper you're using?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
One of the best stock wallpaper collection software.
HTC m8 android stock wallpaper
https://play.google.com/store/apps/details?id=com.wonderful.androidwallpapers
KSKHH said:
Change the font file and check.
Click to expand...
Click to collapse
nothing...
Thanks for this, the off centre clock has been bugging me for awhile now...Great Job!!!
excuse me,my rom is odexed,it means there is a keyguardwidget.odex file. what should i do?
does it suppose to work in odex roms?
boobool said:
excuse me,my rom is odexed,it means there is a keyguardwidget.odex file. what should i do?
does it suppose to work in odex roms?
Click to expand...
Click to collapse
Take backup of both the file in case any issue.
Then delete odex file.
Replace the one in the OP
Change permission
Reboot
Looks good, works also on odex rom
Sent from my GT-I9300 using XDA Premium 4 mobile app

3minit battery mod, questing editing .XML / small files

I was successful in decompiling SystemUIGoogle.apk using 3minit APKTool using version 2.2.2. I navigate to edit status_bar.xml and am looking for the line that contains Android:id="@id/battery but it does not exist. Also, the folder "policy" doesn't exist in small/com/Android/systemui/status bar directory. I am attempting to follow the instructions on the 3minit.com homepage. Can someone please steer me in the right direction?
Thanks
Edit: if the answer is to create the policy folder and to paste the smali files and to create the line of code in status_bar.xml then I tried that and compiled into an apk. Output is "exception in thread main org.jf.util.exceptionwithcontext unsigned short value out of range
Shawn haz root said:
I was successful in decompiling SystemUIGoogle.apk using 3minit APKTool using version 2.2.2. I navigate to edit status_bar.xml and am looking for the line that contains Android:id="@id/battery but it does not exist. Also, the folder "policy" doesn't exist in small/com/Android/systemui/status bar directory. I am attempting to follow the instructions on the 3minit.com homepage. Can someone please steer me in the right direction?
Thanks
Edit: if the answer is to create the policy folder and to paste the smali files and to create the line of code in status_bar.xml then I tried that and compiled into an apk. Output is "exception in thread main org.jf.util.exceptionwithcontext unsigned short value out of range
Click to expand...
Click to collapse
Thanks so much for continuing the effort to make this great Mod available to our community! I don't have the skill to answer your question. Sorry.
From my experience most of the editing to the layouts are in system_icons and just add this line
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />
At the bottom right above the linear layout integer. Dont worry about finding Android:id="@id/battery,,,here is a copy of one of my old ones
https://www.dropbox.com/s/d9ke58hmgvx2r2t/system_icons.xml?dl=0
As for the smali files, most of the time I have found them in (for my pixel anyways) smali_classes2/com/android/statusbar/policy.
Hope that helps,,,if you need any further help PM me.
Shawn haz root said:
I was successful in decompiling SystemUIGoogle.apk using 3minit APKTool using version 2.2.2. I navigate to edit status_bar.xml and am looking for the line that contains Android:id="@id/battery but it does not exist. Also, the folder "policy" doesn't exist in small/com/Android/systemui/status bar directory. I am attempting to follow the instructions on the 3minit.com homepage. Can someone please steer me in the right direction?
Thanks
Edit: if the answer is to create the policy folder and to paste the smali files and to create the line of code in status_bar.xml then I tried that and compiled into an apk. Output is "exception in thread main org.jf.util.exceptionwithcontext unsigned short value out of range
Click to expand...
Click to collapse
---------- Post added at 08:28 PM ---------- Previous post was at 08:23 PM ----------
If there is enough interest in this I can keep the mod going full time? Only if there is a lot of interest in it?? I always have this mod on every rom I flash.
Archangel said:
From my experience most of the editing to the layouts are in system_icons and just add this line
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" />
At the bottom right above the linear layout integer. Dont worry about finding Android:id="@id/battery,,,here is a copy of one of my old ones
https://www.dropbox.com/s/d9ke58hmgvx2r2t/system_icons.xml?dl=0
As for the smali files, most of the time I have found them in (for my pixel anyways) smali_classes2/com/android/statusbar/policy.
Hope that helps,,,if you need any further help PM me.
---------- Post added at 08:28 PM ---------- Previous post was at 08:23 PM ----------
If there is enough interest in this I can keep the mod going full time? Only if there is a lot of interest in it?? I always have this mod on every rom I flash.
Click to expand...
Click to collapse
It would be great if you could keep this mod going. I'm sure there's a bunch of us that want it. Thank you for writing that out, I'll check it out and see if it works.
some devs have this working already and might be issued publicly soon
Yes it's on pixel xl
Fyi
We have it working on xl most definitely. Been doing it ourselves for months now.. plus a handful of other mods we use on our DD. I was debating on posting the mods including 3mint possibly tonight If we decide to I'll link thread here. Glad to see others trying to teach themselves tho!!!
Tigerstown said:
We have it working on xl most definitely. Been doing it ourselves for months now.. plus a handful of other mods we use on our DD. I was debating on posting the mods including 3mint possibly tonight If we decide to I'll link thread here. Glad to see others trying to teach themselves tho!!!
Click to expand...
Click to collapse
That would be awesome if you guys post the mod to flash and keep it updated. Even detailed instructions to do it myself would be great that way when it breaks, I don't have to be dependent on someone else posting an update.
Thank you for your time guys
pacman photog said:
Yes it's on pixel xl
Click to expand...
Click to collapse
Where is Pixel XL? Is that a forum?
STraver said:
Where is Pixel XL? Is that a forum?
Click to expand...
Click to collapse
Umm pixel XL is a phone lol
toknitup420 said:
Umm pixel XL is a phone lol
Click to expand...
Click to collapse
Right. The context made it sound like a forum possibly. "We" and "on Pixel XL"
toknitup420 said:
Umm pixel XL is a phone lol
Click to expand...
Click to collapse
Then where is the mod they speak of??
STraver said:
Then where is the mod they speak of??
Click to expand...
Click to collapse
We haven't posted it yet.
toknitup420 said:
We haven't posted it yet.
Click to expand...
Click to collapse
Okay thanks.
STraver said:
Okay thanks.
Click to expand...
Click to collapse
One of us will post a link here when we post the mod.
Now when I decompile systemuigoogle.apk using the framework-res.apk from my phone, which I have done successfully yesterday, APKTools throws config flag errors. Programming is so frustrating.
toknitup420 said:
One of us will post a link here when we post the mod.
Click to expand...
Click to collapse
Thanks to your team for your work. It is appreciated.
---------- Post added at 09:44 PM ---------- Previous post was at 09:43 PM ----------
Shawn haz root said:
Now when I decompile systemuigoogle.apk using the framework-res.apk from my phone, which I have done successfully yesterday, APKTools throws config flag errors. Programming is so frustrating.
Click to expand...
Click to collapse
I hope to learn more myself. Thanks for your contribution to the effort!
Here is the systemui 3 minit battery mod for those on Resurrection remix. All you have to do is copy and paste over your existing systemui in system/priv-apps. It will f/c at first but then come back up and then you must change permissions to rw-r-r. Do not use this on any other rom it will cause problems and make sure you install the 3 minit resources apk first before doing anything. I will create a thread for this and other users to send their systemui to mod.
can anyone upload stock systemui google and framework.res.apk???
thanks
Sent from my SM-G955F using Tapatalk

Categories

Resources