Android 5.0.2 and New Factory Images For Nexus 7 (Wi-Fi) Available

Android 5.0 is has been publicly available since early November, and the … more

Github Tutorial App Shows You How to Use… Github

Github can get pretty complicated and using it can become quite daunting, especially … more

Google Glass-like Clip-On For Regular Glasses Developed by Sony

For the price of $2,000, a pair of glasses that can run apps, take pictures, … more

Micromax Takes OnePlus to Court! Android Wear Receives Lollipop – XDA TV

Android 5.0 Lollipop is available officially for the Moto 360! … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP Mya SeR

16th May 2014, 11:20 AM   |  #1  
OP Senior Member
Al-Menufia
Thanks Meter: 745
 
1,254 posts
Join Date:Joined: Nov 2013
Donate to Me
More
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)
Last edited by Mya SeR; 19th May 2014 at 09:36 AM.
16th May 2014, 11:34 AM   |  #2  
marcussmith2626's Avatar
Recognized Contributor
Flag London
Thanks Meter: 2,636
 
4,901 posts
Join Date:Joined: Jul 2012
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 by marcussmith2626; 16th May 2014 at 11:51 AM.
17th May 2014, 07:35 AM   |  #3  
Member
Thanks Meter: 8
 
67 posts
Join Date:Joined: Jul 2013
More
How about my data.rfs.tar? Will I Flash again my Tweak on Phone, after reflashing the ROM backup?
17th May 2014, 08:56 AM   |  #4  
OP Senior Member
Al-Menufia
Thanks Meter: 745
 
1,254 posts
Join Date:Joined: Nov 2013
Donate to Me
More
U can push them by adb or wait untill i make data script
18th May 2014, 04:43 PM   |  #5  
Member
Thanks Meter: 8
 
67 posts
Join Date:Joined: Jul 2013
More
When I Flash my ROM Backup, It stucks on black screen But Heard the Boot Sound not the animation display.
18th May 2014, 04:50 PM   |  #6  
OP Senior Member
Al-Menufia
Thanks Meter: 745
 
1,254 posts
Join Date:Joined: Nov 2013
Donate to Me
More
Try fix premisions
18th May 2014, 04:51 PM   |  #7  
OP Senior Member
Al-Menufia
Thanks Meter: 745
 
1,254 posts
Join Date:Joined: Nov 2013
Donate to Me
More
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
18th May 2014, 06:20 PM   |  #8  
Member
Thanks Meter: 8
 
67 posts
Join Date:Joined: Jul 2013
More
Quote:
Originally Posted by myaservip

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.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes