Thursday, May 5, 2016

[GUIDE] How to make a custom android rom with DragonFace.

Whats sup guys?I been using dragonface to make custom roms for my android device.So i decided to make a guide showing you how to make your own.Enjoy.Make sure to thank me!:D alright lets get started


Basic Requirements: - Dragonface V2.2.0 V2.2.3 (download here in this Forum)

- Dragonface Tutorial, and knowledge of the basic functions (download here in this tut)

- Windows Explorer

- Notepad++ (http://ift.tt/1xi1FmQ)

- ROM you want to modify

- Phoiexcard



If additional tools are requiered, they are mentioned in the regarding Instruction.







Common Steps for all modifications: STEP 1: extract your ROM (*.img) with Dragonface



STEP 2: change to Windows Explorer

ATTENTION: don't shut down DragonFace or copy the needed directories and

files some where else if you want to work "offline" (Directories: CPFOP, fsop -

Files: sysconfig.lhs), because DragonFace erases everything while shuting

down



STEP 3: Save the modified ROM with Dragonface

ATTENTION: If you worked "offline", do first Step 1, and then replace the

created Directories/Files with your modified



STEP 4: Flash your ROM (.img) with the Onda Suite



So let`s start.





PS.: If you try your own modification, it would be good to make only one after the other, and test between two modification. This makes it easier to solve problems when it´s not working like you except it, because you know what causes the problem.



HowTo - Increase the available space for your Apps (Firmware V1.0.0 - V2.1.3 all Versions)


1. You have done Step 1&2 in the first post

2. Now navigate to the following directory with the Windows Explorer ( must be set to show hidden Files/Directories!)

c:/User/..your Username../AppData/Local/Temp

3. Find the file sysconfig.lhs

4. Open it with Notepad++

5. Navigate to the following:

;------------------------------>mmcblk0p8/nande
[partition]
name = data
size = 4194304
user_type = 0x8000

6. Now change the value of size to the space you want
The current value of 4194304 stands for 2GB, that means you have to multiply 2097152 by the amount of GB you want to have for your Apps

for example: 6GB = 12582912

7. Save sysconfig.lhs

8. Save .img in Dragonface

9. Flash your ROM - Done!



Her is a link to a video tutorial (in chinese): http://ift.tt/1XbhlEe







Since the test version of Android 5, there is no seperat app partition in the firmware anymore.

HowTo - PreRoot your ROM (Firmware V1.0.0 - V2.0.2 all Versions)



1. You have done Step 1&2 in the first post

2. Now navigate to the following directory with the Windows Explorer

.../Dragonface_2.2.0/CPFOP/bootfs/skel

3. Find the file init.rc

4. Open it with Notepad++

5. Insert after Line 293:


su root
chown root root /system/app/superuser.apk
chown root root /system/xbin/su
chown root root /system/xbin/daemonsu
chown root root /system/bin/.ext/.su
chown root root /system/etc/.installed_su_daemon
chown root root /system/etc/install-recovery.sh
chown root root /system/etc/init.d/99SuperSUDaemon
chmod 6755 /system/xbin/su
chmod 6755 /system/xbin/daemonsu
chmod 0777 /system/bin/.ext
chmod 6755 /system/bin/.ext/.su
chmod 0644 /system/etc/.installed_su_daemon
chmod 0755 /system/etc/install-recovery.sh
chmod 0755 /system/etc/init.d
chmod 0755 /system/etc/init.d/99SuperSUDaemon
chmod 0644 /system/app/superuser.apk
chmod 0755 /system/xbin/busybox

6. Save init.rc

7. Now navigate to the following directory with the Windows Explorer

.../Dragonface_2.2.0/fsop/system



8. create the directories and place or replace the needed files if not already present (check filesize, paths and files see

Step 5)

Download needed files here: http://ift.tt/1XbhlEi



Attention: Windows Explorer is not able to create the directory /system/bin/.ext, because it doesn't like the

leading dot.

So open "Command Prompt" and type mkdir .ext to create the directory (navigate before to ..system/bin)



9. Save .img in Dragonface

10. Flash your ROM - Done!





HowTo - PreRoot your ROM (Firmware V2.1.0 - V2.1.3 all Versions)



Step 1 - 10 are the same, only change:



Step 5:



chmod 0755 /sbin/busybox (Instead of: chmod 0755 /xbin/busybox)











Important: If you reopen a prerooted ROM with Dragonface, you have to recreate the .ext folder again and place .su again in it. During the extracting the .ext folder disappears due the restrictions of Windows. Saving without recreating breaks the prerooting!

HowTo - Theming your system:

The following instructions are made for the new V2.1 Firmware and should work with all Versions.





Indroduction: now we start modifying existing APPs. In the first step there are HowTo´s which can be easy done without using any app tools. The simple reason for that is, as long as we don´t take away or add graphics inside an app, and only modify them, for Android everything is fine. When we start to add or remove files inside the app or we want to change the behaviour of an app or add Features, for example in the Settings menu, we will need to de- and recompile and sign the app, ortherwise it won´t work. But this will come later.









Change the default Wallpaper:

additional needed programs: WinRAR


1. First find a Wallpaper you like with a Resolution of 2048*2048 and .jpg format, and save it to your computer

2. Rename the Wallpaper to default_wallpaper.jpg

3. Do the steps 1&2 in the first Post

4. Navigate to fsop/system/framework and find: framework-res.apk

5. Open it with WinRar and navigate to the folder drawable-nodpi

6. Now insert your Wallpaper with drag´n drop

Attention: There is now a Window popping up and asks you what to do. Choose under "COMPRESSION

METHOD" on the left side the option "SAVE".

When you look on WinRar you see that the pictures aren´t compressed, so just leave them

uncompressed.

7. Close WinRAR and you are done!



8. Save .img in Dragonface

9. Flash your ROM - Done!







Change the Wallpaper on the LockScreen (Firmware V2.1.0 - V2.1.3 all Versions)


additional needed programs: WinRAR


1. First find a Wallpaper you like with a Resolution of 2048*2048 and .jpg format, and save it to your computer

2. Rename the Wallpaper to wallpaper_03.jpg

3. Do the steps 1&2 in the first Post

4. Navigate to fsop/system/priv-app and find: JuiKeyguard.apk



Alternativ, on a running system, copy JuiKeyguard.apk to your PC, make the changes descriped in the next

steps and copy the modified apk back to the tablet. Don't forget to set the right permissions for the apk.

5. Open it with WinRar and navigate to the folder drawable-nodpi

6. Now insert your Wallpaper with drag´n drop



Attention: There is now a Window popping up and asks you what to do. Choose under "COMPRESSION

METHOD" on the left side the option "SAVE".

When you look on WinRar you see that the pictures aren´t compressed, so just leave them

uncompressed.



7. Close WinRAR and you are done!



8. Save .img in Dragonface

9. Flash your ROM - Done!



When you chance the Lockscreen Wallpaper direct on the tablet (already running system), wipe the Dalvik Cache, otherwise the Wallpaper won't change.







Change the icons in the Statusbar





additional needed programs: WinRAR

Paint.net (optional)



1. Do the steps 1&2 in the first Post

2. Navigate to fsop/system/priv-app and find: JuiSystemUI.apk

3. Open it with WinRar and navigate to the folder drawable-xhdpi

4. Look for the icons you want to change and notice the resolution



Optional: you can edit the icons by using Paint.net



5. Replace the icons you want with drag´n drop or replace the icon with an already existing in the folder (make a duplicate and rename the duplicate to the correct filename)



THEY SHOULD HAVE THE SAME RESOLUTION AND MUST BE IN .PNG FORMAT!



DON`T ADD OR REMOVE ICONS, ONLY REPLACE THEM USING THE CORRCT FILENAME - OTHERWISE YOU

CORRUPT THE APP



IF YOU WANT TO ADD OR DELETE ICONS OR ADD NEW FEATURES YOU HAVE TO DE- AND RECOMPILE IT





Attention: There is now a Window popping up and asks you what to do. Choose under "COMPRESSION

METHOD" on the left side the option "SAVE".

When you look on WinRar you see that the pictures aren´t compressed, so just leave them

uncompressed.



6. Close WinRAR and you are done!



7. Save .img in Dragonface

8. Flash your ROM - Done!

Enjoys and press Thanks!!!!!!!!!!!!!!!!!


from xda-developers http://ift.tt/1YbI81F
via IFTTT

No comments:

Post a Comment