Circle battery mod - Huawei Ideos X5 U8800

Hi everyone, I did something really stupid, and I could use some help. I tried to flash Battery circle mod that was desingned for froyo into gingerbread beta 1 rom (like I said, stupid). I ended up in bootloop and now I am trying to make phone work again. I did replace all images in pink screen with original one, but it does not help. I also wiped memory and performed factory reset in download mode. I dont know how to flash beta1 again. Later today I will put dload on sd card and try to flash it again and wil see how that goes. If that is not the way to do it please let me know.
Oh and if someone knows where to find or how to make mod like that please let us know as I think I am not the only one who would like to hawe one, thank you!

samsungi5500 said:
Hi everyone, I did something really stupid, and I could use some help. I tried to flash Battery circle mod that was desingned for froyo into gingerbread beta 1 rom (like I said, stupid). I ended up in bootloop and now I am trying to make phone work again. I did replace all images in pink screen with original one, but it does not help. I also wiped memory and performed factory reset in download mode. I dont know how to flash beta1 again. Later today I will put dload on sd card and try to flash it again and wil see how that goes. If that is not the way to do it please let me know.
Oh and if someone knows where to find or how to make mod like that please let us know as I think I am not the only one who would like to hawe one, thank you!
Click to expand...
Click to collapse
Try to go to recovery menu (vol + & power), choose "clean cache", then reboot.
Regards!

I tryed but it is not helping at all. And I can not apply update from sd card because I am not able to put dload folder on internal sd card and external card is not found. Anny suggestion?

You have changed framework-res.apk to a Android 2.2 version one. Wipe won't work, but you could flash a custom ROM or a .zip with stock framework-res. Possibly the systemui.apk is also changed.
Sent from my u8800 using XDA App

thanks for the answers, but where I can get .zip with stock framework-res and how to flash it? I have Unofficial CWM Recovery v5.0.0.4 installed but I am not really shure how to use it. Could I just flash 2.2 rom if the framework-res is changed to 2.2 version? If someone could explain that to me it would be greatly appriciated,thanks.

I managed to flash stock 2.2 so it is booting normal, now I will upgrade to 2.3 beta 2 as it has unlocked bootloader and it worked ok before I flashed that circle mod. Next thing to do is to teach how to use recovery to make backup and restore, so if there is some guide on how to use recovey please point me there,thank you for your help.

Ok to bump this theme a little. If there is someone who can make circle battery mod for U8800 2.3 rom please do it, because it is really useful as you know exactly how much battery there is left. With stock icon you never really know, you have to go deep in menu to find out procentage of battery left,thank you.

Once you have got 2.3 flashed and booted again, use es file explorer/root explorer to copy /system/framework/framework-res.apk and /system/app/systemui.apk to your sd card and then the computer.
*Go to http://uot.dakra.lt/kitchen/ >click on battery and check use this mod.
*Select your desired icon and charging options and generate a preview.
*Go to file upload on the tab menu, upload the files you pulled from your rom into the appropriate boxes and then select the summary tab and submit everything.
*Select the top tab labeled pickup and wait patiently for your zip file to be made
*Backup using CWM recovery and then flash the zip file
*Cross your fingers and boot, hopefully you should now have a shiny new circle battery mod

Thank you for your answer,but it seems that something is not right with files I upload. Here is the error log, tryed twice with same result ,Any idea?
Decompiling framework-res.apk UOT-01-23-10-56-1
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Decompiling SystemUI.apk UOT-01-23-10-56-1
I: Framework installed to: /root/apktool/framework/1.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: /root/apktool/framework/1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x02060002
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
Compiling framework-res.apk UOT-01-23-10-56-1
W: Could not find sources
I: Building resources...
aapt: /usr/lib/libz.so.1: no version information available (required by aapt)
I: Building apk file...
aapt: /usr/lib/libz.so.1: no version information available (required by aapt)
Compiling SystemUI.apk UOT-01-23-10-56-1
I: Framework installed to: /home/uotftp/apktool/framework/1.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more

I have the same problem with X5 framework-res.apk and Uot kitchen...

You need to modify the framework-res.apk (from stock f/w) in order to compile it. Wait for me to get home and I can uploade one.
edit. btw the systemui.apk is impossible to compile. Don't know what Huawei did to it

Ok will be waiting, thank you !
Edit: Problem solved!
Did upload only framework-res.apk (without SystemUI.apk) and it works! Just flash zip with recovery and reeboot phone ,thanks to mendozinas!

Related

[Q] Help with date color

