[Guide][tip]adding text that appears while flashing a rom from cwm - Galaxy Y GT-S5360 General
Okay so this guide is for peoples (and everyone who are intrested) who requested me to demostrate how to manupulate the text that comes im cwm screen during flashing of a custom rom
****I AM NOT RESPONSIBLE FOR MESSING OF BRICKING YOUR PHONE SO PLEASE TRY ON YOUR OWN RISK****
First decompress the rom (you should know how to do that if you are trying to mod it or use search button )
For custom text, you have to edit updater-script
If you dont have any knowledge of updater-script then:
***DO NOT EDIT ANYTHING EXEPT WHAT I DO OR YOU MAY MESS UP YOUR ROM***
You may find the it here at:
META-INF/com/google/android/*here*
**do a Backup of the file first**
use ONLY but ONLY notepad++ for opening the updater-script or it may get currupted
Add this in given format::
ui_print("TEXT should be here");
(Note: you can add many lines in the given format if you want many lined texts while flashing)
Add your text start at top in tje format as mentioned and save the updater-script and replace it with original in the rom
Now compress the rom again and make a flashable zip...
And you're ready to see your custom text while flashing it via cwm
Credits: all xda dev who are amazing teachers..
Ps. Its my first thread so correct me if something is wrong
press THANKS if i helped you in any way
Cheers
Hritik154 said:
use ONLY but ONLY notepad++ for opening the updater-script or it may get currupted
Click to expand...
Click to collapse
lol
I use Notepad (not Notepad++) and it never gets corrupted. To be honest, any text editor will do, so long as you don't mess up in your editing.
NightRaven49 said:
lol
I use Notepad (not Notepad++) and it never gets corrupted. To be honest, any text editor will do, so long as you don't mess up in your editing.
Click to expand...
Click to collapse
Im generally recommending notepad++ for editing files..plus i said it MAY corrupt the file..its just a precaution for my future posts where you (in general) may want to edit xml files and opening with notepad will corrupt it...for example try opening build.prop next time with notepad you'll know what im talking about
Hritik154 said:
Im generally recommending notepad++ for editing files..plus i said it MAY corrupt the file..its just a precaution for my future posts where you (in general) may want to edit xml files and opening with notepad will corrupt it...for example try opening build.prop next time with notepad you'll know what im talking about
Click to expand...
Click to collapse
notepad++ have a good layout for editing a code
btw my friend kurotsugi already create this thread
and last...u must sign ure rom
Development in galaxy y is so fast now and i think no one is noob here
and why we are using Notepad++
becoz it has 3 formats for diff. operating system.
1.windows/DOS
2 unix/posix
3.mac
if u r writing code for linux than u choose 2nd one in EOL CONVERSION.
Becoz Android is linux based OS.
kartik verma said:
Development in galaxy y is so fast now and i think no one is noob here
and why we are using Notepad++
becoz it has 3 formats for diff. operating system.
1.windows/DOS
2 unix/posix
3.mac
if u r writing code for linux than u choose 2nd one in EOL CONVERSION.
Becoz Android is linux based OS.
Click to expand...
Click to collapse
Lol someone is spamming thread just cuz i pointed out error in his mod xD dunno how xda came to this point...anyyyway you already said no noobs here so i guess everyone knows its a linux based os and how to use notepad++ i said use it its upto you if you want to or not..and as i said its for precaution while editing xml files cuz they may get corrupted while using notepad..greets
Hritik154 said:
Lol someone is spamming thread just cuz i pointed out error in his mod xD dunno how xda came to this point...anyyyway you already said no noobs here so i guess everyone knows its a linux based os and how to use notepad++ i said use it its upto you if you want to or not..and as i said its for precaution while editing xml files cuz they may get corrupted while using notepad..greets
Click to expand...
Click to collapse
m not spamming ur thread
u r a free lancer and their is no error in my mod.
peoples like u who figuring out useless error in other mods which arent exist.
This is a thread , on the request of users.
u made thread like this.... XD
Why not u post about permissions in android ...??? They are more helpful than this plus.
kartik verma said:
m not spamming ur thread
u r a free lancer and their is no error in my mod.
peoples like u who figuring out useless error in other mods which arent exist.
This is a thread , on the request of users.
u made thread like this.... XD
Why not u post about permissions in android ...??? They are more helpful than this plus.
Click to expand...
Click to collapse
Please check your post or pm me if you wanna know something not related to this thread..its actually spamming just dont increase postcounts until or unless you have something to ask from this specific thread
Hritik154 said:
Please check your post or pm me if you wanna know something not related to this thread..its actually spamming just dont increase postcounts until or unless you have something to ask from this specific thread
Click to expand...
Click to collapse
no need to ask already learnt many thing which u are learning now.
and i dont want to increase post counts and i dont want likes , i never say other user to like maah post , i help u so hit thanks buttons.
like u who say "press thanks buttons"
kartik verma said:
no need to ask already learnt many thing which u are learning now.
and also want to increase post counts and i dont want likes , i never say other user to like maah like , i help u so hit thanks buttons.
like u who say "press thanks buttons"
Click to expand...
Click to collapse
Why do you have to be so irritating :/
Just simple to understand line:
DONT POST IF YOU DONT HAVE SOMETHING TO ASK RELATED TO THREAD
grow up guys
back to topic or malybru come here
The reason why you should use notepad++ is due to the way windows handles the return key (and other functions)
If you make a new line (ie press enter) windows and Linux handles this differently and may cause the script to fail unless using the way Linux interpretates it by using notepad++
Anyway there are plenty of threads in xda that go into far more detail & explain all the commands of the updater script so I suggest if you want more details please search
Related
supernoob how do i put themes on my rooted rc33 g1
i cant figure it out and i dont wanna ruin my phone
zcollins11 said: i cant figure it out and i dont wanna ruin my phone Click to expand... Click to collapse read!!!search!!!
Help.. Maybe you should help him above poster, you are clearly wasting your time just telling him to research if he didn't manage to do that before he posted. -Download the theme -Rename to update.zip -Copy to SDcard -Power up phone in recovery -Alt+L if you do not see any text, then Alt+S, or just Alt+S if you see text. Then let the update finish, and youre set to go.
thank you is this where i find themes
Seriously wasting thread space with pointless questions that are answered with a little more effort. Search the forum.
Nooo... there are no themes in the section dedicated to themes and wallpapers.. this is where you find out how to fly airplanes. =.=' Like all those said above, please either A. use the search first or B. use your common sense.
At the last i made my custom ROM,now comes the questions?
Hello, atlast after 3days of download and work i have made a custom Rom that has my name on it with HTC Desire HD stuff and updates but now what i need to ask is : 1) how can i put my name Rom name in the Notification like RCMix or the others? 2) any easy way to make boot screens or animations or so found but that i can edit or anything? 3) any way to make a custem theme there is only the online thing and sadly i dont knw how to use it or its limited, i want like AuraxTSense is it possible? 4) if i have a update.zip file that has in it an .apk can i take it and add it to the app section and it will work normaly? that is it for now thanks a lot for all the help i get and links....
To add your own version number, open the build.prop file and add it to the end of the 'Software version' line
To build themes from scratch, I believe that you'd have to rip apart the res-framework.apk.
EddyOS said: To add your own version number, open the build.prop file and add it to the end of the 'Software version' line Click to expand... Click to collapse this part i solved it in the kitchen but i mean when u drag the notification bar from top to bottom u will get RCMix or any other name i want to cutemiz it to my name eden2812 said: To build themes from scratch, I believe that you'd have to rip apart the res-framework.apk. Click to expand... Click to collapse mmm ill give this a try and see what i can reach but are there tools to change or its just rip and have fun
If you change the .apk to .rar you can extract and see some jpegs and whatnot in their folders. This should be the one to edit. Then again, these are the things I've picked up from the chatter between the more senior and tech-savvy. You might want to look at this? http://forum.xda-developers.com/showthread.php?t=729867
eden2812 said: If you change the .apk to .rar you can extract and see some jpegs and whatnot in their folders. This should be the one to edit. Then again, these are the things I've picked up from the chatter between the more senior and tech-savvy. You might want to look at this? http://forum.xda-developers.com/showthread.php?t=729867 Click to expand... Click to collapse there is no jpegs only .png and not what i want and what u gave me doesnt have anything to do with themes i have no idea why its themepro.... anyways ill look more into it but if there is something starigh to the point or video im thankfull im still searching
[Q] Who can teach me to edit framework?
I dont want to edit pngs and stuff like that. I want to edit xml files to change my UI and make it much cooler. If you can please PM me or help me out on this thread. Ive been wanting to do this for a while but havent gotten much help. Ive tried many things and cant get it. Thanks.
joe_d08_17 said: I dont want to edit pngs and stuff like that. I want to edit xml files to change my UI and make it much cooler. If you can please PM me or help me out on this thread. Ive been wanting to do this for a while but havent gotten much help. Ive tried many things and cant get it. Thanks. Click to expand... Click to collapse Go to the themes section in the stickies there is a theme guide by dreamsforgotten the best theme guide youll ever find....i have yet to read the part on xml editing otherwise id help you but i know it consists of the JDK java dev kit and the SDK for android and apktool to decompile and recompile the framework-res.apk. have fun hope this helps.
(FOR PROGRAMMERS) Create a ROM apks' images resizing tool
Hello Everybody , as i have seen this would apply to ALL android phones , so i posted it here ! I have searched over the xda , and couldn't see an apk resizing tool so it could fit on smaller devices more like hdpi to mdpi ... But it is easily possible with the script i am going to provide down ... I don't know if you heard about ImageMagick tools , a whole bunch of scripts almost capable of everything for editing pictures . These scripts contain a script called mogrify.c , this script can resize images in percentages , ratios , specific length and/or width ; but featuring a rare thing to find """RESPECT FOR ALPHA""" , yes it respects alpha = the transparent parts of the image are NOT filled with white instead of staying ... USAGE : So for the use of this script for example.png , if example.png was hdpi , we would type in for example "mogrify -resize 75% example.png" , and then example.png would be applicable to mdpi ... another example , but this time we have a bunch of pngs which need to be resized , so the command would be "mogrify -resize 125% *.png" and fastly they will be enlarged 25% each png in the specified folder ... and so on ... note that we can type in instead of 75% or 125% , 320x480 (but this will resize the image , not resolution , so only way for resizing from hdpi to mdpi using this script is by calculating ratios and percentages , and working on their basis ... Ok so i was thinking one of the programmers could create a GUI for a proper use for ROMS , and this wouldn't be a hard task for programmers i guess , so what i want from the programmers to in this GUI is : 1-Extract every system apk except some(not at once , in alphabatical order) (if there was exceptions) 2-Run the script as wanted using percentages (from mdpi to hdpi , from xhdpi to mdpi etc ...) 3- XMLs are left to resize , so then include workspace.xml resizing or any other xmls (totally your job , i have no idea how it works) 4-Repack the apks and push them into a copy of the ROM By that we could partially and most importantly ported a WHOLE rom to the desired device !! The script is down , google for Mogrify if you needed a or wanted to know more info ! wish this stickies ! WARNING !! THIS TOOL DIDN'T WORK WELL FOR ME WHILE USING BATCHES (but worked pretty nice in normal cmd.exe) , TRY TO FIND AN ALTERNATIVE !! PLEASE include me in the credits of it , I was very tiiirreeedd so i can find such an important script !!
How exactly do you run it? By making a batch file? I could definitely use this. Your OP is a bit confusing. But this does look promising.
hmm yeah forgot to tell how to run it , i will add it to OP ...
yes it looks prommising..let us know how to...gj
I am not a programmer myself , because of that i said [FOR PROGRAMMERS] , i am just a 14 year old student , but this GUI can be made like any other GUI , see like Virtous studio , it is a combination of many stuff all in one ! so this should be worth the hustle ! share it in your signitures , this will beautify the world of android !
any cotributions ??
Just came across this and first off thank you! I'm knee deep in a project that i need to convert a whole rom from hdpi to ldpi, this is a life saver. I will pass the word on to see if anyone wants to help you with the gui ! Sent from NS4G Pool Party
Thanks a lot , but actually i am NOT A PROGRAMMER , so i wished if i gave a headstart , the "guys" would continue the thing ! I can't do anything from now on , i gave what i had , and now its the programmers turn !
seaskyways said: Thanks a lot , but actually i am NOT A PROGRAMMER , so i wished if i gave a headstart , the "guys" would continue the thing ! I can't do anything from now on , i gave what i had , and now its the programmers turn ! Click to expand... Click to collapse Yeah i got you, I'm going to see if any of my contacts want to take this on Sent from my Sprint Galaxy Nexus -Everything i post is opinion based on my experiences and should be taken a such.
any news ??
seaskyways said: any news ?? Click to expand... Click to collapse you actually should stop in and talk to the guys who do TWRP i imagine a "one size fits all" theme zip would be awesome for them...
This is not meant for theming , this is for resizing a whole ROM apks ... so this is very important for the android devices , lets say the Sense 3.0 was given to the mdpi htc devices , wouldn't this be cool ??
seaskyways said: This is not meant for theming , this is for resizing a whole ROM apks ... so this is very important for the android devices , lets say the Sense 3.0 was given to the mdpi htc devices , wouldn't this be cool ?? Click to expand... Click to collapse Trust me this is for themers too! Sent from NS4G Pool Party
Yeah i know , I used this method to resize many things FOR THEMING , but i need help to spread it , I am not a recognized developer or even recognized user of anykind , so no one would look at this unless you guys spread it !
seaskyways said: Yeah i know , I used this method to resize many things FOR THEMING , but i need help to spread it , I am not a recognized developer or even recognized user of anykind , so no one would look at this unless you guys spread it ! Click to expand... Click to collapse Believe me eyes are on this just be patient Sent from NS4G Pool Party
Any updates ??
So I am the only one concerned about such a big project ??
seaskyways said: So I am the only one concerned about such a big project ?? Click to expand... Click to collapse You made this rather confusing... I see you attached some imagemajick code or something... But have you released something? I don't understand from the OP if you've released something or written something, and there's no clear documentation of what's going on.
pulser_g2 said: You made this rather confusing... I see you attached some imagemajick code or something... But have you released something? I don't understand from the OP if you've released something or written something, and there's no clear documentation of what's going on. Click to expand... Click to collapse Dear Admin , No I haven't released anything , this is an Idea for the PC/Linux programmers... I have attached that file in there , so that I could make it easier for devs to accomplish what we all need , a tool to resize pngs without any loss of alpha data ... So if a Elite programmer could work on this , to decompile every apk in the system and resize all the pngs and xml files and recompile them into the ported system , then One Software would apply on all hdpi , mdpi , ldpi , xhdpi etc ! get it or still not yet clear ??
Hey OP - PM me, let's talk more. This sounds very doable to me, and I am a programmer. I just need some more details.
Adding an apk to SecSettings.apk
I've run through several how-to's and I still can't get an app to compile after I make the changes to add something to the settings app. I make the changes to strings xml and settings_header but then it won't compile. The reason for it not compiling seems to be an issue with the android manifest xml but in all I have done I do not alter it (or maybe I need to) Anyone have an idea ? Thank you !
hednik said: I've run through several how-to's and I still can't get an app to compile after I make the changes to add something to the settings app. I make the changes to strings xml and settings_header but then it won't compile. The reason for it not compiling seems to be an issue with the android manifest xml but in all I have done I do not alter it (or maybe I need to) Anyone have an idea ? Thank you ! Click to expand... Click to collapse Most devs don't cruise the Q&A section, so you will probably get more help here. It will also benefit other members having it all in one place. Some more info will help like what app you are trying to add.
upndwn4par said: Most devs don't cruise the Q&A section, so you will probably get more help here. It will also benefit other members having it all in one place. Some more info will help like what app you are trying to add. Click to expand... Click to collapse Thank you. It's a bit unclear the best place to ask questions not related to flashing or someone else's ROM. That and I was getting pretty mad and now that I read my above question,it is so vague and rambling. I posted my question over there. http://forum.xda-developers.com/showpost.php?p=42007405&postcount=41