Meta-inf - Sony Xperia S, Acro S, Ion

Hi guys i made a new Rom but i have a problem , how can i change the name in the meta-inf , if i change it i get error status 6.... how can i edit the name into meta-inf? this is the meta-inf https://mega.co.nz/#F!2R9i1R4K!AV8LFRRRkFNts2SiSHw3bw i want to change that name with XxX ROM By Savergiggio but if i do this when i flash the rom i get 6 error status...

savergiggio said:
Hi guys i made a new Rom but i have a problem , how can i change the name in the meta-inf , if i change it i get error status 6.... how can i edit the name into meta-inf? this is the meta-inf https://mega.co.nz/#F!2R9i1R4K!AV8LFRRRkFNts2SiSHw3bw i want to change that name with XxX ROM By Savergiggio but if i do this when i flash the rom i get 6 error status...
Click to expand...
Click to collapse
Hi,
If you mean the Rom version in settings--->about phone, then you must change the value of ro.build.display.id in your rom's build.prop file.
So, it should be like this in your build.prop -
Code:
ro.build.display.id=XxX ROM By Savergiggio
Good luck

abcdjdj said:
Hi,
If you mean the Rom version in settings--->about phone, then you must change the value of ro.build.display.id in your rom's build.prop file.
So, it should be like this in your build.prop -
Code:
ro.build.display.id=XxX ROM By Savergiggio
Good luck
Click to expand...
Click to collapse
No i meant in meta-inf....

savergiggio said:
No i meant in meta-inf....
Click to expand...
Click to collapse
I didn't get you.. Which file are you trying to edit?

abcdjdj said:
I didn't get you.. Which file are you trying to edit?
Click to expand...
Click to collapse
updater-script..

abcdjdj said:
I didn't get you.. Which file are you trying to edit?
Click to expand...
Click to collapse
if you open this meta-inf https://mega.co.nz/#F!2R9i1R4K!AV8LFRRRkFNts2SiSHw3bw
you can see in updater.script a name at the top and if i try to edit it i get error status 6..

can you resolve it?

savergiggio said:
can you resolve it?
Click to expand...
Click to collapse
Yes, it is a common problem. Changing the name should do no harm at all so I am guessing that it is a problem with the character encoding. Firstly, you must use only a program called Notepad++ for editing the updater-script. Then try flashing the rom.zip file. If you still get status 6 then in Notepad++ go to Edit--->EOL Conversion--->Convert to UNIX Format. Then try and let me know if it works

Related

How to compile and decompile apk

Hello guys,
I wana know how to make a apk after we extract and edit it, i think in short form how to compile and decompile apk. Please anyone who can explain clearly and is ther any tool for that..
Thanks...
kishore55 said:
Hello guys,
I wana know how to make a apk after we extract and edit it, i think in short form how to compile and decompile apk. Please anyone who can explain clearly and is ther any tool for that..
Thanks...
Click to expand...
Click to collapse
apk tool is ur frnd.. GOOGLE FOR INSTALLATION
do.a.search on xda about apktool
kishore55 said:
Hello guys,
I wana know how to make a apk after we extract and edit it, i think in short form how to compile and decompile apk. Please anyone who can explain clearly and is ther any tool for that..
Thanks...
Click to expand...
Click to collapse
Try APK MANAGER... Its lot more easier....
emjimadhu said:
Try APK MANAGER... Its lot more easier....
Click to expand...
Click to collapse
help me.quick tutorial apk manager for me decompile&recompile then place in system/app how to apk work..thank
expample: mms.apk..i mod it then i replace it in system/app but not working
You have to sign it with the same signature keys as the phone's framework.
bumslayer said:
You have to sign it with the same signature keys as the phone's framework.
Click to expand...
Click to collapse
more explain to me plz
I think you need this
http://youtu.be/oLQynXg8noM
dude go ahead and do some search
anyways just press thanks
if you just want to change icon or the picture, the easiest way is by open the apk file via 7zip then copy the files into it. its also work if you change some of the script. just put the scipt back to folder. I've used this method to modify systemUI.apk and framework-res.apk. it works fine for me.
kurotsugi said:
if you just want to change icon or the picture, the easiest way is by open the apk file via 7zip then copy the files into it. its also work if you change some of the script. just put the scipt back to folder. I've used this method to modify systemUI.apk and framework-res.apk. it works fine for me.
Click to expand...
Click to collapse
hey thanks man i will try for it...

lost statusbar after modifying

