Hello, I would like to modify my systemui to get 3minit battery mod working on my Google pixel XL.
I've deodexed system apps in the past using baksmali, but these new odexed system apps now have a systemui.vdex file as well as a systemui.odex file to go along with the systemui.apk.
Couldn't find much about the vdex files other than it's allegedly optimized dex code. I looked at jesusfreke's website and most of the threads on there were way above my comprehension level lol.
Can anyone help me out to get started on deodexing this app?
Pain-N-Panic said:
Hello, I would like to modify my systemui to get 3minit battery mod working on my Google pixel XL.
I've deodexed system apps in the past using baksmali, but these new odexed system apps now have a systemui.vdex file as well as a systemui.odex file to go along with the systemui.apk.
Couldn't find much about the vdex files other than it's allegedly optimized dex code. I looked at jesusfreke's website and most of the threads on there were way above my comprehension level lol.
Can anyone help me out to get started on deodexing this app?
Click to expand...
Click to collapse
The latest baksmali and smali can't handle vdex files yet, as far as I can tell. There's an open issue about it here: https://github.com/JesusFreke/smali/issues/555
Looks like we have to wait, sadly. This always every time Google make a new version of Android - they keep odexing files in different ways. Good for the user, but very annoying for the modder!
Ticklefish said:
The latest baksmali and smali can't handle vdex files yet, as far as I can tell. There's an open issue about it here: https://github.com/JesusFreke/smali/issues/555
Looks like we have to wait, sadly. This always every time Google make a new version of Android - they keep odexing files in different ways. Good for the user, but very annoying for the modder!
Click to expand...
Click to collapse
I was told fulmics automated deodex program works with Oreo. Haven't tried it out yet.
Pain-N-Panic said:
I was told fulmics automated deodex program works with Oreo. Haven't tried it out yet.
Click to expand...
Click to collapse
I have my own deodexing tool and I'm trying it on Oreo now. Looks like it should work.
Sent from my Sony Xperia XA1 using XDA Labs
Ticklefish said:
I have my own deodexing tool and I'm trying it on Oreo now. Looks like it should work.
Click to expand...
Click to collapse
If your personal program works, would you assume fulmic's should work as well with Oreo? As long as I updated the small/baksmali?
Pain-N-Panic said:
If your personal program works, would you assume fulmic's should work as well with Oreo? As long as I updated the small/baksmali?
Click to expand...
Click to collapse
I've no idea, sorry. I wouldn't know how that program works. You can try it, just be sure to make a backup first just in case.
Sent from my Sony Xperia XA1 using XDA Labs
Related
Does anyone know how to decompile and recompile the framework for cm10 nightly build? I'm using Framework Toolkit by Themike *it simply cant recompile everything from original framework into new modded framework after editing the dimens.xml for osb's dpi (i assume, the modded framework (5MB+-) is significantly smaller than the original untouched framework (9MB+-), and the modded framework give bootloop). thanks
ICS apks are hard to decompile and and recompile. you got to search a lot to get a working apktool. the tool needed to for decompiling and recompiling.
moreover the apk is to be "signed". Just make sure you sign your apk.
you got to have a better understanding of xml for this. other than this i cant help. Good luck :good:
you can use mod to add OSB. it also provide modded settings.
Btw mate the system apps. Or files are not to be signed afaik and even if you sign it,you'll have to sign all system files with the same!
Isn't it?
Sent from my MT11i using xda premium
Ghostfreak NB said:
Btw mate the system apps. Or files are not to be signed afaik and even if you sign it,you'll have to sign all system files with the same!
Isn't it?
Sent from my MT11i using xda premium
Click to expand...
Click to collapse
Ghostfreak: yup, but i dun think CM team will sign all the apps they modify, are they? btw, nvm. I guess i better stick to ICS 1st, CM10 still kinda too buggy to be used on daily usages. JB source and resource for xperia are still too limited......
rajxelton: CM10 is based on JB 4.1.2, not 4.0.4 ICS (CM9) anymore of course the modding will be kinda different somehow, and CM10.1 is now 4.2.1 but under alpha release to test for development purpose. and ya, i do know those xml files under the values folder. i did made my own framework for my own use before.....
General ODEX Script
By Various Devs
-----------------------------------------------------------------------------------------
Seeing other devs recently ODEX-ing their roms in order to decrease boot and app load time I fought of those roms that may not be ODEX.
Therefore I want to share this zip that will ODEX any GB rom out here.
This is the general script those ODEX-ed roms we have use.
Download:
http://www.mediafire.com/?l4aau7pmmgtid
-----------------------------------------------------------------------------------------
Credits
I don't really know lol
(Not Tested on CM7)
why should anyone want to increase their boot and app loading times? lol
alex.mircea0509 said:
why should anyone want to increase their boot and app loading times? lol
Click to expand...
Click to collapse
Sorry I miswrote lol.
Increasing The Decreasement of Loading Times which is what I meant. (Yeah it kinda does not make sense.)
and how do you use this? you just simply flash it? was it tested? of what improving are we talking about? is it noticeable?
i'm on NXT 1.3 (I guess it's based on 58 or 64 GB... donno anymore.. i'm stable for almost 6 months now).. will it work on this?
thx
alex.mircea0509 said:
and how do you use this? you just simply flash it? was it tested? of what improving are we talking about? is it noticeable?
i'm on NXT 1.3 (I guess it's based on 58 or 64 GB... donno anymore.. i'm stable for almost 6 months now).. will it work on this?
thx
Click to expand...
Click to collapse
Flash It Like A Rom/Zip
It works on all slots (Multiboot) if using Turbo Kernel
Boot Time Change is noticeable.
why is this script deleting all files in /data/dalvik-cach/ ? wouldn't making sense to just delete dex files of the newly odexed system apps or framework ?
sheraro said:
why is this script deleting all files in /data/dalvik-cach/ ? wouldn't making sense to just delete dex files of the newly odexed system apps or framework ?
Click to expand...
Click to collapse
A mixture of ODEXed and Deodexed files can cause problems.
Some apps have different dalvik when ODEX.
It is a stability measure.
Sent from my GT-I9300 using xda app-developers app
Any assurance of this mod to work?? Just curious.
Regards,
Sdojoin
sdojoin said:
Any assurance of this mod to work?? Just curious.
Regards,
Sdojoin
Click to expand...
Click to collapse
Tested on DEODEXED Aurora and My Rom
Something like this is possible on ics or jb roms?
farenheith said:
Something like this is possible on ics or jb roms?
Click to expand...
Click to collapse
There are a lot of ODEX methods and scripts out there.
I just uploaded the CWM Method used in the ODEX Roms we currently have.
This could work on JB/ICS but not guaranteed (Phone/Contacts apks may FC)
i flashed tihs on dixperia2 rom and it dosen't boot anymore it freezes on boot logo
funnies7 said:
i flashed tihs on dixperia2 rom and it dosen't boot anymore it freezes on boot logo
Click to expand...
Click to collapse
Clean install?
Sent from my GT-I9300 using xda app-developers app
funnies7 said:
i flashed tihs on dixperia2 rom and it dosen't boot anymore it freezes on boot logo
Click to expand...
Click to collapse
It's usually because of your android.policy.jar.
Either that or you have jar's that contain no 'meta-data'.
Open up all your Jar's in /System/Framework and see what's missing.
half of my system apps don't have their odex files even after fllashing the zip multiple times ! i don't know what's keeping them from odexing
also if i transfer any new app to system/app , its odex file can't be generated ...
sheraro said:
half of my system apps don't have their odex files even after fllashing the zip multiple times ! i don't know what's keeping them from odexing
also if i transfer any new app to system/app , its odex file can't be generated ...
Click to expand...
Click to collapse
It is a small script that does not ODEX everything but only small amount of files.
Full ODEXing is reccomended through ADB and not CWM.
Some things can't be ODEXed in CWM
Also this only ODEXes apps used by system, your own apps will not be ODEXed even if you move to system and re-run script
Sent from my GT-I9300 using xda app-developers app
Dude, how come the statusbar disappear after odexing?? Its like there's no systemui present. Not even an fc popup. Just no statusbar. I've tried several times still got the same result. Any clue what might be the prob??
Regards,
Sdojoin
sdojoin said:
Dude, how come the statusbar disappear after odexing?? Its like there's no systemui present. Not even an fc popup. Just no statusbar. I've tried several times still got the same result. Any clue what might be the prob??
Regards,
Sdojoin
Click to expand...
Click to collapse
I have no idea, I just decided to share the script other devs use for those who are unaware/want to ODEX their roms, I can't tell you exactly.
Cache and Dalvik clean are recommended though.
Noted.
Regards,
Sdojoin
Does this work on Xperia NXT 2 r1 by krisdee?
I've read into the subject of Deodex vs Odex many times before, so I know general differences as well as supposed advantages/disadvantages to both. So my question is this, besides the general ability to theme every aspect of a ROM, what other major uses are there for Deodexing a touchwiz based ROM? I know that some mods require you to be deodexed, which isn't a big deal to me because all of the mods I flash regularly do not require that. Hopefully someone knowledgeable in this area can clarify for me:good:
There aren't any besides modding.
Sent from my SGH-I717R using xda premium
like agoattamer said only use for a deodex rom is to theme it. if you like the themeing of deodex but want speed and smaller file size of odex you can set up your deodexed rom with all changes you want made to it and then run the script found here( http://forum.xda-developers.com/showthread.php?p=44228706 ) to reodex the rom. you can also odex apks in data/app. just keep in mind that not all downloaded apps like to be odexed but most will not give issue. i think only apps i had to reinstall to get back to deodex was amazon app store and a game downloaded from amazon
Agoattamer said:
There aren't any besides modding.
Sent from my SGH-I717R using xda premium
Click to expand...
Click to collapse
s89281b said:
like agoattamer said only use for a deodex rom is to theme it. if you like the themeing of deodex but want speed and smaller file size of odex you can set up your deodexed rom with all changes you want made to it and then run the script found here( http://forum.xda-developers.com/showthread.php?p=44228706 ) to reodex the rom. you can also odex apks in data/app. just keep in mind that not all downloaded apps like to be odexed but most will not give issue. i think only apps i had to reinstall to get back to deodex was amazon app store and a game downloaded from amazon
Click to expand...
Click to collapse
Thanks to both of you. You confirmed what I thought originally. And thanks s89281b, I actually have that script already and use it on all of my ROMS except the touchwiz ones. So now that my question is confirmed, I'll use this on touchwiz ROMS as well. I have tried digging into theming a little, but I'm putting that on pause so no need for deodex atm
Sent from my SAMSUNG-SGH-I717 using Tapatalk HD
Has anyone been able to decompile lg system ui apk. I tried multiple versions of apk tool
I think the devs were talking about that in the new dev only section. Maybe you can find some info there.
Sent from my G3, rockin Illusion
I have had no issues decompiling or recompiling SystemUI.apk. You are loading both framework apks right?
PiousInquisitor said:
I have had no issues decompiling or recompiling SystemUI.apk. You are loading both framework apks right?
Click to expand...
Click to collapse
Yes sir lg system ui won't decompile for me framework is installed. In fact I can decompile framwork res and lg res. Tried multiple apk tool version and two different roms. What rom did you do it with. Itried jasmine which is close to stock
Which tool are you using
alphamale said:
Which tool are you using
Click to expand...
Click to collapse
I also decompiled the Jasmin SystemUI. I'll check the version number when u get home from work tonight. I'm on a Linux box BTW.
Got it working used tma has it pull apks from my device
alphamale said:
Got it working used tma has it pull apks from my device
Click to expand...
Click to collapse
advanced apk tool works great just decompiled mine...recompiled and also installed it again..
I've extracted all the apps from a V30 dump I've not tried to install them on my V20 yet but let me know if you find some nice ones.
https://mega.nz/#!AjR0gIzD!imDOAvZNz3l4doEucvhN0Df7swpXA6N2UDtfhimpk28
File is 1.3gigz? Wow!
I'm gonna check this out later
Sent from my LG-H918 using Tapatalk
It would be nice if someone can port the stock launcher with app drawer to a rootless v20.
They released a reworked stock launcher with app drawer on the v30, and we are still running something that belongs to the android Lollipop days.
Lebo-Wog said:
It would be nice if someone can port the stock launcher with app drawer to a rootless v20.
They released a reworked stock launcher with app drawer on the v30, and we are still running something that belongs to the android Lollipop days.
Click to expand...
Click to collapse
Hhhmmm that's actually may happen. Lot of talented guys here.
storm68 said:
Hhhmmm that's actually may happen. Lot of talented guys here.
Click to expand...
Click to collapse
Let's hop so.
The stock lg v20 apps need an update.
Samsung does a better job at this, they post all their apps on APKmirror, I remember having the s8 launcher, messages app, phone app... installed on my note 5 via apkmirror.
LG's software team is like 2 guys who spend most of their day trying to figure out how to make lg's skin like samsung. (and badly failing at it).
Also, if you read the review, everyone is praising the lgv30 as being the new underdog and whatever, the same as it was with the v20. Non of these reviewers actually use an LG phone, because none of them says anything about the POOR software support. It's terrible.
I know I might not post on topic but anyone know where can I find lg calander and lg clock?
Or someone can post it please
Thx
Would it be possible to install any of these apks in collaboration with the V20 stock apps?
For example; install V30 music player but keep the V20s stock player intact?
3mL said:
Would it be possible to install any of these apks in collaboration with the V20 stock apps?
For example; install V30 music player but keep the V20s stock player intact?
Click to expand...
Click to collapse
Maybe... If you can change the name of the APK. But even then it might have dependencies. Might butt heads
storm68 said:
Maybe... If you can change the name of the APK. But even then it might have dependencies. Might butt heads
Click to expand...
Click to collapse
Hmm, I see.. Perhaps it would be possible to backup the stock V20 app in Titanium Backup and then replace with a V30 variant.
3mL said:
Hmm, I see.. Perhaps it would be possible to backup the stock V20 app in Titanium Backup and then replace with a V30 variant.
Click to expand...
Click to collapse
Don't know if that will work. Being you have doubles going on and conflicting. Doesn't hurt to try. What's the worst you can do.. won't open, force close..... Try adding a number to file and APK, anything that can create a double just change name by adding number, like, lgcam2 would be the V30. That way it doesn't conflict. Just a thought.
3mL said:
Hmm, I see.. Perhaps it would be possible to backup the stock V20 app in Titanium Backup and then replace with a V30 variant.
Click to expand...
Click to collapse
Just make a copy of the APK and any other files that are with it and save it somewhere else
3mL said:
Would it be possible to install any of these apks in collaboration with the V20 stock apps?
For example; install V30 music player but keep the V20s stock player intact?
Click to expand...
Click to collapse
Most like this would require one of the apk versions (v20 or v30) to have edits to the android-manifest of a decompiled apk. Reason being the package name of the apk's rarely change, even it the name of the app does.
So if you included both versions in the system, even if they were named differently, the system would get overloaded when it calls for a package and gets two answers.
Now l if the v30 apk's have new package names this could work without major edits. One way to check the package name is by using Tib and click on the app in question from the list. Then click on the section shown in the screenshots.
If the package names are different, easy stuff for someone to include both version, if the are the same, then you will need someone with more advanced knowledge of modding apks. I do not suggest the later for anyone unless you really know what you're doing.
Good idea though. I may look into adding some of thes options when i have more free time.
If anyone has installed a particualr v30 app and would like to see these options available in an Aroma pa kage or similar mod, post the details and we can put something together!
i've tried the most common way, downloading the system dump. extracting and push to the directory, LgHome, LGeasyhome, and lg backup launcher. set permission and reboot. now lg launcher FC, lol. i've already made a backup of those original apk/odex and restoring them. looks like we need experience porter since copy paste method didnt work.
stangdriver44 said:
Most like this would require one of the apk versions (v20 or v30) to have edits to the android-manifest of a decompiled apk. Reason being the package name of the apk's rarely change, even it the name of the app does.
If anyone has installed a particualr v30 app and would like to see these options available in an Aroma pa kage or similar mod, post the details and we can put something together!
Click to expand...
Click to collapse
I see, thank you for your insight!
Do you mean something like this?
alldine345 said:
i've tried the most common way, downloading the system dump. extracting and push to the directory, LgHome, LGeasyhome, and lg backup launcher. set permission and reboot. now lg launcher FC, lol. i've already made a backup of those original apk/odex and restoring them. looks like we need experience porter since copy paste method didnt work.
Click to expand...
Click to collapse
3mL said:
I see, thank you for your insight!
Do you mean something like this?
Click to expand...
Click to collapse
I am happy to see people are reading and participating in development! That's what this place is about right?
Thank you for the words!
I would like to know if anyone can confirm any of the v30 apps work and if so which ones?
I only ask because I believe the v30 is running UX6 and wouldn't thing many of any apps would work for our older version UI.
I am sure the UX6 port rom would have better luck, but I am not sure since I haven't looked much into this.
Anyways, like I said, glad to see people making backups amd experimenting with different things!
Good job guys!
Btw, how did you create the backup? Just copied the files to a know location and tranger back via recovery or adb?
Or did you create a flashable zip?
If you don't have a flashable zip for easy recovery let me know and I cam send you a template zip and quick instructions on how to create the zip in seconds from your phone.
nahh.. i had no idea about making flashable backup even adb seems little hard for me. for testing launcher i've installer third party launcher and make a copy of everything inside /system folder. and put it back once i messed something
alldine345 said:
nahh.. i had no idea about making flashable backup even adb seems little hard for me. for testing launcher i've installer third party launcher and make a copy of everything inside /system folder. and put it back once i messed something
Click to expand...
Click to collapse
That is one way, however can get very time intense if you are changing out a batch of files with libs, xml etc.
For that I like the zip method. I have went ahead and written a quick tutorial for how to create the flashable zip and uploaded my zip template so you or anyone who needs it.
Check this post.
Good luck and feel free to reply in that thread for any questions
Has anyone tried v30's music player?
Does it has any improvement against v20's?
So do any of these apps work? Anybody tried them?