Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,806,279 Members 53,052 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
Mya SeR
Old
(Last edited by Mya SeR; 19th May 2014 at 08:36 AM.)
#1  
Senior Member - OP
Thanks Meter 715
Posts: 1,205
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:
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/

NOTE:DONT COPY WHOLE SYSTEM FOLDER - JUST ITS COMPONENTS
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



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
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, 7 views)
Contact Me
Quote:
 
marcussmith2626
Old
(Last edited by marcussmith2626; 16th May 2014 at 10:51 AM.)
#2  
marcussmith2626's Avatar
Recognized Contributor
Thanks Meter 2,399
Posts: 4,442
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?
 
Mya SeR
Old
#4  
Senior Member - OP
Thanks Meter 715
Posts: 1,205
Join Date: Nov 2013
Location: Al-Menufia

 
DONATE TO ME
U can push them by adb or wait untill i make data script
Contact Me
Quote:
 
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.
 
Mya SeR
Old
#6  
Senior Member - OP
Thanks Meter 715
Posts: 1,205
Join Date: Nov 2013
Location: Al-Menufia

 
DONATE TO ME
Try fix premisions
Contact Me
Quote:
 
Mya SeR
Old
#7  
Senior Member - OP
Thanks Meter 715
Posts: 1,205
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
Contact Me
Quote:
 
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