Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Spex
Old
(Last edited by Spex; 28th April 2012 at 01:33 PM.)
#1  
Spex's Avatar
Recognized Contributor - OP
Thanks Meter 2110
Posts: 2,170
Join Date: Oct 2011
Location: Zagreb

 
DONATE TO ME
Default [GUIDE]How to make a custom rom

Hey guys
i made this guide for new users that want to learn something about android development and make their own custom rom
*NOTE:this guide is made for new users, and here u will only learn how to mod custom rom not how to build it from source

Things u need are:
  • "7zip" or "winrar" or "winzip"
  • base rom
  • patience
  • notepad
  • and signer (get it here)


Things u see when extract rom:

1.META-INF
2.system
3.boot.img


U wont need to touch "META-INF" and "boot.img" so open "system" folder.
There u see many folders (and build.prop) but since this is guide for new users we gonna rely only on this folders:


  • app
  • fonts
  • framework
  • media
  • some other folders if u want to use scripts ˙(gonna teach u how just continue reading xD)

Now go to "app" folder
there u see many applications and maybe .odex files
here choose what u want to delete (*NOTE- if u delete application u should delete .odex file)
here is list which apps u can delete
*NOTE-make sure that if u deleted launcher that u replace it with your desired launcher

If u want to change fonts, framework and theme system ui then go to uot kitchen .U will just have to copy and replace files


build.prop
this is where u can change your roms name and add some tweaks

to change roms name u have to change this line
ro.modversion="here write your roms name"

*NOTE-without "" xD
here are some tweaks for build.prop tweaks
just copy<paste them
Quote:
# Signal Tweaks
ro.ril.hsxpa=2
ro.ril.gprsclass=10
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=10
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=5

# NetSpeed Tweaks
net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960

# Google DNS Tweak
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
net.dns1=8.8.8.8
net.dns2=8.8.4.4

# Photo And Video Quality
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.enc.jpeg.quality=100

# Touch Responsiveness
debug.performance.tuning=1
video.accelerate.hw=1

# Scrolling Responsiveness
windowsmgr.max_events_per_sec=500

# Call Tweaks
ro.telephony.call_ring.delay=0
ro.lge.proximity.delay=25
mot.proximity.delay=25

# Power Save Tweaks
ro.ril.disable.power.collapse=1
pm.sleep_mode=1

# Performance Tweaks
ro.kernel.android.checkjni=0
ro.config.nocheckin=1

# Disables Debug Icon On Status Bar
persist.adb.notify=0
Scripts

to use scripts like Adrenaline™ Engine | 3.0 | or SlaidyBoost-V2.3
u just have to copy files from folders to the same folder
example for slaidy boost:
when u extract it u will see:
META-INF *folder
system *folder

navigate to "system"
and copy files from "etc" to "etc" rom
*NOTE- copy just files u see in folder not whole folder
and then copy files from "xbin" to xbin in your rom
 
If you want to support young student please donate.
It would really help me to do better and more work.
The Following 77 Users Say Thank You to Spex For This Useful Post: [ Click to Expand ]
 
Spex
Old
(Last edited by Spex; 22nd April 2012 at 08:43 AM.)
#2  
Spex's Avatar
Recognized Contributor - OP
Thanks Meter 2110
Posts: 2,170
Join Date: Oct 2011
Location: Zagreb

 
DONATE TO ME
1.Download base rom
-its best to take stock cyanogenmod that isnt already modded or some stock based
2.Extract rom with 7zip or winzip
3.Go to /./"rom"/system/app and delete apps u will replace or just delete
-its best to make rom as light as it can get (list of apps u can delete is given above)
4.Replacing bootanimation
-download bootanimation u want to use and rename it to "bootanimation"
-delete animation u find in /./"rom"/system/media and then paste bootanimation u downloaded

5.Adding scripts
-everything is explained in above post
6.Giving your rom name
-to change roms name u have to change this line in build.prop
ro.modversion="here write your roms name"
*NOTE-without "" xD

7.Adding build.prop tweaks
-explained in above post
8.Compress it in .zip
9.Sign it with signer given above
 
