[Q] how to change/include developers name/credits on custom ROM - Galaxy Ace S5830 Q&A, Help & Troubleshooting

guys wherecan i found this entry file on a zip file of custom rom? for example when on CWM and installaing a zip(rom) when extracting the system i can see the names of ROM's developer, where can i find it?

It is written in the updater-script
You can find it in folder Meta-inf/com/google/android/updater-script

Majkio said:
It is written in the updater-script
You can find it in folder Meta-inf/com/google/android/updater-script
Click to expand...
Click to collapse
thank you
after i've edited the updadter-script via note pad, how can i compress it to its type file?

allenpot said:
thank you
after i've edited the updadter-script via note pad, how can i compress it to its type file?
Click to expand...
Click to collapse
No compressing needed... just edit and save...

allenpot said:
thank you
after i've edited the updadter-script via note pad, how can i compress it to its type file?
Click to expand...
Click to collapse
Don't edit via notepad. It wont work. Use Notepad++
My upcoming projects -
nOOb-Lite rom & CyanoETA rom, problem?

tj_droid said:
Don't edit via notepad. It wont work. Use Notepad++
My upcoming projects -
nOOb-Lite rom & CyanoETA rom, problem?
Click to expand...
Click to collapse
How to edit developers name and codename??

Andy96877 said:
How to edit developers name and codename??
Click to expand...
Click to collapse
Use root explorer or similar and go to /system/build.prop it contains the rom name, rom date and more info, just edit this file using root explorer (or similar)
Don't change important values!

Viper The Ripper said:
Use root explorer or similar and go to /system/build.prop it contains the rom name, rom date and more info, just edit this file using root explorer (or similar)
Don't change important values!
Click to expand...
Click to collapse
Sorry, but i have used this trick , bt it dont have developers name and codename in build.prop ... i edited android version and Gingerbread to kitkat bt cant find how to change developers name and codename ??

Developer Name not found
Majkio said:
It is written in the updater-script
You can find it in folder Meta-inf/com/google/android/updater-script
Click to expand...
Click to collapse
I searched for Developer's Name in this file, but unfortunatly didn't get it. But Developer's Name, his website, and images is showing in 'About Phone' in setting menu.

allenpot said:
guys wherecan i found this entry file on a zip file of custom rom? for example when on CWM and installaing a zip(rom) when extracting the system i can see the names of ROM's developer, where can i find it?
Click to expand...
Click to collapse
U can do that by Android Kitchen where therez an option to change the name of rom in build.prop
Hit Thanks if helped

allenpot said:
guys wherecan i found this entry file on a zip file of custom rom? for example when on CWM and installaing a zip(rom) when extracting the system i can see the names of ROM's developer, where can i find it?
Click to expand...
Click to collapse
What you see in CWM, during installation, is written in updater-script to the address:
meta-inf/com/google/android/updater-script
and looks like this:
ui_print("===============================");
ui_print(" Samsung Galaxy Ace S5830 ");
ui_print(" ");
ui_print("===============================");
ui_print(" blablabla by blablabla ");
ui_print(" ");
ui_print("===============================");
Open updater-script with Notepad ++
edit only text between (" ");
like:
Samsung Galaxy Ace S5830
blablabla by blablabla
Then, save.
To the next installation will appear in CWM the text reedited by you.

Related

Q/ How to name a custom rom

Hello i did make rom lb2 and the only problel is how to name it if i go to settings- about phone
Thnx
Sent from my GT-N7000 using XDA
LB2 GB powerd by ...... go to build prop and change ro build display.id
simple enough
build.prop through Root explorer
open in text mode and edit names in rom name display properties
shubham.12 said:
simple enough
build.prop through Root explorer
open in text mode and edit names in rom name display properties
Click to expand...
Click to collapse
yes you are right but slight change.He makes a custom rom so he need to change it before cooking his rom i.e before compiling the files into a .zip file.But the file would be the same i.e. build.prop
shubham.12 said:
simple enough
build.prop through Root explorer
open in text mode and edit names in rom name display properties
Click to expand...
Click to collapse
thanx but can you show me the path of the file
sharjackmission said:
thanx but can you show me the path of the file
Click to expand...
Click to collapse
/system/build.prop

