Which file ln a flashable zip should i edit to change the name which comes while flashing the zip
For Example:
When flashing ICS icon pack
It come on the screen
"ICS icons by abhirocks
Thanx me"
How edit those line
Sent from my GT-S5360 using xda premium
Go to META-INF/com/google/android.. Open the updater script. There you'll see lines like this :-
Code:
ui_print("Icons by [email protected]");
or something like that. The message in the quotes are displayed on screen.
Sent from my GT-S5360 using Tapatalk 2
It should be edited in the updater-script of the flashable zip and it must be signed after editing
follow the link bro it needs ALL THE SCRIPTS U WANT... + u hav to update the file called updater-script
http://forum.xda-developers.com/showthread.php?t=1669489&highlight=updater+scripts
How to sign the zip and i am unable to open updater script which application should use to open it
I am on win 7 32 bit
Sent from my GT-S5360 using xda premium
tjsgy said:
How to sign the zip and i am unable to open updater script which application should use to open it
I am on win 7 32 bit
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Use notepad....or if you have notepad++, it's better...
Sent from my GT-S5360 using Tapatalk 2
updater-script actally is a .txt file... try renaming it by adding .txt at the end.... dnt 4get to delete .txt after ur done bro...
just use notepad ++
and save it in meta-inf/com/google/android/
name it updater-script
anyways the code is
Code:
ui_print ("I'm a potatooooooooooooooooooooooooo")
I made a icon pack zip file, but after i edited the updater script it shows installation aborted what should i do to fix it
I work nicely when i tried without editing the script
Sent either from My Nexus S or my Galaxy Y
did you use notepad?
when installation failed it gives error message like "error code 2" or something. what did you get?
kurotsugi said:
did you use notepad?
when installation failed it gives error message like "error code 2" or something. what did you get?
Click to expand...
Click to collapse
I used notepad ++ i got installation aborted
What did i do wrong?
Do I have to sign the zip? How?
Sent either from My Nexus S or my Galaxy Y
I can see the installation aborted. but I need the error code to solve the problem.
kurotsugi said:
I can see the installation aborted. but I need the error code to solve the problem.
Click to expand...
Click to collapse
It didnt showed any code
Sent either from My Nexus S or my Galaxy Y
uSE NOTEPAD++ to edit codes... that prob is comin due to encoding
hell_lock said:
uSE NOTEPAD++ to edit codes... that prob is comin due to encoding
Click to expand...
Click to collapse
Used it should i upload the zip here???
Sent either from My Nexus S or my Galaxy Y
:facepalm;
the error code should be exist.
after the installation failed, take a pic of the screen with a cam then upload it. you can also upload the updater script's content here.
See i am not that Dumb
Sent either from My Nexus S or my Galaxy Y
tjsgy said:
See i am not that Dumb
Sent either from My Nexus S or my Galaxy Y
Click to expand...
Click to collapse
i think you forgot to put something in the edify,
Code:
run_program("/sbin/busybox", "mount", "/system");
I'm not saying that you're dumb. I just want to know the source of the problem and make sure of it,
Code:
code 2 means its not signed
code 6 means something wrong with the script
no error code means the installation file is broken/corrupted.
the last case is very rare. it might comes from these stuff:
1 the file is corrupted when you copy it to sdcard
2 the sdcard is broken and need to be reformated
3 you didnt't zip it correctly.
you can do these several step to check on it:
1 the zip method when you make the zip file should be store, not compress.
2 try to open the zip file with any zip file manager. you should see the folder inside it are
Code:
meta-inf
<another folder names>
<a bunch of files>
if you only see a folder when you opened it, it means you didn't zip it correctly
All the folders are there zipping it againg n i was joking about the dumb thing dont mind
Sent either from My Nexus S or my Galaxy Y
Related
I recently made a discovery regarding the RETURN_VOID_BARRIER issues encountered while trying to deodex honeycomb's framework. Here is a working version of baksmali based on JesusFreke's 1.2.7 patch with the difference that it now produces compliant smali code that can be recompiled by smali.jar 1.2.6. This means that there is no need to edit the smali code to be able to recompile it.
I tried recompiling with smali 1.2.7 and got a nice box of bootloops so stick with 1.2.6 until a proper fix is implemented in the official smali tools.
Thanks! This was most useful for my project today!
I'm really amazed more people haven't noticed/commented on this TBH.
NetworkLocation.odex still give errors.
Thats the error:
Code:
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoundException: Could not find superclass Lcom/android/location/provider/GeocodeProvider;
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadSuperclass(ClassPath.java:784)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:668)
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:280)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:163)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(ClassPath.java:110)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:104)
at org.jf.baksmali.main.main(main.java:282)
Error while loading class Lcom/google/android/location/GeocodeProvider; from file NetworkLocation.odex
Error while loading ClassPath class Lcom/google/android/location/GeocodeProvider;
I'm also getting errors on galaxy tab 10.1, framework was done without any problem but many of system app can not deodex
Thanks,the proeblem I meet is solved.
trying to download this file, it downloads as a zip, shouldnt it be a jar? I have tried renaming it to jar and it says its corrupt. help?
fallingup said:
trying to download this file, it downloads as a zip, shouldnt it be a jar? I have tried renaming it to jar and it says its corrupt. help?
Click to expand...
Click to collapse
I think you have to unzip it first. Have a peek inside.
sent from my cyanogen(mod) vision
gee one said:
I think you have to unzip it first. Have a peek inside.
sent from my cyanogen(mod) vision
Click to expand...
Click to collapse
its the contents of a .jar file...
fallingup said:
its the contents of a .jar file...
Click to expand...
Click to collapse
It's a zip of a jar file. The jar file is a zip like format, so maybe whatever you are using to unzip is a bit aggressive? Try something milder
sent from my cyanogen(mod) vision
gee one said:
It's a zip of a jar file. The jar file is a zip like format, so maybe whatever you are using to unzip is a bit aggressive? Try something milder
sent from my cyanogen(mod) vision
Click to expand...
Click to collapse
Thanks for gettin me outta my n00b moment silly osx unzipped it and made it seem like just one zip file, its been too long since ive done any dev work on my mac
Yeah, it happens. When I want to peek at something on my mac, sometimes it goes into a loop where it unzips to a tar.gz and then when I try to open that, it opens up a zip. Infinite loop!
It works fine from the terminal command line and zipeg seems to do a good job.
sent from my cyanogen(mod) vision
Hi all.
I want to instal Zoe 2.5 into my GT540. I'm getting an error.
Recovery says to me "Can't open *** (bad)" and it's ending. What can I do?
Sorry for my poor English
Thanks for help.
IuDeXus said:
Hi all.
I want to instal Zoe 2.5 into my GT540. I'm getting an error.
Recovery says to me "Can't open *** (bad)" and it's ending. What can I do?
Sorry for my poor English
Thanks for help.
Click to expand...
Click to collapse
Did u modified the downloaded zip file
I want to know that have you made any changes to the zip file.
Use 7zip and make zip file, select the 3 folders (in zoe rom) right click select 7zip add to archive select zip formate and creat zip now flash it with recovery.
Sent from my LG-GT540 using xda premium
I have tried it before I writed here. Without any effects.
IuDeXus said:
I have tried it before I writed here. Without any effects.
Click to expand...
Click to collapse
just redownload the zip and do not modify it
I downloaded it 5 times.
IuDeXus said:
I downloaded it 5 times.
Click to expand...
Click to collapse
try a different recovery version and follow the steps leoposas wrote in his thread
Did you flashed the downloaded file directly or did you opened the zip and deleted any stuff in that?
Sent from my LG-GT540 using xda premium
No, I didn't modify any files in it.
What is your recovery version
Sent from my LG-GT540 using xda premium
The "bad error" is probably an indicator of a corrupted zip archive. It maybe got corrupted during download, or during transferring to phone. For download try using different browser or a download manager. For transferring to phone make sure that coping is finished without any errors.
It's a problem with a microSD card
Are you able to install it now
Sent from my LG-GT540 using xda premium
i am unable to recompile systemui.apk after changing status bar icon it shows some error please help me what should i do.
Sent from my GT-S5360 using Tapatalk 2
what error? specify please
its saying something like that error massing or changed in the location where i changed icons
Sent from my GT-S5360 using Tapatalk 2
sanchit0403 said:
its saying something like that error massing or changed in the location where i changed icons
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Make sure the png file names are the same
Do not simply replace .9.png only normal png
marcussmith2626 said:
Make sure the png file names are the same
Do not simply replace .9.png only normal png
Click to expand...
Click to collapse
yup i replaced them
Sent from my GT-S5360 using Tapatalk 2
sanchit0403 said:
yup i replaced them
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
If you are simply replacing a png with a png with the same file name & image size there is no need to decompile the apk
simply change the file name SystemUI.apk to SystemUI. zip
unzip the file
goto res/drawable-ldpi
replace png keeping file names & dimensions the same
zip everything back up
change file extension from zip back to apk (if on pc you will need to enable show file extensions in folder options in the control panel to see the zip extention)
put in flashable zip and flashing with system mounted
if you want to use apktool for anything else follow my guide here
http://forum.xda-developers.com/showthread.php?t=2206938
For Windows Version Only
Required Files:
1. Obviously Windows Operating System
2. Ext4 Unpacker
3.Ext2Explore
4. System.img of your ROM
Step 1
Launch Ext4 Unpacker softwareand then select open button
Step 2
Select the System.img of your ROM which you want to extract
Step 3
Now press the "Save as EXT4 button"
Step 4
Now select where you want to save the .ext4 file and enter a name with extension ".ext4" ,then press save
Step 5
Have some tea till the ext4 image is being unpacked
Step 6
Now launch "ext2explore" software. Select it and right click then select "Run as administrator" .
Step 7
Now select File then Open image
Step 8
Select the file you saved earlier with Ext4 Unpacked software and then select "Open".
Step 9
Now select t the file you just have imported in EXT2Explore and then press the "Save" button.
Step 10
Select the folder where you want the unpacked system files to be placed.
Step 11
It will take around 5-10 minutes to get unpacked.
And finally go the folder which you selected. The system files should be placed there
Reserved 1
so u finally got it...i was just about to give u this....lol....
k2wl said:
so u finally got it...i was just about to give u this....lol....
Click to expand...
Click to collapse
Lol
Press thanks if you like my work/advice
May we know the purpose/importance of this? After extract what now?
Sent from my GT-I9082 using xda app-developers app
bongski55 said:
May we know the purpose/importance of this? After extract what now?
Sent from my GT-I9082 using xda app-developers app
Click to expand...
Click to collapse
After cygwin extracts the firmware, there is system.img. I was unable to extract it even if the explore2fs opened up, so I found up this method.
anything more to ask?
Press thanks if you like my work/advice
Razor! said:
After cygwin extracts the firmware, there is system.img. I was unable to extract it even if the explore2fs opened up, so I found up this method.
anything more to ask?
Press thanks if you like my work/advice
Click to expand...
Click to collapse
That is for you. What do people like me going to do with the contents of system.img?
Sent from my GT-N7000 using xda app-developers app
bongski55 said:
That is for you. What do people like me going to do with the contents of system.img?
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
u can use to extract system folder in cygwin...sometimes it is useful...to have options...
u almost must know 2 to 3 different methods...
like i can do this diffrently as follows...
download http://www.rwilco12.com/Files/Misc Files/SGS2 to Ext4 Utility/sgs2toext4.zip
extract it somewhere.
make sure u have java installed
in the folder extracted right click with shift button ppressed...u will get option to open command window here.
when cmd is open give this command
java -jar sgs2toext4.jar
it will open up.
then just drag and drop ur system.img there and u get system.ext4.img
download disk internal linux reader from internet
after installing disk internal linux reader ...click on mount image.>>raw image>>next>>browse to our ext4.img file created.
and u can browse ur system.img there and can save it. u can also mount hidden.ext4.img,cache.ext4.img like wise.
this can be very usefull if u want to extract chache,hidden,system imgs. (u might get bored of linux and want to do some fun on ur windows pc).
bongski55 said:
That is for you. What do people like me going to do with the contents of system.img?
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
Do I forcibly told you follow this guide? And I think neither I asked what will you do with system.img ?
So it's better not to troll me.
Razor! said:
Do I forcibly told you follow this guide? And I think neither I asked what will you do with system.img ?
So it's better not to troll me.
Click to expand...
Click to collapse
Idid not mean to offend you. At least k2wl give a proper response. When you give a "guide" you should at least give a reason or purpose. I am interested on the system folder as a lot of things there pertaining to the rom. Maybe you found a way in windows to put it back to "img" ? We don't know because you did not explain. So please stop being emotional and give a proper response like k2wl did.
Sent from my GT-I9082 using xda app-developers app
bongski55 said:
Idid not mean to offend you. At least k2wl give a proper response. When you give a "guide" you should at least give a reason or purpose. I am interested on the system folder as a lot of things there pertaining to the rom. Maybe you found a way in windows to put it back to "img" ? We don't know because you did not explain. So please stop being emotional and give a proper response like k2wl did.
Sent from my GT-I9082 using xda app-developers app
Click to expand...
Click to collapse
I thought you must be knowing that would "system.img" is.
After cygwin setup working folder system.img is present inside it. I was not able to extract it using the cygwin as it was not responding. So I found an alternate method, this method will extract the system files. And then you can place it inside the working folder.
First Thanks on the First Post. Jonahly.
jonahly said:
First Thanks on the First Post. Jonahly.
Click to expand...
Click to collapse
Hope you find it useful
Make.Believe
If you're good at something
Never Do It For Free - JOkER
thank you for this usefull tuto
and how to save it aguain to .img after extract and make some mod
hi
how to extract boot.img in kernel file??
javad938 said:
hi
how to extract boot.img in kernel file??
Click to expand...
Click to collapse
Follow the steps.
This is not for decompiling kernel.
works very good here. i'm developer for Nexus 4 . Do you know tutorial about META-INF?
Thanks for the awesome tut brother.
Download Original Samsung USB Driver
Download: http://androidmtk.com/download-samsung-usb-drivers
Hello guys,
I have been trying to change the manifest file to make it installable in sd card.. Everytime i change the file..and recomplile it is giving me parse Error..
This is what i done:---
1.) Extracted the Apk file with es file explorer..
2.) went to Androidmanifest.xml and edited like "" <manifest :androidinstalllocation="prefexternal">
3.Recompiled it..
Then parse error .. what am i doing wrong..please correct me..
Thanks in Advance
Sent from my GT-S5360 using Tapatalk 2
the "E" in preferExternal needs to be a capital letter
its perfer not pref
so it looks like this
android:installLocation="preferExternal"
you can also try changing it to to "auto"
This will install it on internal unless it is full but allows the app to be movable to sd card via system settings
also you will need to resign the app else you wont be able to install it
marcussmith2626 said:
the "E" in preferExternal needs to be a capital letter
its perfer not pref
so it looks like this
android:installLocation="preferExternal"
you can also try changing it to to "auto"
This will install it on internal unless it is full but allows the app to be movable to sd card via system settings
also you will need to resign the app else you wont be able to install it
Click to expand...
Click to collapse
Thanks.But i'm still getting a Parse error..Do i need to Use apktool or I can do it in my phone..?
Sent from my GT-S5360 using Tapatalk 2
shyamSGY said:
Thanks.But i'm still getting a Parse error..Do i need to Use apktool or I can do it in my phone..?
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
to edit any xml file you MUST decompile the apk - this means using a decompiler like apktool (there is apktool for mobile)
you cant simply unzip an apk to edit an xml file
you said you recompiled the apk - what you meant was you rezipped the apk which you cannot do
you can only unzip and rezip and apk if you just change a png image - you cannot edit xmls this way
marcussmith2626 said:
to exit any xml file you MUST decompile the apk - this means using a decompiler like apktool (there is apktool for mobile)
you cant simply unzip an apk to exit apk an xml file
you said you recompiled the apk - what you meant was you rezipped the apk which you cannot do
you can only unzip and rezip and apk if you just change a png image - you cannot edit xmls this way
Click to expand...
Click to collapse
Thanks dude..will try
Sent from my GT-S5360 using Tapatalk 2
marcussmith2626 said:
to edit any xml file you MUST decompile the apk - this means using a decompiler like apktool (there is apktool for mobile)
you cant simply unzip an apk to edit an xml file
you said you recompiled the apk - what you meant was you rezipped the apk which you cannot do
you can only unzip and rezip and apk if you just change a png image - you cannot edit xmls this way
Click to expand...
Click to collapse
Once I was trying to port a Armv7 game to v6..i changed the lib files and reziped..and it worked.. So changing lib files differs from editing xml files..it needs Apktool right?
Sent from my GT-S5360 using Tapatalk 2
shyamSGY said:
Once I was trying to port a Armv7 game to v6..i changed the lib files and reziped..and it worked.. So changing lib files differs from editing xml files..it needs Apktool right?
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
lib files are different - you are not actually editing them - they are precompiled files
xmls need to be decompiled to edit then - you will notice if its not decompiled you might be able to see the first few lines and the rest will be all symbols and unreadable
you MUST decompile an apk to edit xml and smali files
marcussmith2626 said:
lib files are different - you are not actually editing them - they are precompiled files
xmls need to be decompiled to edit then - you will notice if its not decompiled you might be able to see the first few lines and the rest will be all symbols and unreadable
you MUST decompile an apk to edit xml and smali files
Click to expand...
Click to collapse
Thanks again
Sent from my GT-S5360 using Tapatalk 2
marcussmith2626 said:
lib files are different - you are not actually editing them - they are precompiled files
xmls need to be decompiled to edit then - you will notice if its not decompiled you might be able to see the first few lines and the rest will be all symbols and unreadable
you MUST decompile an apk to edit xml and smali files
Click to expand...
Click to collapse
The Apktool is asking For data..,where do i get it..?
Sent from my GT-S5360 using Tapatalk 2
shyamSGY said:
The Apktool is asking For data..,where do i get it..?
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
if its apktool for mobile follow the instructions from the thread
you point the app to folder on your sd card
load the framework-res.apk
see
http://forum.xda-developers.com/showthread.php?t=2488697
or
http://forum.xda-developers.com/showthread.php?t=2388135
marcussmith2626 said:
if its apktool for mobile follow the instructions from the thread
you point the app to folder on your sd card
load the framework-res.apk
see
http://forum.xda-developers.com/showthread.php?t=2488697
or
http://forum.xda-developers.com/showthread.php?t=2388135
Click to expand...
Click to collapse
Thanks it worked..
Sent from my GT-S5360