Hi,
I have problem with date color in notification bar. I used few solution from xda to make my first theme and I changed everything except date color.
All I need is hint (file, line to change) or previously written solution.
Thank you
You have to change it in services.jar
http://forum.xda-developers.com/showthread.php?t=549309
Edit : That was for clock color, not date.
Sent from my GT-I9100 using Tapatalk
Hey dude,
Modified files attached for your reboot mod. Please backup before you try.
Let me know if it was successful or your phone blew up.
http://dl.dropbox.com/u/15444246/framework.zip
Works like a charm, thank you very much
Sent from my Milestone using XDA App
Fed up! After decompiling and I cannot compile back modified framework-res.apk, I tried apktool and apkman and both failed don't know why.
I using W7 x64 and in apktool 1.4.1 I have
W: Coudn't find sources
In apkman also I cannot compile back framework-res.apk
Anyone know what cause this? All I want is to change date color in pulled down taskbar.
I attached modified status-bar.xml, framework needs to be decompile, replace status-bar.xml and compile back framework-res.apk
Anyone can help or at least tell me why I have this bloody errors during compile system apk's?
Regards
Attached. Your statusbar_background.9.png file is not getting decompiled because of a bad 9chunk patch , that's why you are getting problems. Check the code below.
Code:
--------------------------------------------------------------------------
|25-07-2011 -- 3:07:07.84|
--------------------------------------------------------------------------
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
Could Not Find E:\milestone\software\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk
Could Not Find E:\milestone\software\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
W: [COLOR=Sienna][B]Cant find 9patch chunk in file: "drawable-hdpi/statusbar_background.9.png". Renaming it to *.png.[/B][/COLOR]
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
As always, works like a charm.
Thank you mate.

[Q] framework-res issues

I am having issues with framework-res.apk.
I make some minor changes and add and replace these files into framework-res.apk using WinRar.
Then copy this into the update.zip file and
install from sdcard using clockworkmod.
But then my nookGL won't reboot, and I end up having to factory reset.
After the factory reset the changes I put in the framework-res are now showing up and working fine.
I then need to go through the process to root the nook etc.
This is a very long winded way for some minor changes.
Is there something I am doing wrong?
I am now very hesistant to try any more changes, even though I would love to, as I really don't want to have to go through the whole process again.
Any suggestions?
Framework.res has to be signed with the system signature.
You can copy over the original META-INF directory (most of the time) when you repack it.
Your problem could be one of three things:
1) You repacked it without the original signature.
2) You repacked it with a new (personal or debug) signature.
3) You repacked it with the original signature but you modified something important (like AndroidManifest.xml).
If you want to get heavily into mods you should resign your whole system with either the debug or your personal signature.
Yes! Thank You, Renata! That was it - problem solved!

Help with Transparent Status Bar

Hi I'm having some trouble creating a modified SystemUI.apk for my Nexus 10 running CM10.1. I followed some guides on how to change the transparency of the status bar but when I tried to install the new apk, it says installation failed/aborted in CWM. Could someone check my modification and see if I'm doing it right?
What I changed: SystemUI/res/layout/super_status_bar.xml and changed android:background="#00000000"
SystemUI/res/values/drawables.xml and changed <item type="drawable" name="status_bar_background">#00000000</item>
After I recompiled, I unzipped the CM10.1 rom, replaced the systemui.apk with the new one, and then rezipped. When I tried to flash the new rom in CMW, it says failed/aborted.
Any help would be much appreciated. Thanks!
your changes are correct, so the problem is in the zip file. flash the rom without modifying the zip and then (maybe after the first boot) flash a zip with only the systemui.apk inside. use a zip downloaded into a nexus10 modding thread.
anyway i'm trying to get a transparent status bar too on my galaxy nexus and i can tell you that you also have to modify a smali file into SystemUI.apk.
In your case the file is
Code:
SystemUI/smali/com/android/systemui/statusbar/tablet/TabletStatusBar.smali
In my case it is
Code:
SystemUI/smali/com/android/systemui/statusbar/phone/PhoneStatusBar.smali
but i don't know what to modify inside it (i found your thread while i was searching for a solution)
I'm currently running an unmodified CM10.1. I tried flashing just the SystemUI.apk as a zip but it fails/aborts also. Not sure whats causing the error.
Try to flash an unmodifyied SystemUI.apk. if it fails, the problem is the zip. Anyway without editing the smali file the status bar is still going to be black
Yeah I just extracted the stock systemui.apk, zipped it, tried flashing and it says failed/aborted. However, I was able to install the stock apk unzipped through the built in CM10 installer. Something is definitely wrong with my zipping...I tried installing the modified apk through the same manner and it failed however.
try with this. it is the zip that i usually use.
we are going OT
Now we're getting somewhere! The zip was able to flash! However, something is wrong with my systemui.apk as you predicted before. The status bar is indeed now transparent, however upon bootup, it says system UI has stopped. Pressing OK simply makes it pop up again. Reflashed the stock apk and now it's fine.Now just need to figure out how to correctly modify the apk. Thanks a bunch!
at the moment there are no guides for jelly bean so i suggest you to try another rom which allows status bar transparency (like aokp)
watch here and here man