[Tutorial] How to use Lg Weather Widget on CM7 or Miui beta

Tutorial to add Lg classes to the framework.jar in order to make work the original weather widget of LG in every rom.
I have made this process successfully in the CyanogenMod 7.2RC1 and in the MIUI 2.1a.
I discovered this process thanks to doc3000, which created to me the framework.jar of CM7 with Lg classes. After a while researching, I discovered the process.
First of all, make a backup of your rom just in case something goes wrong, be able to recover the terminal restoring it from the recovery, given the fact that a wrong framework.jar will produce a bootlop.
The files you need are:
1) baksmali.jar y smali.jar ,which you can get it from here: http://code.google.com/p/smali/. I have used the .jar files
2) original LG framework.jar file, for example in whatever rom STOCK, available in “/system/framework/framework.jar”
3) framework.jar of the rom to which we want to add the LG classes, available in “/system/framework/framework.jar”
4) WeatherWidget.apk which you can get too from whatever STOCK rom, available in “/system/app/WeatherWidget.apk”
1) Open a console, then cd to the folder where you have the 4 files. Run:
Code:
java -jar baksmali.jar framework.jar -o outlg
This will make a folder named “outlg”, which it will have all the LG Classes of the framework.jar
2) Repeat the same with the framework.jar of the rom that we want to add the LG classes running the command
Code:
java -jar baksmali.jar framework.jar -o out
3) Go to the folder “outlg/com” and make a copy of the “lge” folder to the “out/com” folder.
4) Now run
Code:
java -jar smali.jar out -o classes.dex
5) Open the framework.jar of the rom that we want to add the LG Classes with Winzip / 7zip ... , and replace the file classes.dex from the inside by the one we just have created. (Don't use Winrar, it make an incorrect framework.jar with a bootloop as a result. I don't know if Winzip work, but I confirm 7zip yes)
6) Insert the modified framework.jar to the “/system/framework” overwritting the original file, and checking that it has group and owner “root” and the correct permissions ( To know the correct permissions, look the permissions of any file in the folder “/system/framework/”...)
7) Copy the file “WeatherWidget.apk” in “/system/app/” and put he same permissions as any apk in that directory, check that the group and the owner are “root” too
8) Restart the device, and here we have the original LG weather widget in our favourite rom.
This process should work in every rom in every device, not only in the Optimus Black, but I could not check it because I only have an Optimus Black.
Sorry for my english >.<
Cheers!!!
Thank you i gonna try it out. but why it is in Q&A section? Maybe moderator could move this thread to themes&apps section? xD anyway thank you dude
I have less than 10 posts, I can't post on Development forum, but you are right, apps and themes are the correct forum, sorry >.<
Enviado desde mi LG-P970 usando Tapatalk
It ok maybe moderator can move it some day and more people find it?
Sent from my P970 using XDA
Hang on, i got an idea. i can create thread for you and put link on this thred hows that?
Runtime,
Great toturial on getting stock weather widget to work with cm7.
Any way you could put all this into a flashable zip?
I have abandon stock rom for months now and dont want to go back to extract files. Just too much efforts.
Thanks,
Sent from my LG-P970 using XDA
fongnd said:
Runtime,
Great toturial on getting stock weather widget to work with cm7.
Any way you could put all this into a flashable zip?
I have abandon stock rom for months now and dont want to go back to extract files. Just too much efforts.
Thanks,
Sent from my LG-P970 using XDA
Click to expand...
Click to collapse
If i could make you a flashable zip i would make it for you. But i dont know how to. So ill just make you a zip containing all of needed files c: (btw it seems like the original poster of this left this thread D: )
Sent from my LG-P970 using XDA
Hi all,
I can do a normal zip with all the files needed. This night I will do the zip.
A flashable zip is usseles when developers make a change involving "CyanogenMod/android_frameworks_base" because the framework.jar change. You need to do the process again to get a new framework.jar or you will get a bootlop.
Since u back so i ask qustion again...
Do you want me to open thread for you in themes and apps and give a link to your post... i take no credit for ur work.. so want me to?
P.S. im making zip now
Sent from my LG-P970 using XDA
foggydisaster said:
If i could make you a flashable zip i would make it for you. But i dont know how to. So ill just make you a zip containing all of needed files c: (btw it seems like the original poster of this left this thread D: )
Sent from my LG-P970 using XDA
Click to expand...
Click to collapse
thanks for offering me all necessary files.
I've just go through the tutorial again to rehearse all the command that I need to do.... I think I will screw up on this.... I have a busy life and I cant afford to have bootloop on phone. Just too time consuming.
Zip Is Here!
As i promised, ZIP with all STOCK files you need to go Good Luck with this
LINK:
->> http://dl.dropbox.com/u/78691851/StockFiles.zip <<-​ Have fun c:
foggydisaster said:
As i promised, ZIP with all STOCK files you need to go Good Luck with this
LINK:
->> http://dl.dropbox.com/u/78691851/StockFiles.zip <<-​ Have fun c:
Click to expand...
Click to collapse
Have you try this? meaning get the lg weather widget to work on cm7/muiu
The command that RUNTIME listed... do we execute these on the Android Terminal on the phone
thanks,
fongnd said:
Have you try this? meaning get the lg weather widget to work on cm7/muiu
The command that RUNTIME listed... do we execute these on the Android Terminal on the phone
thanks,
Click to expand...
Click to collapse
As i understood you do this in ADB on your PC....ive got an idea, i can do this for ya just send me your framework.jar (/system/framework/framework.jar) And i can try aply this for you
foggydisaster said:
As i understood you do this in ADB on your PC....ive got an idea, i can do this for ya just send me your framework.jar (/system/framework/framework.jar) And i can try aply this for you
Click to expand...
Click to collapse
link below is the framework.jar from my CM7
https://docs.google.com/open?id=0BwQDdoY7L1pGQ1J6MmQ1Y1pRSUU
thanks,
fongnd said:
link below is the framework.jar from my CM7
https://docs.google.com/open?id=0BwQDdoY7L1pGQ1J6MmQ1Y1pRSUU
thanks,
Click to expand...
Click to collapse
Ok dude its night now so ill do this for you tomorow c: but ull have this i promise nighty night
Sent from my GT-I9001 using XDA
Hi all,
@foggydisaster
I apreciate you offer, I you want to do for me, I thanks you.
The commands are for a windows/linux terminal/shell with java installed, no need to have ABD or android SDK installed. On windows do Start->Run->Cmd, on linux simply open a terminal emulator.
runtime_Err0r said:
Hi all,
@foggydisaster
I apreciate you offer, I you want to do for me, I thanks you.
The commands are for a windows/linux terminal/shell with java installed, no need to have ABD or android SDK installed. On windows do Start->Run->Cmd, on linux simply open a terminal emulator.
Click to expand...
Click to collapse
Ill go with ubuntu c:
Sent from my GT-I9001 using XDA
i have a problem... when i run comand to extract LGE framework.jar it shows folowing:
"
Code:
[email protected]:~/Desktop/workfolder$ java -jar baksmali.jar framework.jar -o outlg
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.DexFile$NoClassesDexException: zip file framework.jar does not contain a classes.dex file
at org.jf.dexlib.DexFile.<init>(DexFile.java:298)
at org.jf.baksmali.main.main(main.java:265)
[email protected]:~/Desktop/workfolder$
Any ideas?
foggydisaster said:
i have a problem... when i run comand to extract LGE framework.jar it shows folowing:
"
Code:
[email protected]:~/Desktop/workfolder$ java -jar baksmali.jar framework.jar -o outlg
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.DexFile$NoClassesDexException: zip file framework.jar does not contain a classes.dex file
at org.jf.dexlib.DexFile.<init>(DexFile.java:298)
at org.jf.baksmali.main.main(main.java:265)
[email protected]:~/Desktop/workfolder$
Any ideas?
Click to expand...
Click to collapse
I edit my first post with CODE tags, copy again the commands and it will work. It's a problem with the "-" simbol in plain text with browser. My fault.
Still the same itworks with CM7 framework filebut not with LGE..

