[Q] [HELP] Error edited apk system base 4.4.x - Xiaomi Redmi 1S

Help,How to edit SystemUI.apk on Base CM11,4.4.x
i'm use apktool 2.0.0.3beta,
Import framework-res.apk,Decompile SystemUI.apk,then recompile without edit any file,
push to System/priv-app/ with ADB,then reboot, i get force close,i don't now why..
Im disable check signature app [service.jar] ,like this guide http://forum.xda-developers.com/showthread.php?t=1698352 ,
after reboot, 3rd app instaled gone.. like on safe mode,fresh after factory reset,

dugeriss said:
Help,How to edit SystemUI.apk on Base CM11,4.4.x
i'm use apktool 2.0.0.3beta,
Import framework-res.apk,Decompile SystemUI.apk,then recompile without edit any file,
push to System/priv-app/ with ADB,then reboot, i get force close,i don't now why..
Im disable check signature app [service.jar] ,like this guide http://forum.xda-developers.com/showthread.php?t=1698352 ,
after reboot, 3rd app instaled gone.. like on safe mode,fresh after factory reset,
Click to expand...
Click to collapse
Because you have to install the systemui apk as well as the framework-res. They are both system framework apks

zelendel said:
Because you have to install the systemui apk as well as the framework-res. They are both system framework apks
Click to expand...
Click to collapse
do you have solution sir?? help

dugeriss said:
do you have solution sir?? help
Click to expand...
Click to collapse
Did you I stall the system ui and them try again?

not working sir,..
Sent from my HM 1SW using XDA Premium 4 mobile app

Related

[Q] Edited framework-res.apk

Can anyone edit a framework-res.apk with no mods other than adding the crt animation? I've found guides on how to edit the bools file in the res/values filder inside the apk, but I can't get it to recompile the apk correctly. Can someone tell me how or send me an edited apk or something?
If you want to post your framework file, I'll do it for you and send it back.
I just posted several of these for Caulkulin's 3.0 rom. What are you using now? His framework, but with a stock battery look.
Sent from my SPH-D710 using XDA
kyamora said:
Can anyone edit a framework-res.apk with no mods other than adding the crt animation? I've found guides on how to edit the bools file in the res/values filder inside the apk, but I can't get it to recompile the apk correctly. Can someone tell me how or send me an edited apk or something?
Click to expand...
Click to collapse
You need to check the error and see whats wrong with the framework file. Also you just want a stock framework file with crt on? Also what are you using to compile and decompile
playya said:
You need to check the error and see whats wrong with the framework file. Also you just want a stock framework file with crt on? Also what are you using to compile and decompile
Click to expand...
Click to collapse
I was using apk manager 4.9, and I have no idea how to read the log.
I attached my framework-res. It's stock from FD19, I probably should have specified.
If no one gets to it, I'll mod it when I get home.
Sent from my SPH-D710 using xda premium
All done. I tested on my phone. After I replaced the apk, I had to manually restart the phone for it to work. I placed your apk in a zip file before I uploaded, so make sure you unzip your apk before putting it back on your phone.
Thank you so much, it works very well.
Now I'd just like to know how you did it. Coming from a clean computer with nothing installed, what would I need to decompile an apk, edit it, and compile it again? I'm trying to get a handle on the whole thing to do some development myself.
Try and upgrade to Apk Manager 5.02 since I just de-compiled and then compiled your apk file without an issue. Also try and update everything associated with it like your java... But it seems quite fine to me
Edit: just tried yours again as well as removing animation I lowered autobrightness which is something I do on all my roms for better battery life.. Try that mod next
playya said:
Try and upgrade to Apk Manager 5.02 since I just de-compiled and then compiled your apk file without an issue. Also try and update everything associated with it like your java... But it seems quite fine to me
Edit: just tried yours again as well as removing animation I lowered autobrightness which is something I do on all my roms for better battery life.. Try that mod next
Click to expand...
Click to collapse
Do I have to do anything to set it up or is it good to go from install? Should I restart my computer?
Also where can I find 5.02? I had a lot of trouble finding 4.9 in the first place.
I've never used apk manager, so I'll check that out also. I used apktool to mod your framework along with all the java runtime files it needed to work.
Sent from my SPH-D710 using xda premium
&roid said:
I've never used apk manager, so I'll check that out also. I used apktool to mod your framework along with all the java runtime files it needed to work.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Apktool confused me so I used apk manager. I can't figure out how to get apktool to work. Do you have a link to a good guide or anything?
There are some good ones on xda. I'll link you one when I get home.
Sent from my SPH-D710 using xda premium
I was apparently using the gingerbread method for an ICS build. Would that have kept it from compiling correctly?
kyamora said:
I was apparently using the gingerbread method for an ICS build. Would that have kept it from compiling correctly?
Click to expand...
Click to collapse
YES
&roid said:
YES
Click to expand...
Click to collapse
Haha, at least I'm learning.
To be fair, no one specified. Thanks for all the help guys.
Hi. Any help me to on crt effect in this framework ? I try apk menager and apk edit, and always some problem when compile, program loop and only exit work
http://db.tt/W2DKqulN

