Tutorial to easy theme your TWRP or CWM on Windows - Galaxy A3, A5, A7, A8, A9 General

Here is a lil tutorial for the easy way to theme your CWM or TWRP recovery backround and buttons etc.
-----
Whats needed:
PC (i have done it on Windows 8.1+10)
Android Kernel Kitchen or similar tool
7zip,Winrar etc
Photoshop,Gimp or Paint.net
-----
Whats known:
Not much,the only is that u never ever change
the name and file end from the images.
-----
1. First extract the recovery.img from your zip and place it were u want or in the folder from your Kerneltool.
2. Unpack it by drag and drop on the unpack option and wait till its done,now press enter.
3. Now go to ramdisk folder and open res folder and then images.
4. Make your changes and go away here.
5. Now press repack image and youre done so far.
The new recovery file is called image-new,just rename it to recovery put it in your zip and flash,enjoy!!!!!​
--SIGNATURE--

Related

Create your own Custom ROM

Not my responsibility if you soft brick your phone.
What you need:
1.Kitchen by Dsixda http://forum.xda-developers.com/showthread.php?t=633246
2./system directory of your custom/stock rom.
3.Root access on phone
Root browser https://play.google.com/store/apps/...xLDEsImNvbS5qcnVtbXkucm9vdC5icm93c2VyZnJlZSJd
Root explorer https://play.google.com/store/apps/details?id=com.speedsoftware.rootexplorer&feature=search_result
5.Common sense and half an hour (MOST IMPORTANT)
Instructions:
(I presume that you have already installed Cygwin.)
GETTING SYSTEM FILES
1.Install your preferable Root file browser in your phone.
2.Open and look down for system folder in it.
3.Copy the whole folder on your sd card
OR
1.Open your favourite custom rom and copy the system files in there.I personally used creeds v2.5
(Use this method if you want to test it or you are a lazy kid like me!)
SETTING UP ROM
1.Open Cygwin and type "cd kitchen" and press enter
2.Type "./menu" in it. You will see a menu after that.
3.Go to Cygwin>>home>>user>>kitchen>>original_update
4.Make a folder there named as "WORKING_XXXXX" and put the /system files you obtained in it.
5.Go back to Cygwin and press 1.
6.Press enter once again and select the name of your working folder by pressing the number against it.
7.After this it will ask for naming another folder.Do as you want.
8.Now you have a working folder which is going to become your future rom. Select any options from the menu which you would like to have in your rom.(I have not tested all of them so there is a chance that some of them wont work).
BUILDING THE ROM
1.Press 99 to build the working folder.
2.Go for the interactive mode so press 1.
3.Zipalign them by pressing y. A wall of text would come but dont worry
4.Add updater-script. Again a hell lot of text
5.Press y again
6.Sign your rom by pressing y
7.Change the name of your rom by pressing y
8.Press Enter to finish!
9.Go to OUTPUT_ZIP and open the your rom and go in META-INF fodler.Over here you need to put the updater scripts which you want for your rom. I have tested the scripts from Creeds v2.5 and it installs perfectly. (This is not a necessary step because you can also install your rom with the original META-INF script.)
10.Copy the rom to your sdcard
11.Boot in cwm and wipedata+cache and then install your rom.(Have a backup in hand)
12.It should install perfectly cuz it booted properly in my 9/10 tests.
If you want to customise your rom then look below. It should be done before the building the rom.
UNDER CONSTRUCTION
MORE TO COME: TWEAKS,ICONS,ICS SETTINGS,USEFUL APPS and many other customizations.
Nice tutorial,
Just a question
I think we don't need computer to build rom as i can observe fromyour tut, right?
Chairmansaab said:
Nice tutorial,
Just a question
I think we don't need computer to build rom as i can observe fromyour tut, right?
Click to expand...
Click to collapse
Where will you install Cygwin then?? xD
Sent from my GT-S5360 using XDA

Custom ROM for new device