[Script][Optimizer][ZipAligner] Amestris Odexer Script

Hi, this is a script for converting the Deodexed firmware to Odex Structure.
This script is created by Me , ported from vLad's work & mixed TearsDontFalls work for useable for galaxy not.
This is for Samsung Galaxy note & maybe s2(if you test for s2 p.m me) Official Firmwares.
Instruction:
be sure your phone is rooted and The Java Runtime packages is installed on your pc
1: Download The Attachment and Extract it to your PC.
2: Put your phone into USB Debug mode or reboot into recovery and mount system
Code:
Settings > Application > Development
Enable The USB debugging mod
3: Connect The USB Cable into your phone
4: Run the
Code:
odex.cmd
file from downloaded attachment.
5: Your phone will start the Odex Converting and also will Zip_align all applications.
This script will ODEX all fles on your phone:
Code:
/System/app
/System/framework
-------------------------------------
if has error MobileTrackerEngineTwo.apk you most cut this file from /System/app and odex rom after reboot call back this file
Credits:
Mehrzad_63
M_J_Nazari
Vlad
TearsDontFalls
Click to expand...
Click to collapse
DISCUSSION THREAD
http://forum.xda-developers.com/showthread.php?t=1608715
Hello Mehrzad,
You asked me to reply in this thread. The question was how to re-odex a deodexed S2 Samsung 4.0.4 Rom.
I quote:
mehrzad1363 said:
Hello Existence
First you can use this Thread for odexing
this odexer for note and i think work this with S2 . but if you get bootloop upload init.rc in root your phone.
for Deodexer i Necessarily get S2 .Because change this method for any app in system and apks in S2 .
Deodexer is the first way in Windows without linux and I do not have access to different phones.
Click to expand...
Click to collapse
@[email protected] said:
Hi Mehrzad, I'm playing with it as we speak! I changed your odex.sh with bootclasspath for the S2:
Code:
/system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar
But no boot... :crying:
Will upload my init.rc.. Where can I find this?
Will look for it now!
Edit: Here's my init.rc. Thanks for looking into this!
https://dl.dropbox.com/u/25779832/init.rc
Click to expand...
Click to collapse
My init.rc is in the above quote.
The S2 community would be very thankfull if you could make this handy script work for the S2! (I9100)
why should we odex again?
meethere said:
why should we odex again?
Click to expand...
Click to collapse
Odexed is known and proven to be more smooth, fast and less RAM-eating then a De-odexed Rom.
The disavantage is that your Rom will become less easy to customize...
@[email protected] said:
Hello Mehrzad,
You asked me to reply in this thread. The question was how to re-odex a deodexed S2 Samsung 4.0.4 Rom.
I quote:
My init.rc is in the above quote.
The S2 community would be very thankfull if you could make this handy script work for the S2! (I9100)
Click to expand...
Click to collapse
1- open init.rc with notpad ++ and get line BOOTCLASSPATH.
2- replace this line into odex.sh in odexer package
3- next line in odex.sh edit with all jar BOOTCLASSPATH and save
4- for any apk in app folder if get error moved this file to oder folder and finish re-odex callback this file.
Common this way for all android phone . :good:
I have idiot question
How can i knows my rom is odex after run odex.cmd(working)? I dont see anything odex file in system/app and system/frammerwork