Hi all, first i'm sorry for my poor english and thanks to anyone can help me After long time of searching how to modify an apk, i decided to modify systemui.apk to change notification pulldown background. i was very happy when i decompile, modified and re-compile in success. And i put modified apk to phone and waiting for good result.But i lost my statusbar and home button was in wrong position ( plz look at attached image ) So i tried 2 way to sign modifid apk : use winrar add META IFF folder straight to new apk and in other way i put back resource.arc file to the new apk after extracted from it. Hmm the resut was not like i hope. So any one here can tell me which step i was wrong or something like it and how to fix to get better result
Again thank in advance to everyone :good:
It's probably the image that's wrong.
You try to flash the rom or use the Backup and then set the lock screen by the member Xda post
XperienceD said:
It's probably the image that's wrong.
Click to expand...
Click to collapse
Sorry mate, what you mean ? If i remember exactly Themeing tool is your, and u also used it to modify an apk and attention to the notice that you mentioned in your guide before using new apk.
Oohhlala said:
Sorry mate, what you mean ? If i remember exactly Themeing tool is your, and u also used it to modify an apk and attention to the notice that you mentioned in your guide before using new apk.
Click to expand...
Click to collapse
What have you edited?
Sent from my CM9'd Arc
XperienceD said:
What have you edited?
Sent from my CM9'd Arc
Click to expand...
Click to collapse
deleting a line in .xml file and put an image.png into drawable-hdpi
Well there is the issue. Is this from a guide?
Sent from my CM9'd Arc
XperienceD said:
Well there is the issue. Is this from a guide?
Sent from my CM9'd Arc
Click to expand...
Click to collapse
yes, i used themingtool without any error in decompiling and re-compiling, but when put new apk to phone , i dont know how to make it work,
Oohhlala said:
yes, i used themingtool without any error in decompiling and re-compiling, but when put new apk to phone , i dont know how to make it work,
Click to expand...
Click to collapse
What tool, what guide???
Sent from my CM9'd Arc
XperienceD said:
What tool, what guide???
Sent from my CM9'd Arc
Click to expand...
Click to collapse
tool from here : http://forum.xda-developers.com/showthread.php?t=1374394
guide from here : http://forum.xda-developers.com/showthread.php?t=1803813
Upload the unmodified apk and I'll take a look when I get home.
Sent from my CM9'd Arc
Delete the public.xml and recompile and report back.
XperienceD said:
Delete the public.xml and recompile and report back.
Click to expand...
Click to collapse
first attached file is original apk and next is the one i modified with deleting public.xml and just re-compile
Oohhlala said:
first attached file is original apk and next is the one i modified with deleting public.xml and just re-compile
Click to expand...
Click to collapse
And did it work? I'm on CM9 so can't test it.
XperienceD said:
And did it work? I'm on CM9 so can't test it.
Click to expand...
Click to collapse
no, it didn't work, the statusbar still disappeared

[Help]help me fix decompile apk

help me fix decompile apk
I tried again and again but still error
install the systemui first before decompiling
try this tutorial
http://forum.xda-developers.com/showthread.php?t=2213985
boyheadkick said:
install the systemui first before decompiling
try this tutorial
http://forum.xda-developers.com/showthread.php?t=2213985
Click to expand...
Click to collapse
how install systemui? can u explain more ? plz!
aguero91 said:
how install systemui? can u explain more ? plz!
Click to expand...
Click to collapse
read the tutorial bro its very straightforward
A_U said:
Open command prompt
navigate to the folder where you placed apktool.jar, batch script and the aapt.exe [see screenshot]
For this guide i am using a simple framework-res.apk for reference.
Once you are in the folder via cmd prompt, you need to install the file using the " IF " command
type the following command -
Code:
[B]apktool if [I]name-of-the-app[/I] .apk[/B]
For example, once the command is executed correctly, it will look like this -
Code:
[B]apktool if framework-res.apk[/B]
Once the app is installed you need to decompile it.
Click to expand...
Click to collapse
boyheadkick said:
read the tutorial bro its very straightforward
Click to expand...
Click to collapse
I tried it but still error
you can help your decompile?
i cant..im at work
boyheadkick said:
i cant..im at work
Click to expand...
Click to collapse
So when you have free time, u help yourself
im getting errors bro, probably need the framework
boyheadkick said:
im getting errors bro, probably need the framework
Click to expand...
Click to collapse
thanks bro
I have done , to run apktool if framework-res.apk

owner info

