[Q] questions after backingup stock rom on dream uno - Spice Dream Uno

hi all as u all must be knowing in previous posts i have said i backuped my rom.
so in this post i would like to ask some questions after backup.
1. what are the mods and twekes that we can add to our backuped rom? i mean by doing things like editing the build.prop file and so on and from whare can i get some useful twekes for our rom?
2. lets say if i edit some files in the backuped .tar files or if i add or remove apps and then if i restore the backup will i get any errors like md5 sum mismatch and so on?
3. i would like some tricks on increasing the performance of the phone and increasing the battery life and boosting the volume by applying some edits to system files along with some other best mods and tweeks which u feal is good

Related

No more questions about size of the system layout:)

Seeing the many people all the time asking the same questions about the size of the system I decided to describe an extremely simple way to check it for yourself. It's also a way to change the font for example or remove unwanted applications before flashing rom. Believe the all you need to do is install the "7zip" and open rom.zip without unpacking and check the size of the folder system. Now you can change, delete, add content rom also. That's all, really
Sent from my HD2
Sent from my HD2
Great info. Didn't know that!
I suggest to add following info:
-Apk´s added to system/app don´t have to be signed.
-app´s/apks could be also in data/app folder
-Some apk´s like Rosie apk (Sense Roms) have to stay there
.....
Ohh and if you add big and much apk´s you will have to increase the system partition when flashing CWM
Hope i could complete your info