[Q] How to edit, successfully, twframework-res.apk?

Hi all!
I try edit twframework-res.apk (some images + some xml's) but it has no effect. I try doing wipe dalvik-cache and wipe cache, but nothing, images no change... xml no apply... i dunno what to do.
Any idea?
Thanks!
which tool do you use to decompile apk?
Sent from my eyes to your eyes using xda premium
phadly said:
which tool do you use to decompile apk?
Sent from my eyes to your eyes using xda premium
Click to expand...
Click to collapse
APK Manage 5.0.2 (Apk tool)
_FroX_ said:
APK Manage 5.0.2 (Apk tool)
Click to expand...
Click to collapse
you need to delete which files you have edit in keep folder including images..then press enter..
Sent from my eyes to your eyes using xda premium
phadly said:
you need to delete which files you have edit in keep folder including images..then press enter..
Sent from my eyes to your eyes using xda premium
Click to expand...
Click to collapse
I do this. Now I explore twframework-res.apk with root explorer and I've seen are the images that I have modified, so all ok, however not work...
_FroX_ said:
I do this. Now I explore twframework-res.apk with root explorer and I've seen are the images that I have modified, so all ok, however not work...
Click to expand...
Click to collapse
you also need to modified images in framework-res.apk..there are same images in both twframework-res.apk and framework-res.apk..search for it..
Sent from my eyes to your eyes using xda premium
phadly said:
you also need to modified images in framework-res.apk..there are same images in both twframework-res.apk and framework-res.apk..search for it..
Sent from my eyes to your eyes using xda premium
Click to expand...
Click to collapse
Ok, the same images in the two files (twframework-res.apk and framework-res.apk) but, xml files? I edit one xml but there isn't any change (twframework-res.apk), that xml is neither in framework-res.apk or SystemUI.apk
Edit: Ok, I don't need to edit twframework-res.apk, i need to edit apk xml (in this case, Music.apk) I found the same xml inside, i'll try if work.
Edit2: It's work.
_FroX_ said:
Hi all!
I try edit twframework-res.apk (some images + some xml's) but it has no effect. I try doing wipe dalvik-cache and wipe cache, but nothing, images no change... xml no apply... i dunno what to do.
Any idea?
Thanks!
Click to expand...
Click to collapse
hi ,
first what do you want to change exactly ?
in Tw rom the Framework-res.apk is not the same as stock google phone so maybe you have to look inside
colour change
maxx35000 said:
hi ,
first what do you want to change exactly ?
in Tw rom the Framework-res.apk is not the same as stock google phone so maybe you have to look inside
Click to expand...
Click to collapse
hi i want to edit the system font color which apk should i edit..framework,systemUI
ngaihomasailo said:
hi i want to edit the system font color which apk should i edit..framework,systemUI
Click to expand...
Click to collapse
framework-res.apk.."res/color/ folder" and "res/values/styles.xml"..
Sent from my eyes to your eyes using xda premium
thanks
Sent from my GT-S5830 using Tapatalk 2
Can either of the apks be modified the change the 'theme' of TouchWiz?
Basically to get stock JellyBean look on Samsung Galaxy S2+. For eg, certain menus, radio buttons, preference activities etc...
kanchudeep said:
Can either of the apks be modified the change the 'theme' of TouchWiz?
Basically to get stock JellyBean look on Samsung Galaxy S2+. For eg, certain menus, radio buttons, preference activities etc...
Click to expand...
Click to collapse
Yes.
For 99% controls of ui you would need to edit framework-res.apk
Though i prefer apktool + 7zip
Sent from my LG-D722 using XDA Free mobile app

Ricompile Contacts.apk 4.1.1

hello I would like your help to decompile and recompile the Contacts.apk. now I have installed on my s3 the Paranoid Android 2.16 and have already changed most of the apk without problems while the contacts ...... Apk Manager seems to do its job, but when it is installed on the phone I get an error and the apk will not start. Can you help me?
massinegro204 said:
hello I would like your help to decompile and recompile the Contacts.apk. now I have installed on my s3 the Paranoid Android 2.16 and have already changed most of the apk without problems while the contacts ...... Apk Manager seems to do its job, but when it is installed on the phone I get an error and the apk will not start. Can you help me?
Click to expand...
Click to collapse
Has to be done from source from what I can remember. You can theme the contacts apk with theme manager as well
Sent from my SPH-L710 using xda premium
nbeebe24 said:
Has to be done from source from what I can remember. You can theme the contacts apk with theme manager as well
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
I use this to edit all the jellybean apks with no problems. I just tweaked my SystemUI, Contacts, Settings, Framework, and Phone and recompiled successfully.
http://forum.xda-developers.com/showthread.php?t=1755243
shiftr182 said:
I use this to edit all the jellybean apks with no problems. I just tweaked my SystemUI, Contacts, Settings, Framework, and Phone and recompiled successfully.
http://forum.xda-developers.com/showthread.php?t=1755243
Click to expand...
Click to collapse
Ok alla fixed !!!!!!! Thank you
shiftr182 said:
I use this to edit all the jellybean apks with no problems. I just tweaked my SystemUI, Contacts, Settings, Framework, and Phone and recompiled successfully.
http://forum.xda-developers.com/showthread.php?t=1755243
Click to expand...
Click to collapse
Will this work with touchwiz jellybean apks?
b-reezy said:
Will this work with touchwiz jellybean apks?
Click to expand...
Click to collapse
It has for me, thats what I used for my SystemUI tweaks and the laucher.....did 1% battery mod, changed the colors of the clock and added scrolling to the launcher all pretty easy.
shiftr182 said:
It has for me, thats what I used for my SystemUI tweaks and the laucher.....did 1% battery mod, changed the colors of the clock and added scrolling to the launcher all pretty easy.
Click to expand...
Click to collapse
Can you see if you can get secmms and secphone to decompile and recompile?
b-reezy said:
Can you see if you can get secmms and secphone to decompile and recompile?
Click to expand...
Click to collapse
I used it on mms already to get the screen to stop coming on everytime I get a message.....

[Help] [Pro] Help me to edit settings.apk (decompile & compile) correctly

I installed all apk found under system/framework with apktool.
*framework-res.apk & another apk
Then decompiled Settings.apk of Xperia pro stock ics Rom.
After that ,without making any change I compiled the apk. Then I surprisingly noticed that the size compiled apk is 1/3 of original stock settings.apk .
Then I flashed the apk using cwm to my phone to test if it work .after flashing, the setting icon is invisible in launcher menu !
Plz anybody tech me how decompile and re compile stock settings.apk of Xperia pro properly..
----------------****---------------
I'm noob. Help me to be great like U
shouvo said:
I installed all apk found under system/framework with apktool.
*framework-res.apk & another apk
Plz anybody tech me how decompile and re compile stock settings.apk of Xperia pro properly..
----------------****---------------
I'm noob. Help me to be great like U
Click to expand...
Click to collapse
take a look here
cosmyndemeter said:
take a look here
Click to expand...
Click to collapse
On that post I found something like this
"2-STEP hope u guys know how to decompile iam not going to explain it so decompile the settings.apk (make sure u set the compression level 128mb)"
Then explain me how set compression level in apktool??
Sent from my MK16i using xda premium
I know how to decompile and compile. Also know how to mod....but main problem Is ,after re compile, settings.apk's size is decreased...why it's happening !?
Sent from my MK16i using xda premium
shouvo said:
I know how to decompile and compile. Also know how to mod....but main problem Is ,after re compile, settings.apk's size is decreased...why it's happening !?
Sent from my MK16i using xda premium
Click to expand...
Click to collapse
size depends on apktool aapt or other files. ıts not so important. if you truly decompiled and recompiled. Be sure on resources.arsc's compression method is STORE. Generally that causes this problem. run 2 apps (original and unsigned) with winrar. move edited xmls from unsigned to signed with normal compression. Move icons(if you added or changed) with STORE method and finally move resources.arsc with STORE method.
Erhany said:
size depends on apktool aapt or other files. ıts not so important. if you truly decompiled and recompiled. Be sure on resources.arsc's compression method is STORE. Generally that causes this problem. run 2 apps (original and unsigned) with winrar. move edited xmls from unsigned to signed with normal compression. Move icons(if you added or changed) with STORE method and finally move resources.arsc with STORE method.
Click to expand...
Click to collapse
"Be sure on resources.arsc's compression method is STORE. " how can i set it to STORE ??
Sent from my MK16i using xda premium
shouvo said:
"Be sure on resources.arsc's compression method is STORE. " how can i set it to STORE ??
Sent from my MK16i using xda premium
Click to expand...
Click to collapse
as I told you, open 2 apks with winrar. drag& drop resources arsc from unsigned.apk to original.apk, a screen will appear, Check compressin method on left center( generally writes NORMAL) change it to STORE and select OK for copying. thats all
Erhany said:
as I told you, open 2 apks with winrar. drag& drop resources arsc from unsigned.apk to original.apk, a screen will appear, Check compressin method on left center( generally writes NORMAL) change it to STORE and select OK for copying. thats all
Click to expand...
Click to collapse
thanks dude...it worked just like a charm
Sent from my MK16i using xda premium
shouvo said:
thanks dude...it worked just like a charm
Sent from my MK16i using xda premium
Click to expand...
Click to collapse
You r welcom. Im glad

[Guide][CM12]How to Get Gradient/Transparent Stat&Navbar in Homescreen (Xperia Home)

[Guide][CM12]How to Get Gradient/Transparent Stat&Navbar in Homescreen (Xperia Home)
Here's simple guide how to make transparent/gradient statusbar & navbar in homescreen on CM12 rom with Xperia Home (home-release.apk) :laugh:
Requirements:
- Advanced ApkTool v4.1.0 By BDFreak (use latest apktool)
- Java installed
- Notepad++
- SystemUI.apk, home-release.apk
Steps:
GRADIENT
1. decompile SystemUI.apk
2. open colors.xml in /res/values folder
3. change
Code:
<color name="system_bar_background_semi_transparent">#66000000</color>
to
Code:
<color name="system_bar_background_semi_transparent">#00000000</color>
4. save, recompile, sign, push it to system
FULL TRANSPARENT
1. do steps above (GRADIENT)
2. decompile home-release.apk
3. open bools.xml in res/values folder
4. change
Code:
<bool name="enable_translucent_system_bars">false</bool>
to
Code:
<bool name="enable_translucent_system_bars">true</bool>
5. save, recompile, sign, push home-release.apk & SystemUI.apk to system
thanks to @ibanez7 who port Xperia feature to CM12 http://forum.xda-developers.com/crossdevice-dev/sony/mod-port-sony-xperia-feature-apps-t2978700
Great! Thanks! Was looking for this.. Well, can an apk of transparent home be made?
Just to let you know, won't work with cm12.1 as systemui won't decompile
pranavthombare said:
Just to let you know, won't work with cm12.1 as systemui won't decompile
Click to expand...
Click to collapse
Decompiling works fine for 5.1.1, you just have to use Apktool 2.0.0.
But I'm having problems with the signature. It doesn't seem compatible with 5.1.1.
@idid idamrep Listen.. Could you please share how to get the Stock Sony Lollipop Clock on CM12 lockscreen? Please?
Good Tutorial
Thanks...
Success decompile and recompile, but My Status bar not Show? What needs to sign?
elmkzgirxp said:
Decompiling works fine for 5.1.1, you just have to use Apktool 2.0.0.
But I'm having problems with the signature. It doesn't seem compatible with 5.1.1.
Click to expand...
Click to collapse
Well I was doing something wrong. Anyways compiled and signed successfully and all working fine
Please somebody post SystemUI link ..
Thanks
Now Fully work, i'm use apktool v2.0.0 on CM12 (5.0.2) Xperia M
MasDergiL said:
Now Fully work, i'm use apktool v2.0.0 on CM12 (5.0.2) Xperia M
Click to expand...
Click to collapse
I have problem, SystemUI recompiling isn´t working .. (apktool.jar 2.0.0 RC4) .. have anybody any solution??
I Use Advanced Apktool
Lojzo_11 said:
I have problem, SystemUI recompiling isn´t working .. (apktool.jar 2.0.0 RC4) .. have anybody any solution??
Click to expand...
Click to collapse
Use Advanced Apktool Go Thread And Use APK Tool v2.0.0 NOT v2.0.0 RC xx
Sorry, my English is bad
MasDergiL said:
Use Advanced Apktool Go Thread And Use APK Tool v2.0.0 NOT v2.0.0 RC xx
Sorry, my English is bad
Click to expand...
Click to collapse
Please can you send me your SystemUI.apk?
Please Port Xperia Weather Widget
Please Port Xperia Weather Widget For CM12,
Beacause when i try to apply this widget error occurs no space on home screen ,
But full space is available ...
thanks
deepak0192 said:
Please Port Xperia Weather Widget For CM12,
Beacause when i try to apply this widget error occurs no space on home screen ,
But full space is available ...
thanks
Click to expand...
Click to collapse
No need to port, I install it as a normal apk.
Try to clear ur home data!
Can you make like this guide for cm12.1? :what:
nirmal471 said:
Can you make like this guide for cm12.1? :what:
Click to expand...
Click to collapse
this works too on cm12.1
idid idamrep said:
this works too on cm12.1
Click to expand...
Click to collapse
I tried but status and navigation bar is not showing after replaced edited system ui..
I will give my system ui can you edit for me plz?
And my cm12.1 system ui
https://www.dropbox.com/s/vy26tu05j5d10xx/SystemUI.apk?dl=0
Problem while installing
Hi people!
I have edited my Xperia SP's SystemUI.apk using apktool 2.0.0. I didn't have decompiling errors and some translation warnings while compiling. Then I signed the .apk and tried to manually install the SystemUI.apk, but when the phone boots the notification bar and the navigation bar dissapeared.
Personally I think it is a signing problem, what signer do you use?
What version of jre is recommended to use? I mean, 1.7 or 1.8 and 32 bit or 64 bit?
Is there any other tool to decompile?
Thanks
Zjarr said:
Hi people!
I have edited my Xperia SP's SystemUI.apk using apktool 2.0.0. I didn't have decompiling errors and some translation warnings while compiling. Then I signed the .apk and tried to manually install the SystemUI.apk, but when the phone boots the notification bar and the navigation bar dissapeared.
Personally I think it is a signing problem, what signer do you use?
What version of jre is recommended to use? I mean, 1.7 or 1.8 and 32 bit or 64 bit?
Is there any other tool to decompile?
Thanks
Click to expand...
Click to collapse
how did u "tried to manually install the SystemUI.apk"?
idid idamrep said:
how did u "tried to manually install the SystemUI.apk"?
Click to expand...
Click to collapse
Moving to /System/priv-app/SystemUI/
Changing permissions to rw-r-r

Categories

Resources