[TUT][NOOB FRINDLY] Building Flashable On Device Rom-Kernel

Search This thread

Mohamed Yaser

Senior Member
Nov 29, 2013
1,837
1,526
Hello Guys
Iam Guiding you today to build your on device rom most Of u can do it but i belive somebudy doesn't know That is Noob Frindly Guide

Requirements
Code:
1-PC
2-Winrar/7zip 
oR Root Explorer on Mobile
Part A (Rom Building)
METHOD1

Step1
Code:
Reboot To Recovery
Step2
Code:
Make Nandroid Backup
Step3
Code:
Open Your pc and connect via usb
Step4
Code:
Bull Your clockworkmod folder to pc
Step5
Code:
Extract Templete rom.zip attached below
Step6
Code:
Navigate to your cwm backup
Step7
Code:
Extract System(..).tar
Step8
Code:
Copy The files u extracted (inside system folder u extracted) To Template rom/ System/

[B]NOTE:DONT COPY WHOLE SYSTEM FOLDER - JUST ITS COMPONENTS[/B]
Step9
Code:
Go to Template Rom Folder Select Meta-inf
and system
then add them to new Archive with .zip extintion
Step10
Code:
Flash your rom and enjoy

METHOD 2

Code:
1. Go to treminal emulator
2. Type these commands dont copy that >"
[CODE]
1."su"

2."tar -c system/* >> sdcard/system.tar"
3.navigate to your sd root
4.extract system.tar
5.put its components to template rom>system (like method 1)
6.Enjoy
[/CODE]




Part B (On Device Kernel Packing)

Step 1
Code:
Follow Steps Up From 1-6
Step 2
Code:
Get Boot.img and put it in the root of zip attached (Kernel Template)


Credits
Myaservip
Marcussmith2626
 
Last edited:

TheFixItMan

Senior Member
Jul 8, 2012
7,844
4,052
London
you can also type in terminal emulator

su
tar -c system/* >> sdcard/system.tar


wait until the command promp returns (may take 5 mins so make sure screen timeout is set to at least 15mins to make it easier for you to keep an eye on it without the screen keep turning off)

once done you will have a file called system.tar on the root of your sd card

you can then load this file in android kitchen which is useful for deodexing
or you can just extract it and all your system files will be there to do with as you like - eg put in a flashable zip

note the above requires the following
root
terminal emulator (playstore)
busybox installed (get installer from playstore if not already installed)


my method in spoiler above added to op
 
Last edited:

mohsen01

Senior Member
Jul 8, 2013
83
9
How about my data.rfs.tar? Will I Flash again my Tweak on Phone, after reflashing the ROM backup?
 

mohsen01

Senior Member
Jul 8, 2013
83
9
When I Flash my ROM Backup, It stucks on black screen But Heard the Boot Sound not the animation display.
 

Mohamed Yaser

Senior Member
Nov 29, 2013
1,837
1,526
I will update my template if it worked

Or u might deleted my fix premision binary
Be aware dont replace/delete it to avoid bootloops/breaks