[TUT][cyanogenMod 7] How to add soft button to your rom

thank to autoradio for astuce
Hello all there is tut for all want to add soft button to Rom
is simple
decompile [7zip] framework-res.apk..go to res\values\ ...
in values creat an txt file name it bools.txt open with text editor and add
Code:
<bool name="cm_default_is_tablet">true</bool>
<bool name="cm_default_has_soft_buttons">true</bool>
save and rename bools.txt to bools.xml now
add PNG on drawable-mdpi and resize it [ PNG soft button pic it from ics or web ]
rezip your framwork-res.apk [ winrar right clic save zip rename it change zip by .apk
that all
and enjoy soft button
if you dont have soft button add him on drawable-mdpi and resize it and add it to drawable-ldpi that all
PS : if you dont find values folder in your framwork-res.apk just creat new folder name it values and creat bools.xml in values folder
is this work for custom rom based on stock?
can you make it works?
tested on cm7 work now test it on stock rom and feed
To what size do we resize the soft buttons pictures?
And am guessing this would work on any device running cm7/cm9 right?
medicjunKie said:
To what size do we resize the soft buttons pictures?
And am guessing this would work on any device running cm7/cm9 right?
Click to expand...
Click to collapse
mdpi are sized to 76x76 for ldpi i have used 45x45 is perfect
medicjunKie said:
this would work on any device running cm7/cm9
Click to expand...
Click to collapse
tested on cm7 test on cm9 normaly work now feed and add it on thread for help avery one
How bout HDPI?
medicjunKie said:
How bout HDPI?
Click to expand...
Click to collapse
tree 112x112
Do I have to rename the PNG before resize? And how to resize?
After I add bools.xml, rezip, flash, my phone stucks on android logo
spawk said:
decompile [7zip] framework-res.apk..go to res\values\ ...
in values creat an txt file name it bools.txt open with text editor and add
Code:
<bool name="cm_default_is_tablet">true</bool>
<bool name="cm_default_has_soft_buttons">true</bool>
save and rename bools.txt to bools.xml now
Click to expand...
Click to collapse
Where is my credits man?
Inviato dal mio GT-S5570 con Tapatalk 2
where can I download the softbuttons png?
Using a zip software [7zip etc..] != decompiling.
if u dont see the values folder it's because u've not decompiled/decoded the apk but just extracted it.
need to use apktool.
Guys, just want to share. check my mods here:
http://forum.xda-developers.com/showthread.php?t=1649999
roofrider said:
Using a zip software [7zip etc..] != decompiling.
if u dont see the values folder it's because u've not decompiled/decoded the apk but just extracted it.
need to use apktool.
Click to expand...
Click to collapse
tested with apk tool and not find it but work after creat it
sorry. You're teaching an expert ppl make some difficulties for newbie as me to catch up. Can you guide for newbie as well.?
Tq
what if our rom (cm9) already has a bools.xml in res/values?
medicjunKie said:
what if our rom (cm9) already has a bools.xml in res/values?
Click to expand...
Click to collapse
bools.xml and value already existe in cm7 but with 7zip is nor find it but if you decompile with apk decompiler you find it
So what, do i delete it and create a new bools.xml?
Or do i just add the lines you mention in the bools.xml that's already there?
Fyi, i decompiles framework-res.apk with APKTool.
Sent from my LG-E739 using Tapatalk 2
medicjunKie said:
So what, do i delete it and create a new bools.xml?
Or do i just add the lines you mention in the bools.xml that's already there?
Fyi, i decompiles framework-res.apk with APKTool.
Sent from my LG-E739 using Tapatalk 2
Click to expand...
Click to collapse
yes if find it just add line creat it only if dont find it after extraction
where can i find res\values
exz8 said:
where can i find res\values
Click to expand...
Click to collapse
That's the directory lol
You find the folder values inside the folder res.
Make sure you decompile the apk.
Sent from my LG-E739 using Tapatalk 2

(Q) uot kitchen for lg l5

Why when I use uot kitchen for my lg l5 goes into bootloop?
try to extract the moddet things and move with rootexplorer etc. and set right permission one by one.
-CALIBAN666- said:
try to extract the moddet things and move with rootexplorer etc. and set right permission one by one.
Click to expand...
Click to collapse
Are right the settings? http://img9.imageshack.us/img9/5391/qrok.jpg
yes is right,but i have same problem with gingerbread device too,so i have extracted the zip and installed it via rootexplorer one by one.
-CALIBAN666- said:
yes is right,but i have same problem with gingerbread device too,so i have extracted the zip and installed it via rootexplorer one by one.
Click to expand...
Click to collapse
Also files in the folder meta-inf?
only apk files i mean
-CALIBAN666- said:
only apk files i mean
Click to expand...
Click to collapse
Ok thank, now i try

Categories

Resources