Hi, I have new Prestigio tablet PMT5777_3G and I want to modify it's default ROM. I followed this tutorial: http://forum.xda-developers.com/showthread.php?t=1801690. I successfully extracted system folder, but I have no idea how to create updater-script for this specific ROM. If I understand correctly I need to get updater-script from original ROM.
I've got something that resembles original ROM, but it's folder structure is completely different from what I would expect.
I would expect:
META-INF
system
boot.img
I've got:
APDB_MT6582_S01_MAIN2.1_W10.24
boot-sign.img
BPLGUInfoCustomAppSrcP_MT6582_S00_MOLY_WR8_W1315_MD_WG_MP_V12_P4_1_wg_n
cache-sign.img
Checksum.ini
EBR1-sign
lk-sign.bin
logo-sign.bin
MBR-sign
MT6582_Android_scatter.txt
preloader_htt82_tb_jb5.bin
recovery-sign.img
secro-sign.img
system-sign.img
sro-lock-sign.img
sro-unlock-sign.img
userdata-sign.img
I'm an android developer, but have no experience with custom ROM's and now am in a situation, where I want to get that custom ROM up and running, but am unable, because I can't figure out how to create updater-script or extract it from files that I currently have. It would be great if someone could point me to the right direction of what to do next.
Thanks
P. S. It seems it's against the rules to ask questions here, but I can't seem to find where else to ask this on xda
Dantenas said:
Hi, I have new Prestigio tablet PMT5777_3G and I want to modify it's default ROM. I followed this tutorial: http://forum.xda-developers.com/showthread.php?t=1801690. I successfully extracted system folder, but I have no idea how to create updater-script for this specific ROM. If I understand correctly I need to get updater-script from original ROM.
I've got something that resembles original ROM, but it's folder structure is completely different from what I would expect.
I would expect:
META-INF
system
boot.img
I've got:
APDB_MT6582_S01_MAIN2.1_W10.24
boot-sign.img
BPLGUInfoCustomAppSrcP_MT6582_S00_MOLY_WR8_W1315_MD_WG_MP_V12_P4_1_wg_n
cache-sign.img
Checksum.ini
EBR1-sign
lk-sign.bin
logo-sign.bin
MBR-sign
MT6582_Android_scatter.txt
preloader_htt82_tb_jb5.bin
recovery-sign.img
secro-sign.img
system-sign.img
sro-lock-sign.img
sro-unlock-sign.img
userdata-sign.img
I'm an android developer, but have no experience with custom ROM's and now am in a situation, where I want to get that custom ROM up and running, but am unable, because I can't figure out how to create updater-script or extract it from files that I currently have. It would be great if someone could point me to the right direction of what to do next.
Thanks
P. S. It seems it's against the rules to ask questions here, but I can't seem to find where else to ask this on xda
Click to expand...
Click to collapse
Since you are a beginner to ROM development, I would recommend the use of dsixda's Android kitchen, which you probably have downloaded already. If not use this link
http://forum.xda-developers.com/showthread.php?t=633246
Follow these steps to obtain the file structure and Meta-Inf folder for your custom rom.
1. Open the folder where you have placed the kitchen.
2. You will find a folder called original_update.
3. Open that folder and copy your boot.img and system.img files into it. ( In your case it is boot-sign.img and system-sign.img. Rename those files into boot.img and system.img and place them in the folder )
4. Now open the kitchen. ( Refer the above link to know how to do it )
5. You will find " 1. Set up working folder from ROM " option under Main Menu.
6. Type 1 and you will be directed to another menu. Click Enter.
7. Select your boot.img and system.img from the menu.
8. Now follow the instructions that appear on the screen.
9. When you successfully complete the steps, you will have the required Working folder, with boot.img, system folder and Meta-Inf folder, which will contain the updater-script (It will be automatically generated)
All the best. :good:
Hit Thanks if this helped you... PM me if you need further help or search the forum for detailed instructions.
Thanks, this helped me, but I still can't create ROM.
I encountered a problem with kitchen:
Code:
Available ROMs:
(1) system.img and boot.img
Enter selection number (default=1, cancel=0, r=refresh):
Found original_update/system.img
Found original_update/boot.img
The new working folder will be named WORKING_061614_070841
Change the name (y/n)? (default: n):
Creating working folder WORKING_061614_070841 ...
Copying boot.img ...
Copying system.img ...
Adding an update-script ...
NON-YAFFS/NON-TAR FILE FORMAT DETECTED IN ROM
Mounting system.img to loopback device and then extracting files ...
Error: Unable to mount system.img
Error: No /system/framework folder found!
Press Enter to continue
This creates my missing update-script and boot.img, but system folder is empty.
Would it be a good idea to extract all system files from device and attempt to create ROM with them, and this update-script, or is there something I could do with system.img to make it extract?
Try this
Don't worry. There's always an alternative. Try this simple method.
1. Boot into CWM (Clockwork Mod) Recovery. (I'm pretty sure you know how to do it, if not, you can feel free to search the forum)
2. Choose Backup and Restore.
3. Make a backup in your external sdcard.
4. Now boot normally, open your external sdcard. You will find a folder called clockworkmod. Copy that folder to your PC.
5. Inside that folder, you will find the backup.
6. Now, copy boot.img and system.ext4.tar.a to your original_update folder of the kitchen.
7. Warning! Do not copy system.ext4.tar, only copy system.ext4.tar.a
8. Once you have copied these two files, rename system.ext4.tar.a into system.ext4.tar
9. Now, open android kitchen and follow the exact same steps as you did before.
10. When you choose the available rom, you will find the screen as below.
Code:
Available Roms:
(1) system.ext4.tar and boot.img
11. Choose it and follow the instructions. You will have your required working folder.
Try this and let me know if you still face any issues. :good:
I was unable to load CWM recovery, because it is not supported by my device. I tried TWRP too, which also doesn't support my device. Is it possible to do without CWM?
Dantenas said:
I was unable to load CWM recovery, because it is not supported by my device. I tried TWRP too, which also doesn't support my device. Is it possible to do without CWM?
Click to expand...
Click to collapse
I'm sorry my friend, even if you create your own ROM, you require either one of them to flash the ROM to your device. Seeing you so keen on developing the rom, try to use any yaffs tool to create your system.img from extracted system folder. You may refer this thread.
http://forum.xda-developers.com/showthread.php?t=1645412

How to build your own rom using stock rom/firmware(noob friendly guide)

HERE IS A GUIDE FOR YOU ALL YOU CAN CREATE YOUR OWN ROM BY THIS METHOD.I AM NOT RESPONSIBLE FOR BRICKED DEVICES.
Click to expand...
Click to collapse
Requirement to make a custom rom
*JAVA JDK installed on your SYSTEM
*WIN XP/ 7/8/8.1.
*package given in download section
Who is this kitchen for ?
Those who are brand new to
creating custom ROMs and
want an easy place to start
learning
Those who just want to modify
shipped ROMs or someone
else's custom ROMs to their
liking
Those who are confused by all
those scripts and complex
commands required for
building and extracting
This is NOT a tool to
automatically turn you into a
full-fledged ROM developer.
ROM development normally
involves work from the ground
up and involves time , research
and patience .
Click to expand...
Click to collapse
PRESS THANKS IF YOU LIKE MY WORK..
Kitchen setup
setting up dsixda kitchen
1.download all the three link and unzip kitchen.rar and cywin package.
2.open cywin_package then open folder now, you can see 3 icons, a read-
me,a setup, and a folder. Choose
the setup. Here you will choose
install from local directory. Next,
navigate to the the folder of
extraction of cygwin and choose
the folder cygwin_packages inside
the cygwin extraction folder. Wait
for some time. Then, you will come
across a list of file. Click the 2-
circle-arrows,untill, it displays
“install”
after the procedure is complete,
run the batch file cygwin.bat . Now, minimise
it and copy kitchen folder,
keep it in some location where you have installed your cygwin package open home/ajay-pc(in my case this is administrator name of my pc)kitchen
now, open the batch file window
and type
cd c:\kitchen
wait for some time and then when
the location the changed, type
./menu
Click to expand...
Click to collapse
press thanks if you like my work
GUIDE
now minimize the batch file and extract official rom there you will find system.img then extract it using magic iso or flash
the official stock rom using odin the take a nandroid backup u will get system.rfs.tar in your sd card extract it using magic iso then make a folder in called rom and open it. again create a folder called system and copy all data from system.rfs.tar which u have extracted(do drag and dropping).
Now copy meta-inf of any stock rom and copy and kernel to rom folder.
Now you will get two folder and one file in your rom folder zip the folder content and copy the file where you have installed cygwin/home/ajay/kitchen/original update folder.
now open command shell which you have minimized 1st create working folder then add root permission,deodex your rom.
and at last press 99 to build your rom..
note-if it ask you to change updater script to update script change it but dont forget to change it back to updater script.now you will get your rom in output folder copy it to your sd card flash it if error occur unzip the zip file and delete meta-inf and boot.img and again copy meta-inf of any rom and kernel to it and zip it..again flash the rom..
PRESS THANKS IF YOU LIKE MY WORK
DOWNLOADS
Downloads​
Link for cygwin click here :good:​link for kitchen click here :good:​link for magic iso click here :good:​
Link for official firmware click here :good:​
PRESS THANKS IF YOU LIKE MY WORK
CREDIT
DSIXDA for Android Kitchen
Samsung for this awesome device
ME for this Guide

[Guide] Recovery Porting For MTKs

Its about porting Recovery easily...in 15
minutes...
Ok lets start......
_________________________________
Requirments:
1.Apktools letast version (Search on xda or google)
2.NP++ for mobile (Search on google)
3.Root Explorer or any Good file explorer (Search
on google)
4.Recovery tools (Search on google)
_________________________________
Step:1
Frist take your stock boot.img,stock recovery and
any other recovery like CWM or CTR (Without
TWRP)
Now put them in safe folder on your sdcard or
storge and go to apktools...Unpack boot.img in a
new folder then unpack Stock recovery in another
folder and unpack your cwm or CTR recovery in
Another folder...
All done!Now unpack your recovery in a new folder
(whitch you want to port)...
_________________________________
Step:2
Now go to your unpacked boot.img and go to
ramdisk folder then copy these files and paste it
to your recovery (whitch you want to port)
1.meta_init.modem.rc
2.meta_init.project.rc
3.meta_init.rc
Done!
Now go to your unpacked stock recovery and copy
( #Karnel ) and paste it to your unpacked recovery
(Whitch you want to port).Then again go to
unpacked stock recovery and go to ramdisk...then
copy these files and paste them in you unpacked
recovery (whitch you want to port) / ramdisk and
replaced all...
1.fstab
2.ueventd.rc
3.ueventd.goldfish.rc.
Done!
Now go to your unpacked CWM or CTR and go to
ramdisk/etc and copy ( recovery.fstab ) and paste
it to you unpacked recovery (whitch you want to
port) /ramdisk/etc and replaced....
Done!Now go to your unpacked recovery (whitch
you want to port) then go to ramdisk and open
default.prop and edit this as you edit build.prop of
a custom rom...
All Done!
_________________________________
Finel step :
Now go to your unpacked recovery (whitch you
want to port) and click on ramdisk then repack
it...done!now you will see your new recovery
named (new.img)...Now open recovery tools and
flash your new recovery...And see magic or you
can make a cwm flashable recovery.zip ...Just
download this ( http://www.mediafire.com/?
yoch4142rowjkbj ) and extract it on a folder.then
renamed your new recovery file to
recocery.img.Now copy it and paste in these
folder where you extracted that zip and replaced
it.Done! now create a zip and go to recovery
mood and flash it...
_________________________________
N.B. ->TWRP porting method is different...i will
give you later... Sometimes your new recovery
may not work...if its not work then try again and
be patient...
_________________________________
I hope this post was helpfull if think so and
successed to port your new recovery then dont
forget to give me some credits dude...
_________________________________
This is for mobile and those who doesn't have a PC. Sorry for bad English.
.
Credits to @Md.Shafikul.islam for writing this
.
Nice. Didn't know apktool for android have the ability to unpack imgs
Look here
knightzero07 said:
Nice. Didn't know apktool for android have the ability to unpack imgs
Click to expand...
Click to collapse
u can follow this --> http://forum.xda-developers.com/too...ls-windows-t2839670/post54644719#post54644719

I would like to deodex the odex system. How Can I do that? Help me pls.

I would like to deodex the Codex system. How Can I do that? 232 Stock-based update. I have the Sony Xperia z2.
This is a very compressed and short guide, but hopefully it'll help you to start (it assumes you already have your phone rooted and have recovery installed) :
1ST OF ALL : MAKE NANDROID BACKUP.
you'll need to have JAVA installed on your machine, download and install that.
- on your device, enable "usb debugging" from developer options
- connect your device to PC, click "allow" on device for usb debugging
- have adb.exe on your pc, navigate to that folder and press shift+right click in empty space in the folder, choose "open command window here"
- in the cmd window that shows up type these commands in order :
adb pull /system/app system/app/
adb pull /system/priv-app system/priv-app/
adb pull /system/framework system/framework/
adb pull /system/vendor/app system/vendor/app
adb pull /system/build.prop system/build.prop
this will get you a folder next to your adb.exe file called "system" with all the files inside
- open system/vendor/app folder and copy "ims" and "chrome customizations" to system/app folder
- open system/framework/ folder and copy "SemcGenericUxpRes" to system/app folder
download deodex tool from here : http://forum.xda-developers.com/galaxy-s5/general/tool-deodex-tool-android-l-t2972025 (if you're not sure if your system is 32 or 64, get the 32 version)
- extract SVADeodexerForArtx32.zip to your c:/ drive
- open SVADeodexerForArt.exe and browse to where your "system" folder is (same folder as adb.exe)
- check app/framework/priv-app in the program options
- click deodex
- once done, create a flashable zip file from the resulting folders (remember to move files from "app" folder back to "framework" and "vendor" folder in the same order, or you'll get FCs)
- have SuperSU and flashable NUT recovery too on sdcard
- flash deodexed zip, then flash SuperSU and NUT recovery files again
- clear cache/dalvik, reboot
This is a rough guide, basically how I do it. if you need further help, post here and I'll try to respond or someone else will help/correct me if I made a mistake.
thanks
i deodexd with SVADeodexerForArtx64.exe
after that
how to create flashble zip
and which folders will i zip?
pls tellme bro
see attached file for creating flashable zip.
you need to copy the deodexed version from the SVADeodexerForArtx64 folder (you'll find app, framework, priv-app folder there) just open the zip with winrar, drag and drop folder, do a replace (don't change any settings).
Remember to move the "SemcGenericUxpRes", "ims" and "chrome customizations" to their respective folders (framework and vendor/app) to avoid FCs
Once you do that, your deodex file is ready to flash, then after that reflash SuperSU and NUTs recovery.
thanks
thanks bro.:laugh::laugh::laugh::laugh::laugh::laugh::laugh:
it is working bro
thanks thanks
and small Dought can i use this empty zip file for future versions like android 6.0
and how to conform my lolipop5.1.1 is deodexed
One question :what does it mean nut recovery???is clockworkmod recovery right?
rameshkotibani said:
thanks bro.:laugh::laugh::laugh::laugh::laugh::laugh::laugh:
it is working bro
thanks thanks
and small Dought can i use this empty zip file for future versions like android 6.0
and how to conform my lolipop5.1.1 is deodexed
Click to expand...
Click to collapse
I'm not sure if this zip will work for Android 6.0 since it's not available to test atm. Let's wait until it's out and see then
To confirm your rom is deodexed, use a file explorer with root acces (es explorer) and navigate to /system/, then do a search for "odex" and you should not find any files.
Cris95 said:
One question :what does it mean nut recovery???is clockworkmod recovery right?
Click to expand...
Click to collapse
NUTs dual recovery is what is used on locked bootloader Z2 phones, it has both CWM and TWRP for you to choose from, just google "NUTs dual recovery Z2" or search the forums here for more details.
thank bro......
ticktock666 said:
see attached file for creating flashable zip.
you need to copy the deodexed version from the SVADeodexerForArtx64 folder (you'll find app, framework, priv-app folder there) just open the zip with winrar, drag and drop folder, do a replace (don't change any settings).
Remember to move the "SemcGenericUxpRes", "ims" and "chrome customizations" to their respective folders (framework and vendor/app) to avoid FCs
Once you do that, your deodex file is ready to flash, then after that reflash SuperSU and NUTs recovery.
Click to expand...
Click to collapse
i did all you said, but after flashing the deodex.zip with the deodexed apk´s inside i get bootloop.
Tried everything but no chance. Always bootloop - damn

Categories

Resources