Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,696 Members 37,768 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
myaservip
Old
(Last edited by myaservip; 19th May 2014 at 08:36 AM.)
#1  
Senior Member - OP
Thanks Meter 687
Posts: 1,149
Join Date: Nov 2013
Location: Al-Menufia

 
DONATE TO ME
Default [TUT][NOOB FRINDLY] Building Flashable On Device Rom-Kernel

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:
Select Code
1-PC
2-Winrar/7zip 
oR Root Explorer on Mobile
Part A (Rom Building)
METHOD1
 

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

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

METHOD 2
 

Code:
Select Code
1. Go to treminal emulator
2. Type these commands dont copy that >"
Code:
Select 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



Part B (On Device Kernel Packing)
 

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


Credits
Myaservip
Marcussmith2626
Attached Files
File Type: zip Kernel Template.zip - [Click for QR Code] (201.8 KB, 8 views)
File Type: zip Template Rom.zip - [Click for QR Code] (127.6 KB, 6 views)
 
marcussmith2626
Old
(Last edited by marcussmith2626; 16th May 2014 at 10:51 AM.)
#2  
marcussmith2626's Avatar
Recognized Contributor
Thanks Meter 2343
Posts: 4,374
Join Date: Jul 2012
Location: 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

My Work And Threads For Galaxy Y GT-S5360


My PM is not a Question & Answer thread - Dont treat it as such!
 
mohsen01
Old
#3  
Member
Thanks Meter 8
Posts: 67
Join Date: Jul 2013
How about my data.rfs.tar? Will I Flash again my Tweak on Phone, after reflashing the ROM backup?
 
myaservip
Old
#4  
Senior Member - OP
Thanks Meter 687
Posts: 1,149
Join Date: Nov 2013
Location: Al-Menufia

 
DONATE TO ME
U can push them by adb or wait untill i make data script
 
mohsen01
Old
#5  
Member
Thanks Meter 8
Posts: 67
Join Date: Jul 2013
When I Flash my ROM Backup, It stucks on black screen But Heard the Boot Sound not the animation display.
 
myaservip
Old
#6  
Senior Member - OP
Thanks Meter 687
Posts: 1,149
Join Date: Nov 2013
Location: Al-Menufia

 
DONATE TO ME
Try fix premisions
 
myaservip
Old
#7  
Senior Member - OP
Thanks Meter 687
Posts: 1,149
Join Date: Nov 2013
Location: Al-Menufia

 
DONATE TO ME
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
 
mohsen01
Old
#8  
Member
Thanks Meter 8
Posts: 67
Join Date: Jul 2013
Quote:
Originally Posted by myaservip View Post
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
I'll Try again. *Report Later.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Slide Dial Replacement Dialer Lets You Make Calls from Anywhere

If you frequently make phone calls, your dialer (aka phone app)is one of the … more

Navigate with Your Samsung Gear 2 Using DMA Navi Watch

Whether you’re travelling to a new destination or exploring some previously … more

Xperia Z1 Stereo Speaker Mod, Cell Phone Unlocking Legal Again! – XDA Developer TV

Cell Phone Unlocking is legal again!! That and much … more

[OTA Captured] Verizon LG G Pad 8.3 Finally Gets Official KitKat Update

It’s been almost nine months since the LG G Pad … more