FORUMS

OnePlus 2 Teardown, Major Android Vulnerability – XDA TV

The OnePlus 2 has been officially released. That and much more news is … more

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising … more

What’s Next for Samsung and Its Flagships?

If we were to say that the Galaxy S6 was a leap of faith made by Samsung, we … more

The Ultimate Showcase of dBrand Skins

In the search for ways to protect, accessorize, and personalize; a user has many options. One … more

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

1,341 posts
Thanks Meter: 903
 
Post Reply Subscribe to Thread Email Thread
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, 12 views)
File Type: zip Template Rom.zip - [Click for QR Code] (127.6 KB, 11 views)
Last edited by Mohamed Yaser; 19th May 2014 at 08:36 AM.
 
 
16th May 2014, 10:34 AM |#2  
TheFixItMan's Avatar
Recognized Contributor
Flag London
Thanks Meter: 2,937
 
More
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 TheFixItMan; 16th May 2014 at 10:51 AM.
17th May 2014, 06:35 AM |#3  
Member
Thanks Meter: 8
 
More
How about my data.rfs.tar? Will I Flash again my Tweak on Phone, after reflashing the ROM backup?
17th May 2014, 07:56 AM |#4  
Mohamed Yaser's Avatar
OP Senior Member
Flag Cairo
Thanks Meter: 903
 
Donate to Me
More
U can push them by adb or wait untill i make data script
18th May 2014, 03:43 PM |#5  
Member
Thanks Meter: 8
 
More
When I Flash my ROM Backup, It stucks on black screen But Heard the Boot Sound not the animation display.
18th May 2014, 03:50 PM |#6  
Mohamed Yaser's Avatar
OP Senior Member
Flag Cairo
Thanks Meter: 903
 
Donate to Me
More
Try fix premisions
18th May 2014, 03:51 PM |#7  
Mohamed Yaser's Avatar
OP Senior Member
Flag Cairo
Thanks Meter: 903
 
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, 05:20 PM |#8  
Member
Thanks Meter: 8
 
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