hi man, i have a dude, i can add my name in lockscreen?
look, when i paint my pattern here i wish can look my name
thanks and sorry for my bad english. i'm argentinian man!
Sent from my GT-S5360L using XDA Free
saltalabanca said:
hi man, i have a dude, i can add my name in lockscreen?
look, when i paint my pattern here i wish can look my name
thanks and sorry for my bad english. i'm argentinian man!
Sent from my GT-S5360L using XDA Free
Click to expand...
Click to collapse
i believe spacecaker have that guide sir
just search his name and you can change your name in lockscreen too
saltalabanca said:
hi man, i have a dude, i can add my name in lockscreen?
look, when i paint my pattern here i wish can look my name
thanks and sorry for my bad english. i'm argentinian man!
Sent from my GT-S5360L using XDA Free
Click to expand...
Click to collapse
1. Decompile framework res.apk
2. Go to res/values/string.xml
3. Edit with notepad++
4. Find this : Draw pattern to unlock
5. Replace with ur name
Note: This'll make the Draw pattern to unlock into ur name
thanks sir, before school i try do this.
thanks for two
Sent from my GT-S5360L using XDA Free mobile app
GalKill said:
1. Decompile framework res.apk
2. Go to res/values/string.xml
3. Edit with notepad++
4. Find this : Draw pattern to unlock
5. Replace with ur name
Note: This'll make the Draw pattern to unlock into ur name
Click to expand...
Click to collapse
when i go to res dont find values
saltalabanca said:
when i go to res dont find values
Click to expand...
Click to collapse
you didnt decompile the apk then - you probably just unzipped it
decompiling means you must use apktool to decompile the apk using baksmali
see my thread in my signature for apktool guide
wehn i decompile the apk with apk manager 5.0 cant view the value carpet help me
saltalabanca said:
wehn i decompile the apk with apk manager 5.0 cant view the value carpet help me
Click to expand...
Click to collapse
like I said use apktool and read my thread for the guide - link in my signature
i search with root explorer the framework-res.apk and i send the apk from gmail for hotmail and download with my computer. this are ok?
okay, i do all, how to add the newframework-res.apk to mi phone??
saltalabanca said:
okay, i do all, how to add the newframework-res.apk to mi phone??
Click to expand...
Click to collapse
rename it back to framework-res.apk and put in a flashable zip and flash in cwm with system mounted
cwm flashable template is
http://d-h.st/sr9
just open with winrar and put your framework-res.apk in system/framework
marcussmith2626 said:
rename it back to framework-res.apk and put in a flashable zip and flash in cwm with system mounted
cwm flashable template is
http://d-h.st/sr9
just open with winrar and put your framework-res.apk in system/framework
Click to expand...
Click to collapse
i sign the apk or no sign?
cant sign with drag2sign
saltalabanca said:
i sign the apk or no sign?
cant sign with drag2sign
Click to expand...
Click to collapse
no need to resign if you havent changed the androidmanifest.xml and dont use drag2sign to sign system apps - use zipsigner from the playstore
marcussmith2626 said:
no need to resign if you havent changed the androidmanifest.xml and dont use drag2sign to sign system apps - use zipsigner from the playstore
Click to expand...
Click to collapse
i flash the zip but nothing change :/
thanks of all mods
saltalabanca said:
i flash the zip but nothing change :/
thanks of all mods
Click to expand...
Click to collapse
did you mount system before you flashed the zip?
in cwm goto mounts and storage and mount system (if system is mounted it will display "unmount system")
remember if you are using a cm kernel like biels kernel you have to unmount system and remount it so its best to just unmount it and remount anyway just to make sure

Request: Operator Name in Status Bar

Hi guys, Someone knows a mod that shows the name of your carrier in the status bar? Like this but for Stock 5.1.1: http://forum.xda-developers.com/showthread.php?t=2596089
I already know "Phono", but i want the NAME, no the Logo.
Thank you guys!
Ger$$on said:
Hi guys, Someone knows a mod that shows the name of your carrier in the status bar? Like this but for Stock 5.1.1: http://forum.xda-developers.com/showthread.php?t=2596089
I already know "Phono", but i want the NAME, no the Logo.
Thank you guys!
Click to expand...
Click to collapse
Try some custom text apps from Xposed. XBlast can put text next to clock, (screenshot), but there might be others that will do it better.
There is a books value in the SystemUI, have you tried changing that.
XperienceD said:
There is a books value in the SystemUI, have you tried changing that.
Click to expand...
Click to collapse
idk how to change that
Ger$$on said:
idk how to change that
Click to expand...
Click to collapse
Decompile your SystemUI, go to the values folder and open the bools.xml and look for...
Code:
<bool name="config_showOperatorNameInStatusBar">[B]false[/B]</bool>
...change it to...
Code:
<bool name="config_showOperatorNameInStatusBar">[B]true[/B]</bool>
...and it should display your operator.
I can't find that with root explorer, I'm sorry I'm a rookie, but here is my Sistemui.apk
Ger$$on said:
I can't find that with root explorer, I'm sorry I'm a rookie, but here is my Sistemui.apk
Click to expand...
Click to collapse
Here you go.. You need apktool on your PC. There's a version for Xperia phones that is very easy to use, check it out - http://forum.xda-developers.com/showthread.php?t=2639400
levone1 said:
Here you go.. You need apktool on your PC. There's a version for Xperia phones that is very easy to use, check it out - http://forum.xda-developers.com/showthread.php?t=2639400
Click to expand...
Click to collapse
Thank you!

Categories

Resources