Can't modify systemUI.apk on SM-G900F Lollipop 5.0

I been having serious problems trying to replace a few statusbar images from my recently rooted Samsung Galaxy S5 SM-G900F International Version. Rooting is already done (with CF Auto root). Evertyhing is ok and functional.
The problem is that I want to replace some signal images (only two PNG files) and I've tried 2 times and I always end up with black screen and statusbar gone. The only thing that fix it is restoring original systemUI.apk.
This is what I've done so far:
Copy the systemUI.apk to computer.
Extract it with WinRAR
Replace all the images
Create new systemUI.apk from WinRAR with no compression.
Put systemUI.apk back to original location /system/priv-apps/systemUI folder.
Reboot
But always I get black background and no statusbar e.g. systemUI is GONE.
I've noticed that now apps are no longer individual, they are stored in folders and, for example systemUI, it shows:
Ignore the apk4, it's mine I was just testing.
Any idea how to modify it?
See this thread.....
http://forum.xda-developers.com/showthread.php?p=54852717
The OP takes stock SystemUI apks and modifies them to produce '3D' toggles.
If anybody can help, it'll be him.
http://i.imgur.com/rVnFwJM.jpg
keithross39 said:
See this thread.....
http://forum.xda-developers.com/showthread.php?p=54852717
The OP takes stock SystemUI apks and modifies them to produce '3D' toggles.
If anybody can help, it'll be him.
http://i.imgur.com/rVnFwJM.jpg
Click to expand...
Click to collapse
I've read that thread but it seems too old and 4.4 oriented.
I tried also APKTool but nothing, I just break the whole system and need to do factory reset.
Yeah there is a lot of mention of kitkat in that thread, but the OP does help other members with lollipop. It wouldn't hurt to leave a comment in that thread and see where it gets you.....
Sent from my SM-G900F using XDA Labs
keithross39 said:
Yeah there is a lot of mention of kitkat in that thread, but the OP does help other members with lollipop. It wouldn't hurt to leave a comment in that thread and see where it gets you.....
Sent from my SM-G900F using XDA Labs
Click to expand...
Click to collapse
I will do that! Thank you.
One thing.
I was messing around and testing other system APK.
I edited one small APK (VoiceNote.APK) then did a wipe cache from stock factory and now I only enter to "Process system isn't responding" and nothing else. Do you believe a system wipe data/factoryreset would fix this? I replaced the APK with mine and left the original one inside with different name. Could I use ADB to rename it back? Or nothing and reinstall the whole ROM? I'm kinda soft bricked now.
Manimecker said:
I will do that! Thank you.
One thing.
I was messing around and testing other system APK.
I edited one small APK (VoiceNote.APK) then did a wipe cache from stock factory and now I only enter to "Process system isn't responding" and nothing else. Do you believe a system wipe data/factoryreset would fix this? I replaced the APK with mine and left the original one inside with different name. Could I use ADB to rename it back? Or nothing and reinstall the whole ROM? I'm kinda soft bricked now.
Click to expand...
Click to collapse
Update:
I made a factory reset. Up and running. Just fine. But the app I replaced "VoiceNote" is gone. Any ideas how to recover it? I still have original backup on both S5 and computer.
If you can't get into Android, your choices are fairly limited......even more limited if you have stock recovery.......
With those conditions all you can do is
1) cache wipe
2) data wipe/factory reset
3) start again with a firmware flash
but I have a feeling that you need to replace that app with a working version before you get a successful boot.....which means option 3.
Edit...ah Ok, your comment was posted before I finished my reply.....
If you go to my profile and look for threads I've started, you'll see one which deals with system apps and systen-priv apps. Basically I ripped copies of these from my 4.4.2 firmware. I'm not sure if there will be compatibility issues between apks ripped from 4.4.2 when pushed to a 5.0 firmware, but they're available if you want to try it....
If you *do* try it, remember to change permissions and reboot.....
Edit 2.....
If you still have the original, it's a simple case of copying it to it's original location, deleting the modified version and it's associated odex file (in the same folder as the apk) then setting the permissions of the 'freshly copied apk to rw- r-- r-- and rebooting....
Sent from my SM-G900F using XDA Labs
keithross39 said:
If you can't get into Android, your choices are fairly limited......even more limited if you have stock recovery.......
With those conditions all you can do is
1) cache wipe
2) data wipe/factory reset
3) start again with a firmware flash
but I have a feeling that you need to replace that app with a working version before you get a successful boot.....which means option 3.
Edit...ah Ok, your comment was posted before I finished my reply.....
If you go to my profile and look for threads I've started, you'll see one which deals with system apps and systen-priv apps. Basically I ripped copies of these from my 4.4.2 firmware. I'm not sure if there will be compatibility issues between apks ripped from 4.4.2 when pushed to a 5.0 firmware, but they're available if you want to try it....
If you *do* try it, remember to change permissions and reboot.....
Edit 2.....
If you still have the original, it's a simple case of copying it to it's original location, deleting the modified version and it's associated odex file (in the same folder as the apk) then setting the permissions of the 'freshly copied apk to rw- r-- r-- and rebooting....
Sent from my SM-G900F using XDA Labs
Click to expand...
Click to collapse
Basically I did the replacing, same file, permissions and everything, but still have no app. Voice Note is gone. I'll try a factory wipe reset if that works but I don't think so. What can I do now? Android is still running up and good.
Update:
Did factory reset and everything is good and running. App is back. So I guess I'm same as I started. I won't mess up with system files again until I know a good way to edit the SystemUI.apk. Is there any App I can use? Like Xposed or something? I really just want to replace my data connected icons (3G, H+, 4G, LTE).
Is this the sort of thing you mean?......
If it is, then Android Theme Engine module with xposed.......
That is assuming you can get it working on LP.....
Sent from my SM-G900F using XDA Labs
keithross39 said:
Is this the sort of thing you mean?......
If it is, then Android Theme Engine module with xposed.......
That is assuming you can get it working on LP.....
Sent from my SM-G900F using XDA Labs
Click to expand...
Click to collapse
Basically something like that, but I want to replace the PNG with ones I've created. For example you have your 4G icon there, I want to change it with another PNG I created.
Manimecker said:
Basically something like that, but I want to replace the PNG with ones I've created. For example you have your 4G icon there, I want to change it with another PNG I created.
Click to expand...
Click to collapse
Well, that Android Theme Engine module can change the 'theme' of those icons too. Might it be possible to decompile that, insert your images, recompile it and flash.....that way, if it goes wrong, it should be easier to recover than when you changed that system apk.....
Sent from my SM-G900F using XDA Labs
You can just use apktool, just make sure to get your framework-res and then when done open original systemui in 7zip and drag the META-INF folder and drag it to the new systemui apk you made with apktool, works every time for me.
Sent from my Galaxy S5 using XDA Labs
@Rakuu OP says he's already tried using apktool and it didn't work.....
You obviously know more about this than me, so I guess you're gonna have to take over here fella......
http://i.imgur.com/rVnFwJM.jpg
keithross39 said:
@Rakuu OP says he's already tried using apktool and it didn't work.....
You obviously know more about this than me, so I guess you're gonna have to take over here fella......
http://i.imgur.com/rVnFwJM.jpg
Click to expand...
Click to collapse
Sound like he didn't do last part would be my guess.
keithross39 said:
@Rakuu OP says he's already tried using apktool and it didn't work.....
You obviously know more about this than me, so I guess you're gonna have to take over here fella......
http://i.imgur.com/rVnFwJM.jpg
Click to expand...
Click to collapse
where did he said that he used apktool? he used winrar to extract the systemui.
you have to use apktool in order to replace/modify anything within the apk.
i guess you have to read something about decompiling and recompiling (and signing) apps before you can do your changes. just replacing anything inside the .apk's is not the right way my friend
keithross39 said:
@Rakuu OP says he's already tried using apktool and it didn't work.....
You obviously know more about this than me, so I guess you're gonna have to take over here fella......
http://i.imgur.com/rVnFwJM.jpg
Click to expand...
Click to collapse
Yes, I did use APKTool BUT I didn't do all the other steps here mentioned.
Rakuu said:
Sound like he didn't do last part would be my guess.
Click to expand...
Click to collapse
You are right, I didn't do anything about framework-res or META-INF files. I just unpacked, replaced PNG inside and repack.
mcdachpappe said:
where did he said that he used apktool? he used winrar to extract the systemui.
you have to use apktool in order to replace/modify anything within the apk.
i guess you have to read something about decompiling and recompiling (and signing) apps before you can do your changes. just replacing anything inside the .apk's is not the right way my friend
Click to expand...
Click to collapse
I guess I'm starting to learn how things work inside an 5.0 Android Device. Any more ideas (manual, PDF, guide or something) I can follow from here?
Rakuu said:
You can just use apktool, just make sure to get your framework-res and then when done open original systemui in 7zip and drag the META-INF folder and drag it to the new systemui apk you made with apktool, works every time for me.
Sent from my Galaxy S5 using XDA Labs
Click to expand...
Click to collapse
I don't understand what to do with the framework-res apk file, I do however know where to find it but nothing else. I already have APKTool on Windows up and running, but I can't tell what to do next.
Manimecker said:
I don't understand what to do with the framework-res apk file, I do however know where to find it but nothing else. I already have APKTool on Windows up and running, but I can't tell what to do next.
Click to expand...
Click to collapse
Extract the framework-res and twframework-res apks and put them in the folder with the SystemUI.apk
Open a command prompt in the folder and type apktool if framework-res.apk and hit return, then do the same for the twframework-res.apk file, this will generate the resource files needed.
To unpack an apk type apktool d SystemUI..apk for example hit the return key, to repack type apktool b SystemUI (usually the decompiled apk folder doesn't have the .apk after it), this will generate a new apk
Copy the Meta.inf, Android Manifest.xml and resources.arsc files from the original apk to the new apk , make sure the apk is titled exactly the same as the original apk so SystemUI.apk not systemui.apk and the new apk should work.
One thing you can do if you are just changing the png files is extract the png files from the folders direct from the apk to a working folder, create your new png files so they are the same size and exactly the same name as the originals, drag and drop them from the folder directly back into the folder location in the apk then reinstall the apk on the phone, this just replaces the png's, you only really need to decompile the apk if you are making changes to the xml files.
Use 7zip its better for these than winrar (personal opinion), if you want to male changes to the xml files then use Notepad++
Always keep a copy of your original apk's as a backup unless you want to install the firmware again should something go wrong.
EDIT:-
Thought you should have a bit more info about apktool, the red text is the apktool commands you would type in the CMD window from your working folder
Decompiling should look similar to this
C:\Samsung S7\APKs>apktool d SystemUI.apk
I: Using Apktool 2.1.1 on SystemUI.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
C:\Samsung S7\APKs>
When you recompile an APK it will be located in apk folder your compiling from so you decompile the SystemUI.apk which will become a folder called SystemUI when you re-compile the SystemUI folder to make a new apk then the new apk will be located in your SystemUi folder in a folder called dist.
When you recompile an apk it should look similar to this you can see here also a warning message you can ignore these they wont affect how the apk works provided you copy across the original files from the old to the new apk as mentioned below
C:\Samsung S7\APKs>apktool b SystemUI
I: Using Apktool 2.1.1
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
W: warning: string 'tw_screen_pinning_negative' has no default translation.
I: Building apk file...
I: Copying unknown files/dir...
C:\Samsung S7\APKs>
Using 7zip open this apk and open the original apk and simply drag the META.INF, respources.arsc and Android Manifest.xml from the original apk to your new apk close both apk's, put the new apk on your phone.
If you ever make any changes in the decompiled values folder then when you recompile your apk and copy across the above files from the old apk don't replace the resources.arsc file as thats where the values folders are just replace the Android Manifest and META.INF files.
ag4751 said:
Extract the framework-res and twframework-res apks and put them in the folder with the SystemUI.apk
Open a command prompt in the folder and type apktool if framework-res.apk and hit return, then do the same for the twframework-res.apk file, this will generate the resource files needed.
To unpack an apk type apktool d SystemUI..apk for example hit the return key, to repack type apktool b SystemUI (usually the decompiled apk folder doesn't have the .apk after it), this will generate a new apk
Copy the Meta.inf, Android Manifest.xml and resources.arsc files from the original apk to the new apk , make sure the apk is titled exactly the same as the original apk so SystemUI.apk not systemui.apk and the new apk should work.
One thing you can do if you are just changing the png files is extract the png files from the folders direct from the apk to a working folder, create your new png files so they are the same size and exactly the same name as the originals, drag and drop them from the folder directly back into the folder location in the apk then reinstall the apk on the phone, this just replaces the png's, you only really need to decompile the apk if you are making changes to the xml files.
Use 7zip its better for these than winrar (personal opinion), if you want to male changes to the xml files then use Notepad++
Always keep a copy of your original apk's as a backup unless you want to install the firmware again should something go wrong.
EDIT:-
Thought you should have a bit more info about apktool, the red text is the apktool commands you would type in the CMD window from your working folder
Decompiling should look similar to this
C:\Samsung S7\APKs>apktool d SystemUI.apk
I: Using Apktool 2.1.1 on SystemUI.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
C:\Samsung S7\APKs>
When you recompile an APK it will be located in apk folder your compiling from so you decompile the SystemUI.apk which will become a folder called SystemUI when you re-compile the SystemUI folder to make a new apk then the new apk will be located in your SystemUi folder in a folder called dist.
When you recompile an apk it should look similar to this you can see here also a warning message you can ignore these they wont affect how the apk works provided you copy across the original files from the old to the new apk as mentioned below
C:\Samsung S7\APKs>apktool b SystemUI
I: Using Apktool 2.1.1
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
W: warning: string 'tw_screen_pinning_negative' has no default translation.
I: Building apk file...
I: Copying unknown files/dir...
C:\Samsung S7\APKs>
Using 7zip open this apk and open the original apk and simply drag the META.INF, respources.arsc and Android Manifest.xml from the original apk to your new apk close both apk's, put the new apk on your phone.
If you ever make any changes in the decompiled values folder then when you recompile your apk and copy across the above files from the old apk don't replace the resources.arsc file as thats where the values folders are just replace the Android Manifest and META.INF files.
Click to expand...
Click to collapse
I will try that! I'm gonna get back with update.
Just one question. Do I need to odex or deodex my APK? Should I edit the SystemUI.odex.xz and SystemUI.odex.art.xz, both inside the ARM folder?
Manimecker said:
I will try that! I'm gonna get back with update.
Just one question. Do I need to odex or deodex my APK? Should I edit the SystemUI.odex.xz and SystemUI.odex.art.xz, both inside the ARM folder?
Click to expand...
Click to collapse
No clue on that, always used deodexed roms cause messing with odexed stuff is a pain in the rear, if you deodexed your rom this will be about 5x easier.
Sent from my Galaxy S5 using XDA Labs
Manimecker said:
I will try that! I'm gonna get back with update.
Just one question. Do I need to odex or deodex my APK? Should I edit the SystemUI.odex.xz and SystemUI.odex.art.xz, both inside the ARM folder?
Click to expand...
Click to collapse
As @Rakuu says themeing with deodexed roms is preferred by most people although I never themed with deodexed roms myself, when I used to theme stock roms I just removed the apk made the changes to the png and xml files and replaced the apk, never changed anything with the odex.apk just the apk itself, as you want to do the systemui then just pull that from the rom make a copy of the apk, make the changes in your copy and push that back to the phone., keep an original unchanged version of the apk as a backup.
Do you have a custom recovery like TWRP on your phone and Android SDK installed on your computer as it makes pulling and pushing the apk's much safer than what you appear to be doing as it looks like your just doing copy and paste, although it works its not the ideal or safest way to do it.
The apk should be in the system/priv-app/SystemUI folder

How to install Dual Messenger / I am unable to recompile framework.jar

I have a S8 snapdragon SM-G950U. I am using tickle my android to pull framework.jar and I'm able to recompile, but no luck when recompiling. Also I am able to decompile/recompile services.jar. Am I doing something wrong or is there a better way to install it. My log is below. Thanks in adavnce
Recompiling "framework.jar" With Original Signature,
in work area "_WorkArea1", using "apktool_2.3.0.jar"
With Tickle My Android 14.4.0.2.
(tinyurl.com\ticklemyandroid)
----------------
Installed Framework File(s):
None Installed
----------------
I: Using Apktool 2.3.0
W: Could not find sources
W: Could not find resources
I: Copy original files...
I: Building apk file...
I: Copying unknown files/dir...
Exception in thread "main" brut.androlib.AndrolibException: Unable to rename temporary file
at brut.androlib.Androlib.buildUnknownFiles(Androlib.java:600)
at brut.androlib.Androlib.build(Androlib.java:326)
at brut.androlib.Androlib.build(Androlib.java:270)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:75)
----------------
Recompile Not Successful!
I should also mention that I am rooted with partcyborg's Bootloader 2 rom.

Categories

Resources