If you want to support young student please donate.
It would really help me to do better and more work.
The Following 39 Users Say Thank You to Spex For This Useful Post: [ Click to Expand ]
 
vishal007
Old
#3  
vishal007's Avatar
Senior Member
Thanks Meter 128
Posts: 649
Join Date: Sep 2011
Location: Rohtak
Plz also post tut for making kernel and rom from source in future
My blog
http://galaxyminihacks.blogspot.com

Samsung Galaxy Mini
 
Spex
Old
#4  
Spex's Avatar
Recognized Contributor - OP
Thanks Meter 2110
Posts: 2,170
Join Date: Oct 2011
Location: Zagreb

 
DONATE TO ME
Quote:
Originally Posted by vishal007 View Post
Plz also post tut for making kernel and rom from source in future
I dont know to build from source
but there are some guides i think
 
If you want to support young student please donate.
It would really help me to do better and more work.
The Following 6 Users Say Thank You to Spex For This Useful Post: [ Click to Expand ]
 
winkan
Old
#5  
Junior Member
Thanks Meter 3
Posts: 25
Join Date: Aug 2011
Location: Turkey
Thank you mv_style. Good source for beginners.
AndroidRehber.net >-->
 
Spex
Old
#6  
Spex's Avatar
Recognized Contributor - OP
Thanks Meter 2110
Posts: 2,170
Join Date: Oct 2011
Location: Zagreb

 
DONATE TO ME
Quote:
Originally Posted by winkan View Post
Thank you mv_style. Good source for beginners.
np
after u master this
things will go by them self
 
If you want to support young student please donate.
It would really help me to do better and more work.
The Following User Says Thank You to Spex For This Useful Post: [ Click to Expand ]
 
Filipm95
Old
#7  
Filipm95's Avatar
Junior Member
Thanks Meter 0
Posts: 24
Join Date: Feb 2012
Default How to unpack boot.img

Hello.
This guide is awsome, but. How to unpack boot.img? I can't do that...
I have a backup of my Rom. Inthis backup is boot.img and recovery.img. I want to extract boot.img, because here is all folders to Rom... I did it once in DSIXDA Kitchen, but now i dont remember how do i did it :P
Help me plz
 
Spex
Old
#8  
Spex's Avatar
Recognized Contributor - OP
Thanks Meter 2110
Posts: 2,170
Join Date: Oct 2011
Location: Zagreb

 
DONATE TO ME
Quote:
Originally Posted by Filipm95 View Post
Hello.
This guide is awsome, but. How to unpack boot.img? I can't do that...
I have a backup of my Rom. Inthis backup is boot.img and recovery.img. I want to extract boot.img, because here is all folders to Rom... I did it once in DSIXDA Kitchen, but now i dont remember how do i did it :P
Help me plz
dont know what u need it for
but here it is
http://forum.xda-developers.com/show....php?t=1494036
 
If you want to support young student please donate.
It would really help me to do better and more work.
The Following User Says Thank You to Spex For This Useful Post: [ Click to Expand ]
 
Avilove.Cullen
Old
#9  
Account currently disabled
Thanks Meter 692
Posts: 2,892
Join Date: Mar 2012
Location: ♥♥Bradford♥♥
Quote:
Originally Posted by Filipm95 View Post
Hello.
This guide is awsome, but. How to unpack boot.img? I can't do that...
I have a backup of my Rom. Inthis backup is boot.img and recovery.img. I want to extract boot.img, because here is all folders to Rom... I did it once in DSIXDA Kitchen, but now i dont remember how do i did it :P
Help me plz
Extract system.rfs !!
No need to xtract boot.img

Sent From my lovely FIT..... !! lOvE u Fit
 
daxdax89
Old
#10  
daxdax89's Avatar
Senior Member
Thanks Meter 10
Posts: 164
Join Date: Dec 2010
Location: Knjazevac
Brate



1. rename your unsigned zip file to "update.zip"

2. execute "sign.bat", wait for completion

3. "update-signed.zip" is your signed rom file

Koji unsigned file ?

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...