HyperDroid ROM discussion and support Thread (with FAQ in post #3)

As the title suggests, this is a thread for all the HyperDroid ROM discussion or questions.
The idea of this thread is to keep away all questions from development thread, which do not belong to.
This way Team HyperDroid can get to work without having to answer the all so annoying questions that get asked over, and over, and over again.
Please do only post at development thread, if you have considered the following words from Pongster:
If you're having trouble with anything, the only way we can find out what's causing your Issues is If we have complete information.
The logcat/wakelocks/dmesg will do just that...
Simply reporting something doesn't work, will not help... we all have different devices, different setups, different device manufacturing dates, etc...
If everything is set to default, everything works on our devices.
:: NEW :: IRC channel for chat and support :: NEW ::
Click to expand...
Click to collapse
FAQ (Thanks to malhor)
Click to expand...
Click to collapse
Download Links for Base Roms
Base Roms
Click to expand...
Click to collapse
Download Links for surgeons & themes
Surgeons and themes descriptions
Doc's surgeons
Pongster's surgeon available OTA in ROM tool
ICS Domination v1.9 UNIVERSAL Hyperdroid v6
Noed's DarkBlueGray Theme V2.1
sreg's Theme V6.240
Mobs Blue Double Ginger Hyperdroid
Mobs Green Hyperdroid VR Theme
rixsta's Black Chrome
Click to expand...
Click to collapse
Download Link for RedPillKernel
RedPillKernel Rev1.3(Changelog, FAQ, Download)
Release thread
Click to expand...
Click to collapse
Other usefull links and stuff
Pdroid patches by Veyka
Petsasj's TouchWiz Launcher mods
Applications safe to remove thread
Debloater scripts
Click to expand...
Click to collapse
Learn how to file a complete bug report in Android
Hyperdroid user question in this thread!!!
We need to encourage all users of Hyperdroid, who are NOT contributing debugging information to the development or testing team to use this thread to discuss their issues and experiences (positive, negative, or otherwise), and most importantly, post their functional questions here.
Posting to the development thread questions that are not development related or that relate to development related enhancements is placing an unnecessary burden on the Team.
Let's try to support each other and keep the bandwidth low on the development thread. Let's help the development and testing Team by keeping user related discussions alive and vital here...
[UPDATE] Hyperdroid FAQ
Hi Hyperdroid fan user,
We are compiling Q&A post on the Rom in this thread. Its purpose is to trace the Q&A that for now are recurrent in the dev's thread and hopefully later, in this one ?
For those experiencing problems with sound or silent alarm or "no beep beep" when calling with 6.0.8 , DOC have published a fix, here's the post :http://forum.xda-developers.com/show...&postcount=463
Fix is included in later versions
Questions often asked on the thread
Q: Why is base rom always full wipe?
A:Only when base is full wipe, it is (almost) sure, that users do not complain about issues, which are introduced by themselves. If you are an experienced user, you are able to change the updater-script on your own risk. But then you can propably handle it. This user effort of full wipe is little compared to the questions, which dev's are faced with a no-wipe.
Q : Is the ROM "RTL friendly" ? does it support RTL ?
A : Yes the ROM does support RTL. You can activate the RTL patch within the Hyperdroid Part application. Open Hyperdroid parts, go to Androidmeda tweaks > Personalization > Right to Left Patch confirm you want to apply the patch and voilà !
Q : What's the difference between Redpill v5 and v6 ?
A : To make it short : V5 base is XXKL1 and includes JKay, V6 base is XIKL2 and doesn't include JKAY mod. Detailed change log between V5 and V6 can be found here : http://forum.xda-developers.com/showpost.php?p=21767096&postcount=2
Q : Why v6 doesn't includes JKAY ?
A : Because JKay only develop with version he got (mostly XW and XX), if a XI version appears, then it may be integrated later ... or not
Q : Does vert's ics theme work?
A : Latest version is now hyperdroid compatible. Thank the man for taking time to do it.
Q : Where can I find Themes
A : DOC's Surgeon and themes can be found here : http://forum.xda-developers.com/showpost.php?p=21778696&postcount=96
Other themes / surgeons will become available via the OTA tool, please be patient as it take some time for the Devs to upload all that to the servers
Q : After I installed xxx's surgeon, apps won't install on market, it says app incompatible with device
A : If you or the surgeon (most do it) have changed your DPI you will have to set it back to 240 or 160, clear market cache, and reboot. You can do it all from HyperDroidParts
After reboot, restart market, install your applications, change DPI back to what you like, reboot again and voilà. Blame the sloppy application's developer for not supporting multi dpi
Note : in some cases, it seems that the reboot is not enough. If it happens for you, try restarting the phone instead
Q:I've a bug with the rom, should I post to the dev's thread ?
A :If you want the dev's to be able to help you, give them a logcat from just after/before the issue happen.
if you're not easy with how to get one, there are a few apps on the market you can download which will do the trick.
Post it in the dev thread along with the complete description of your issue and detailed steps you made to get the issue.
As a general remark, and because sadly things have to be repeated continuously :
Before posting, you should try to reproduce it with only the base installed.
if you can't, then it is an app or theme issue don't post it in the dev's thread. Ask here for help of other users if they can, they will.
if you can, then post all the info in the dev's thread
BTW, don't bother to post in the dev's thread if:
you use another kernel
you haven't tried to reproduce it on a full wiped base
A usefull link with details on how to fill bug reports from pongster itself : How to submit Useful Bug Reports
Q :I want to have my apps flashed with the rom as described in the changelog, how can I do this ?
A :Note that this is an advanced feature. if you modify the rom this way and get any problem, flash a base first before posting any "bug" Here is a short how to :
1- extract the archive on your HD say into a new directory called "hyperdroid". Just under that directory, you will see a folder named [data]
2- add a new subdirectory to data called 'app'
3- put in it the application you want to be installed as user applications. Be carrefull though, user app apk got renamed when put in this directory, i.e. Titanium apk has to be called "com.keramidas.TitaniumBackupPro-1.apk"
4- rebuild your archive
5- copy on your phone and flash through recovery
if you got all the files needed by your application, then you should see it installed in the app drawner and working.
Advice
You must check if your favorite application is using dependancies (library or anything else). Put these library under [System/Lib] (if the lib subdirectory does not exist create it)
You can do the same for system applications (launchers or paid app keys need that sometime).
... This post will be updated with recurrent question asked here and on the dev's thread
... PM me or noke955 if you think of any useful addition in order to not pollute the thread
missing feature in v5 & v6
Hi,
I have try to add my apps into /data/app inside the zip before flashing it but unfortunately I didn't found a folder named "app" in /data in both zip files (HyperDroid_Androidmeda_v6.0.0_signed.zip or Hyperdroid_Androidmeda_v5_XWKL1_signed.zip).
Is it the wrong way to do this?
Hi,
Can you add the sure fire way to use non fully compatible market dpi to work properly in first topic! I know 160dpi is too small for some, i found 192 to be perfect and i saw someone mention it but i forgot the procedure, it was like clear market, set it to 160, accept market, change to whatever dpi, then change something (forgot) then use market...
Anyone know what I mean, im sure this would help a lot of people as a first post guide
#Randomfact using Rixsta's ics keyboard mod(theme in Verts thread) works perfectly with petsasj's modded keyboard found in his and doc's surgeon
Sent from my GT-I9100 using Tapatalk
lesid007 said:
Hi,
I have try to add my apps into /data/app inside the zip before flashing it but unfortunately I didn't found a folder named "app" in /data in both zip files (HyperDroid_Androidmeda_v6.0.0_signed.zip or Hyperdroid_Androidmeda_v5_XWKL1_signed.zip).
Is it the wrong way to do this?
Click to expand...
Click to collapse
short answer : yes you're doing it the wrong way
long version :
Although you can do it, if you modify the ROM, nobody won't be able to reproduce any issue that you might have created by adding your apps. Instead, you better goes the surgeon way.
Create a surgeon that will install your apps (you can even add the data related to them if you want). You will then flash the surgeon after you flash the ROM.
For more information on surgeon read this !
---------- Post added at 05:44 PM ---------- Previous post was at 05:42 PM ----------
dkimmortal said:
Hi,
Can you add the sure fire way to use non fully compatible market dpi to work properly in first topic!
Click to expand...
Click to collapse
Yeah, I'll update the Q&A section with that one.
Thank you
For those who want to wake the S2 with the Homebutton, just edit the sec_key.kl at system/user/keylayout
It worked for me.
willybrand said:
For those who want to wake the S2 with the Homebutton, just edit the sec_key.kl at system/user/keylayout
It worked for me.
Click to expand...
Click to collapse
For all of you who do not want to get dirty hands, thankfully, HDP does it for you :
Go to settings > hyperdroidparts > androidmeda tweaks > wake options and chose one of the provided option
Thanks the Dev's team for this amazing piece of work, thanks especially petsasj for the HyperDroidPart : Advanced tweaks made easy
missing feature in v5 & v6
I would like to install titanium backup by using the new feature discribe in v5 & v6
I'm refer to what D.O.C put in thread #2 of "[ROM]-HyperDroid Androidmeda v5 & v6 RedPill Kernel inside-(24/01/2012)":
Release Date 24/01/2012
Hyperdroid Androidmeda v6
Contains RedPill Kernel Series v1.0
Updated HyperDroid Parts
Based on XILA2 Firmware from Samsung
Increased volume steps to 15 all sliders except for ring tones and notifications.
SD card not mounting errors should now be fixed, kernel incorporates some of the init.d tweaks that might have been the cause of the problem.
updated time zones to version n
Fujutweaks 4.0
Tweaked sqlite libs
Tweaked SQlite3
Csc is just a place holder
ROM supports hdpi and mdpi (except twlauncher, look here thanks to petsasj)
Deodexed
Zipaligned
AND rezipaligned on every boot for system/app, data/app, framework/app (Just to be sure for all your other apps)
Pre-Rooted for your convenience
here -> /data/app folder inside zip for auto installing preferred apks on boot (Simply copy apk's there and it installs... easy peasy)
Enable of BLN for stock Samsung SMS application (montymintypie/no.one.writeme)
appwidgetpicker for widget display ala cm7 (boombuler)
Hosts blocked except for some medical apps
resolv.conf added for faster gps lock
apn list from cm7
SIP over 3G
smooth spinners
Blur set to slow to avoid corruption of CRT effect (props to doctorcete)
Battery with 204 pngs for smooth animations supported
Lidroid 15 toggles(tweaked, removed "lidroid Rom branding")
Advanced Power Menu with removed phone title options.
Build prop with some modifications with several tweaks for optimisations.
Init.d scripts for ram and speed optimisations, some taken from (some init.d tweaks Modded taken from nexxx85)
BLN support (neldar and creams)
Removed vibrate icon (OP)
Build.prop tweaks (OP)
Stock themed
Market 3.4.4
Calendar now supports mdpi
Incall dialer now supports mdpi
Music supports mdpi
FM application supports mdpi
At boot removed welcome screen due to incompatibility with newest google maps.
OK, I've had a look at the ROM files. heres a short how to :
1- extract the archive on your HD say into a new directory called "hyperdroid". Just under that directory, you will see a folder named [data]
2- add a new subdirectory to data called 'app'
3- put in it the application you want to be installed as user applications. Be carrefull though, user app apk got renamed when put in this directory, i.e. Titanium apk has to be called "com.keramidas.TitaniumBackupPro-1.apk"
4- rebuild your archive
5- copy on your phone and flash through recovery
if you got all the files needed by your application, then you should see it installed in the app drawner and working.
Advice
You must check if your favorite application is using dependancies (library or anything else). Titanium needs a file called libtitanium.so
Put these library under [System/Lib] (if the lib subdirectory does not exist create it)
You can do the same for system applications (launchers or paid app keys need that sometime).
malhor said:
For all of you who do not want to get dirty hands, thankfully, HDP does it for you :
Go to settings > hyperdroidparts > androidmeda tweaks > wake options and chose one of the provided option
Thanks the Dev's team for this amazing piece of work, thanks especially petsasj for the HyperDroidPart : Advanced tweaks made easy
Click to expand...
Click to collapse
It never worked in my case
Power Key only works, with Power Key and Home i have to push the two Buttons together and this is quiet sensless to me!
Thank's for the great job, i will give feedback when i'll make the install! for now i'm testing the yakkasrom hopping the battery life will be better with the hyperdroid V6..! again big thank's!
After installing v6 and DOCs Surgeon i reverted back to v5, but the DOC Bootscreen (a static one) is still there for a couple of seconds after that the androidmeda.gif is shown.
How can i remove this image?!
EDIT: It´s the image which is stored in the boologo folder in the surgeon. but how can i remove this image?
Dominic83 said:
After installing v6 and DOCs Surgeon i reverted back to v5, but the DOC Bootscreen (a static one) is still there for a couple of seconds after that the androidmeda.gif is shown.
How can i remove this image?!
EDIT: It´s the image which is stored in the boologo folder in the surgeon. but how can i remove this image?
Click to expand...
Click to collapse
Change the image with the one you want (find the stock one if that's what you want) place it in the bootlogo folder and flash again and it'll change.
AvRS said:
Change the image with the one you want (find the stock one if that's what you want) place it in the bootlogo folder and flash again and it'll change.
Click to expand...
Click to collapse
Thanks for your answer.
But now i am back on version5 so i cannot flash surgeon v6.
In the normal Hyperdroid v5.zip there is no such folder, where i can place another image.
BTW: I like the Androidmeda Image.
Dominic83 said:
Thanks for your answer.
But now i am back on version5 so i cannot flash surgeon v6.
In the normal Hyperdroid v5.zip there is no such folder, where i can place another image.
BTW: I like the Androidmeda Image.
Click to expand...
Click to collapse
I'm not at home so can't look at the zips but I'm pretty sure the standard VRTheme template has the bootlogo folder in the root of the zip so I'm sure you can add a bootlogo folder and then put the image you like in there. If you don't want to try it I'll have a look when I get home tonight. You can look where that folder is in the surgeon and use exactly the same path as that as a surgeon is just a mini ROM so to speak.
Thanks,
in docs surgeon there is a folder called "bootlogo" at the root of the zip. There is a jpg and another file.
I take a jpg (the last one 126) from the standartbootanimation and vertumus ics theme. There i create a bootlogo folder at the root and put in the jpg and the other file from doc and flash it.
But the bootlogo is still there.
It would be great, if you can make zip for me (no hurry, take the time you need)
1.whats the difference between wiping data, cache, dalvik cache and wiping data, cache, dalvik cache + format system, data, cache. When should i use the second method and when the first?
2. when to use samsung ultimate cleaning script, whats the difference if i just wipe cache, dalvik cache and flash new kernel without cleaning script?
mp1806 said:
1.whats the difference between wiping data, cache, dalvik cache and wiping data, cache, dalvik cache + format system, data, cache. When should i use the second method and when the first?
2. when to use samsung ultimate cleaning script, whats the difference if i just wipe cache, dalvik cache and flash new kernel without cleaning script?
Click to expand...
Click to collapse
Hi,
2- Never used the ultimate cleaning script so can't tell if there is a diff.
1- Wiping deletes the content of the said directory IIRC where Format will erase the whole partition. If you format your system, you won't be able to boot until you flash a new rom.
So if you want to clean, wiping is enough.
PS. I've just looked the code for the script. in addition to wiping cache and so, it also clean the /system/ect/init_d directory. BTW, in this script, format and wiping call the same command : delete_recursive, so it is basically the same operation done twice
i was reading some where and they say that XILA2 (v6) (using doc script) should have a new lockscreen......
i dont even have a lock screen on v6 only pass-code pattern
only me ?

[GUIDE]How to make a custom rom?Custom ROMs explained[UPDATE:20-3-2012]

Hey Guys,
I am going to explain some of the files in a custom rom,the small and easy to mod files because the aim is to educate newbies and NOT advanced devs.
Ok,So,I have seen a lot of questions being asked nowadays about making custom roms.This guide is NOT about building a custom rom but about editing and modding it.I am doing this guide taking CM7 as base,not stock,so there might be differences between the roms you choose to mod.Also,I am prone to mistakes here and there.If i made any,please comment about it and i will remove it.Also,please feel free to give your suggestions about making this guide better
What you would need:
Notepad++
WinRar or any other zip/rar manager like 7zip or WinZip
If you want go advanced,you would also need these things
Cygwin
Smali/Baksmali
APK Multi tool or anything like that,i dont care
And most importantly,a brain and eyes(So,Dont ask me stupid questions like,how de fuk du i xtarct? and then in brackets,sorry for my english)
GUIDE:
So,first up,download a rom of your choice(Dont forget to get the permissions for modding from the developer) and extract it.When you extract it,you will see 2 folders and 1 file,it varies.It depends on the contents of the rom.
The folders are:
1.META-INF
2.system
The file:
1.boot.img
So,
Open up system and the first folder you are going to see is 'apps'.
As you already see,this is the place where all the apps go,for the history.You might also see some .odex files below the apps.So,if you remove an app,you should delete the odex file too.If you want to add an app,just drag and drop Take care not to delete each and every app you find,because each of them has their own functions.Also,if you delete contact.apk and replace it with a better dialer like Exdialer,you wont be able to add or delete contacts.So,there are some files better left alone.
If you want to know how to merge them,then use google,there are a lot of tutorials on deodexing.If you want to edit an app,then use APK multi tool,again please use google,lots of tuts on this one too.
Also,you will find an app here and its a main one,systemui.apk By editing systemui.apk,you can get transparent status bars,transparent notification bars,centre the clock.Things like that.The idea with which you edit Systemui.apk and framework-res.apk,thats how your rom is going to look like.These files handle the visual things and they are awesome too.For some systemui mods,refer HERE
Now,some apk files are lib-dependent,meaning,they need certain lib files to work,a few examples are,Swype keyboard,now,swype wouldnt work if this lib file is not included in the rom,libswypecore.so,so if you remove swype,remove this lib file also,because its just a wastage of space and it doesnt do anything.Another example is DSP Manager in Froyo,in GB,it works native,no need to add any applications,but in Froyo,if you add DSP Manager,there are a few lib files that you should add to get them to work.
Next,the 'bin' folder,this guide is aimed at the noobs,so nothing about this,this is a bit advanced stuff,so sorry.
Next up,the 'etc' folder.There are a lot of things that go here.I wont be going to full details for the moment because i am having exams,so no time.However,i will be explaining the easy to explain files.
One thing you will notice is the 'init.d' folder.If you want to add any script like LagFree v2,just put the files of the init.d folder in the script's folder here,nothing else.You dont need to copy any other files like META-INF.
Another file,is CHANGELOG-CM,just as the name suggests its a file giving you changelogs
Another file is NOTICE.html..Its just a file showing copyrights and all that stuff.You wouldnt need to edit that,would you?
Will add more about the other files soon
Next,the 'fonts' folder..You guys need an explanation for that??
Next,'framework' folder.Here you will find framework-res.apk(Obviously,duh...).I wont tell about any other file because this is aimed at new users,not advanced guys.Framework-res is where all the icons in notification bar are.The battery icons,they are all in framework.Also,lockscreen icons
go here..Most of the icons.If i have to start on anything.It would take me weeks,theres so much to write about framework.Also take care not to mess up the framework.Because its like the skeleton(thats what i know ) of a rom.If a framework is incorrectly configured,the rom wont boot.So,keep that in your mind always when you edit framework.
Next,the 'libs' folder,This guide is aimed at newbies,so not touching this part.
And comes 'media'..Most probably you will find 2-3 folders here.Audio,bootanimation.zip and wallpapers.
If you want to change the default,its in build.prop,not here,i will explain that later.If you need to add some audio,its just drag and drop,nothing much,just put them in the right folders,like alarms,ringtones and notifications
If you need to add wallpapers,reszie the pictures to 640x480,thats the resolution that works for ace.Also resize it to 107x80 and save it as another pic with a _small at the end.For eg,the default file is defaultwallpaper.jpg,you make another pic with 107x80 called defaultwallper_small.jpg.
Then,theres the bootanimation.zip..However way you change this thing.Always name it bootanimation.If you want to know how to make a boot animation,then refer freeyourandroid.com
Next up is 'tts' folder..Sorry but i dont know much about this folder.I think this folder contains the languages for the tts app but i am not sure about it.Same goes for 'usr' and 'wifi' folders.But since this thread is aimed at newbies,i dont think there wouldnt a point in writing them up anyway
Next up is build.prop file.Open it with notepad++...build.prop file is pretty self explanatory.
Here you can change the most basic things like the android version that setting shows..Wondered how people are making 2.3.4 look like 4.0.3 in settings??Its build.prop.Also,you can change what 'About phone' shows here.
Other things,you can change things like,how long your wifi scans,how much battery your phone saves while in sleep,Dalvik VM heapsize and default ringtones.If you are wondering what # stands for,it signifies that,that particular tweak is not running,so you can take out the # if its a tweak you like.You could also use it say things like,Additional build properties.You could make it #AdditionalBuildProperties and go to the next line and give your tweaks there.Some build.prop tweaks can be found in slaid480's thread in Galaxy Ace S5830 titled "[MOD]Build.prop tweaks for SGA" or you can go to freeyourandroid.com and find some tweaks there,however the tweaks listed there are universal,so practise caution when playing with build.prop
Now to boot.img..Theres an awesome guide about this in freeyourandroid.com Please have a look at it,because there are lots to write about this one.This is where Cygwin comes in,for instructions on unpacking and repacking and commands and info about boot.img,referHERE and HERE.My summarized version,boot.img is where you can replace kernels.This is where you can make those low-level changes
Then,to META-INF folder.You would find lots of folders here but the file that you would edit consistently is update script.Find it and open it with Notepad++..Unless you edited xbin and bin files,this is not hard to do..Just change around ui_print to what you like.Dont touch anything else if you dont know what you are doing.If you DID edit xbin or bin files,you would need to touch advanced things like symlink tagged ones(I had to give them some sort of a tag)
Updater-Script References and notes:
Now,the updater-script is not something that you should mess around with,a single line of error in the script could get you in trouble.You might also have heard these words,Amend and Edify and wondered what they are,well Edify is the language with which Updater-script is written,while Amend is the language with which Update-Script is written.Now,As far as i know,Ace does NOT support Update script,it just supports Updater-script,so if you are working with kitchen,dont forget to swap the files in META-INF with the the updater-script provided by ketut.kumajaya in Blackhawk thread.So,you should learn to study updater-script of roms and patches before you mess around with them,especially patches here...Now,for example,I made a GPS patch that replaces hw folder in CyanogenMod with my patch.Now,i tell the updater script to delete the hw folder in lib and make another one and put my files in there,you,a normal user will flash it and it would work,but a rom maker without seeing that i have told the updater script to delete hw folder,adds my lib files to the existing lib files,which causes the rom not to boot.So,study the updater-script of patches and see what they do before you jump in and start doing things your own way and mess things up.I will write down a few updater-script commands here and what they do for your convenience now.Here you guys go with it:
mount-mounts a filesystem
is_mounted-checks if a filesystem is mounted
unmount-Unmounts a filesystem
format-format a filesystem (duh..)
delete-Deletes a single file
delete_recursive-Deletes a folder and all of its contents
show_progress-Display flash progress
package_extract_dir-Extract all the files present in a directory to a specified directory
package_extract_file-Extract single file from directory to specified target
file_getprop-dont know much about this one
symlink-Unlinks any existing symbolic links before creating the new symbolic links.
set_perm-Sets permissions for a file,note you dont write rw-r-r here.Its the numbers,for example,for root access,you write 777(right?),not anything else
set_perm_recursive-Sets permissions for a full directory,for example,if you specified a folder,permissions for the folder and all files in it will be set.
getprop-This function returns the value of the property specified. This is used to query platform information from the build.props file.
write_raw_image-Writes a raw image into a partition
apply_patch-Applies patches to a directory -_- (dont you guys understand it just by reading that? )
apply_patch_check-Checks if a file can be patched or if they have been patched
apply_patch_space-Checks if there is enough space to apply a patch
read_file-Reads contents of a file
sha1check-If only data is specified, then the function returns the sha1_hex string of the data. The optional parameters are used if you want to verify that the file you are checking for is one of a list of hashes. It reutrns the hash it matches, or returns nothing if it doesn't match any of the mentioned hashses.
ui_print-It outputs a message to the users while flashing.So,if you see something like 'This is so awesome',know that its not such a big deal and that its just a line of editing here
run_program-Runs a program
ifelse-This is the if-then construct of the Edify scripting language. The truecondition or falsecondition arguments can be a single edify command or a script block. Script blocks can be formed by enclosing the parameter with parenthesis, and seperating the commands with semicolons
abort-duh..it aborts script execution
assert-If condition evaluates to false, stops script execution, otherwise continues processing.
Thats it,dont worry after seeing all these commands.You wont see them all in most of the roms.Here is a list of commands that you usually see in a updater-script.
ui_print
mount
unmount
delete
delete_recursive
package_extract_directory
symlink
show_progress
set_perm
set_progress
set_perm_recursive
getprop
run_program
assert
Now on making it a flashable zip,archive them to a zip file.Get a signer here: http://forum.xda-developers.com/showpost.php?p=6050996&postcount=2
NOTE:Signing is not necessary
The instructions on using that are given with it.Just rename it back to the name you like after signing it.
Thanks to everyone.Especially,freeyourandroid,XDA and TeamCooper and all members of XDA developers and to me (well,you are the one who does that,remember that button Jk )
Hope this helped you guys..Again,this is a thread aimed at educating the new members,not advanced guys.Sorry if i missed anything or made a mistake..Please give me suggestions on this too.Will add more info to this thread when i have the time[/SIZE]
good guide
Looks good
Very helpful.
Fix those grammatical errors !
*grammar nazi alert*
Herpderp Adreno + Tegra.
gOOD guide overall but you shiould make it more advanced
EmoBoiix3 said:
Fix those grammatical errors !
*grammar nazi alert*
Herpderp Adreno + Tegra.
Click to expand...
Click to collapse
Aah....grammar hitler
slaid480 said:
gOOD guide overall but you shiould make it more advanced
Click to expand...
Click to collapse
Yep..I know that..I will work on it but i dont have much time now
This is a great guide , it'll help me a lot ^_^ thanks.
Great tut dude
Is an update needed??I dont think so because it didnt even stay on the front page for a day
Awesome guid please add some more advanced features and custom rom building guide also if u can. :thumbup:
Sent from my GT-S5830 using Tapatalk
The bad effect will be more and more new custom firmware which is actually just a re-branding
ketut.kumajaya said:
The bad effect will be more and more new custom firmware which is actually just a re-branding
Click to expand...
Click to collapse
What???I dont get you
mor_1228 said:
Awesome guid please add some more advanced features and custom rom building guide also if u can. :thumbup:
Sent from my GT-S5830 using Tapatalk
Click to expand...
Click to collapse
I will add them by tonight or something like that when i have time..Not much time now,stupid exams Oh,i hate them
Originally Posted by ketut.kumajaya
The bad effect will be more and more new custom firmware which is actually just a re-branding
Prawesome said:
What???I dont get you
Click to expand...
Click to collapse
Click to expand...
Click to collapse
i got what he is trying to say.
he is saying that due to rom building guides noobs will also learn how to build custom rom but they may not have that knowledge skills to make a distinguished ROMS they will be building common roms with little or no difference, difference will be only that different people will release rest things will be kind of same only no drastic changes.
hope i am right
mor_1228 said:
i got what he is trying to say.
he is saying that due to rom building guides noobs will also learn how to build custom rom but they may not have that knowledge skills to make a distinguished ROMS they will be building common roms with little or no difference, difference will be only that different people will release rest things will be kind of same only no drastic changes.
hope i am right
Click to expand...
Click to collapse
Maybe..But i am tired of questions on building custom roms..Recently,there were a lot of questions on building custom roms
Yeah.. i'm a newby become smarter... thx for share...
Sent from my GT-S5830 using xda premium
I will add more info about the boot.img and framework-res.apk tonight
Nice work, thank you
If you have time, can you please post a guide on how to sign APK files?
For example, if i want to edit an icon of an app, i change the icon in the .apk but then i have to sign it, how can i do it?
On the net i found lots of guides and programs but none of them worked for me...
Anyway good work

just installed the new update... looking for battery percent mod that works

i have a stock rooted rom on here, and i just want the battery percent in the battery, but when i flashed the zip i got some stupid bootloop error talking about word counts or something, so i had to reflash it. i installed 4.24.651.3, and apparently the mod found here isn't compatible?
Go on your PC and go to uot kitchen Google will bring it up, go to the kitchen to upload files and extract the needed files from your phone systemui.apk framework-Res.apk and com.HTC.resources I believe are the 3 go to mod battery pick your icon and colors, make any other mods u want go to summary and submit your work wait for pickup, download and transfer to SD card, go to recovery wipe cache and dalvik, find zip and flash, reboot and profit
We are legion, for we are many
haha thanks... **** how did i not know about that? i gotta quit working so much
No prob can make lots of cool mods on there I use it to finish up and build the apks or zips for most of my themes, I use uot to add my battery icon and popups where I can see em b4 flashing em makes choosing colors much easier even tho I've been using almost all ics colors lately lol, but it makes the zip and/or apk for me so it saves me some hassle I just upload my pre modded files and then make the mods and build and bam flashable zip or installable apk without a ton of hassle
We are legion, for we are many
I cooked a battery percentage mod with the 4.67 and will try it and upload it to either my blog or my Personal file sharing site for any one to grab.

[Q] Can you make a .zip from your ROM?

Hy all, I just wanted to ask if I can actually make a backup or save my actual rom with all my configuration (not the sd card data stuff since I know I can copy paste that in or out ^^) Im actually with a custom rom which is great and I've changed stuff from system/ usr and I would like to be saved as well the real question is..
CAN I MAKE A .ZIP OF EXACTLY WHAT'S IN MY PHONE RIGHT NOW? A PERSONAL ROM WHITH ALL THE CONFIG SAVED?
Thank you for the help ^^ did the MAYUS for the people that don't want to read a lot
Of course you can. It`s called nandroid back-up. You can find it in your custom recovery.

Categories

Resources