need help for applying a farmework mod - Xperia Play Q&A, Help & Troubleshooting

hi all
as you see in my sig im working on a new rom but i have a big problem now
im trying to use this mod for porting xperia z lockscreen but its not working
i getting some problems when i wanna recompile setting.apk
can anyone help me?
here are my files (well my settings is a little different but don't worry make it with this one then i will theme the setting again)

pedyvirus said:
hi all
as you see in my sig im working on a new rom but i have a big problem now
im trying to use this mod for porting xperia z lockscreen but its not working
i getting some problems when i wanna recompile setting.apk
can anyone help me?
here are my files (well my settings is a little different but don't worry make it with this one then i will theme the setting again)
Click to expand...
Click to collapse
Could you post the log containing errors you get when recompiling?
I don't have a pc to test it myself right now, but I should help knowing what errors you're facing
Sent from my R800i using xda app-developers app

My skills are little rusty, but here is compiled settings.apk
If it's not working, post/upload framework-res.apk and i'll try it again

well this setting didnt work
but i made a working one myself :victory:
but now something else is not working(when i click on lockscreen in setting, setting will force close )
thanks for your help i gave me the idea that why mine wasn't getting compiled again

Oh, sorry, just now i see that you need it for cm9 (second post), not cm10 (first post on that guide). It was recompiled without errors, i assumed it worked.
But i couldn't recompile android-policy.jar
Too much differense in smali files or i used wrong ones
Sent from my R800i using xda app-developers app

Related

[HOW TO] Adding Custom Transitions to your Rom(updated)

Found this working on my DZ with AOSP or Sense as well
Only want to share this with you.
If anyone finds out what exacly every xml does, pls share it with me.
http://forum.xda-developers.com/showthread.php?t=814072
Lg b1oh4zard
b1oh4zard said:
Found this working on my DZ with AOSP or Sense as well
Only want to share this with you.
If anyone finds out what exacly every xml does, pls share it with me.
http://forum.xda-developers.com/showthread.php?t=814072
Lg b1oh4zard
Click to expand...
Click to collapse
i added flyin in my theme
Confirmed working on Virtuous v0.7.2 Rom using Fold anim.
I don't know if it's just me or if this is a problem throughout but this either doesn't ever work as a metamorph, or putting this within the ROMs framework gives fc floods BUT, I do see that it makes the change that way.
What am I doing wrong? I followed the instructions and even tried my own variations. Signing, not signing framework/update.zip but no positive outcome...
Would someone be kind enough to post a working stock cm6.1final framework? I know it's a lot to ask but I'm giving up here. For some reason, I've had problems theming since nightly 12 and can't explain why. Wiping has always been an attempt within the trail and error but it always ends up as an error.
I was able to modify a theme posted here by removing everything but phone/contacts.apk, re-signed and then flashed it and it worked. But there was no framework-res.apk change...
Any help would be greatly appreciated!
Sent from me HTC Vision using XDA app
EDIT:
I figured it out. What worked was NOT signing framework-res.apk but changing it's name to framework-res.zip, editing ANY files you choose and then renaming back to the original framework-res.apk
then you place that into your ROM and sign the rom.zip
worked pretty well. I really like flip so far.
Thank you for posting this!!

[Q] Help with services.jar?

Ok so I have read some about making changes to the services.jar file and am afraid that it is a little above my head. So wondering if someone might want to help me make the following change?
I would simply like to remove the location icon from my status bar.
If I was to upload my services.jar file could someone make those changes without having the rest of my framework?
Thanks!
Flash this in recovery and you should be good to go, worked for me. REMEMBER to nandroid first.
That would probably work if I was using stock framework, but I am running the super z ported rom with completely different framework. Someone will have to manually make changes for me.
Thanks though.
spjoneser said:
That would probably work if I was using stock framework, but I am running the super z ported rom with completely different framework. Someone will have to manually make changes for me.
Thanks though.
Click to expand...
Click to collapse
What are the exact mods you are using already?
I can combine them for you just let me know which ones you want to use.
Ex.... no clock and no location.
P.s. it is currently setup to only show location icon when location services are being used.
Sent from my Incredible using XDA App

Touchwiz with Landscape testers needed

hello there
After days of research,i finally got into landscape without an FC Go to my transparent touchwiz thread for screen shots of it..I have edited some values to fit mdpi which i think will work..i've attached zip for deodex only..try it out and give out your feed back
very very nice work
i have one request
check it out & reply ... if u got success than 100000% i will root my phone for ur TW & one more reuest can u change the position of Screen pages name on top on ace to make like SGS2 in bottom ?
http://forum.xda-developers.com/showpost.php?p=18200863&postcount=61
I didn't get it to work. It didn't force close but it was just black and blank. Tested on stock kpo
Sent from my GT-S5830 using XDA App
hmmm...i have to go through the whole xml to check where am wrong
When you have re-edited those xmls I will be happy to test again
Sent from my GT-S5830 using XDA App
anto.danny said:
hello there
After days of research,i finally got into landscape without an FC Go to my transparent touchwiz thread for screen shots of it..I have edited some values to fit mdpi which i think will work..i've attached zip for deodex only..try it out and give out your feed back
Click to expand...
Click to collapse
Does it rotates even when the Auto-Rotation Is Turned Off??
No,only if the auto rotation is set to on..anyway i built it with zckpa rom's touchwiz can any one test it out in that rom..i have another zip below try it out..i cant say it will work or not i think we will get an FC..can't say unless we try it out bear with me guys ,i don't have my Ace with me now (deodexed only)
anto.danny said:
No,only if the auto rotation is set to on..anyway i built it with zckpa rom's touchwiz can any one test it out in that rom..i have another zip below try it out..i cant say it will work or not i think we will get an FC..can't say unless we try it out bear with me guys ,i don't have my Ace with me now (deodexed only)
Click to expand...
Click to collapse
Do you only want it to be tested on zckpa? Or could I try it out on kpo or kpn
Sent from my GT-S5830 using XDA App
if my transparent touchwiz worked on your rom then try it out...cuz some of users posted on my original thread that the transparent touchwiz didn't work on their roms..cant remember which roms...
Sorry mate, its a force close
Sent from my GT-S5830 using XDA App
is my transparent touchwiz working on your rom???
Which xml file did u edit to enable landscape ? And how? I also want to try.
Sent from my GT-S5830 using XDA Premium App
anto.danny said:
is my transparent touchwiz working on your rom???
Click to expand...
Click to collapse
Yup it does
@devilsking check your PM..Ive been calling out for help ever since i started to port this...
I got it. I will research now
ask me anythin...i think i might be of some use , since Ive pulled some strings here and there inside touchwiz..but TW3 of SGS and SG Ace have different structure so don't try to simply copy paste layout xml...
Here is zip file contain of Tw4.0 Dock & Application & Home Icon
http://www.mediafire.com/?cenc4mlos340k0r
i know editing but dont know how to make file from .rar to .apk
Ok I did see a glimpse of twlauncher landscape but it just fc's again
Sent from my GT-S5830 using XDA App
I got in touch with a modder who created a script to enable landscape touchwiz in SGS ..he said he ll try,lets hope he succeeds
using my leisure time to figure out the solution..plzz recommend about this to modders if you know any...this can happen only if we unite..
Hi.
I had a look at your modded launcher from post #1 and it seems you are familiar with apktool!?
You only have to edit AndroidManifest.xml, change nosensor to user (see below)
Code:
android:screenOrientation="user"
What I read in this thread, it seems you have the same problems I had with my modded launcher
scheichuwe said:
...
It may happen that the first flash won't work (even with an alternative launcher installed). If that happens, restore the original launcher and retry again. Another thing I don't have an explantion for...
...
Click to expand...
Click to collapse
Second time you flash the modded launcher it should work (I don't know why).
And don't forget to install another launcher while flashing
Hope that helps
I can upload an edited apk when I'm back home, but it seems to be easier if you try by yourself (as I don't have a Galaxy Ace to test).

[Q] How to reodex framework files ?

Hi all, just a quick question to chiefs : how do you manage to reodex framework files ?
I found some time ago a script by stericson but it gives me bootloop (system/app and framework..).
Also i would like to know how you add SGS2 lockscreen to a rom ? (Of course i mean after decompile etc.)
There is no tutorial on these questions, i'm not a dev but i really would like to do so on darky..
Thanks in advance to my hero !
Sent from my GT-I9000
Bump.
I think i'm not the only who wants to know that.. i hope !
Sent from my GT-I9000
I'm at work now so i can only point you in the right direction. Google for dexopt-wrapper. Hope this help
Yeah thanks that's the first thing i've found, with the script..
But it gives me bootloops with reodexed framework files..
Sent from my GT-I9000

[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

Categories

Resources