How To Make Cwm Recovery From Stock Recover On Windows - Android Q&A, Help & Troubleshooting

hi guys is there anyway to compile cwm on windows plz help me
i have cygwin installed

touseefiqbal said:
hi guys is there anyway to compile cwm on windows plz help me
i have cygwin installed
Click to expand...
Click to collapse
Unfortunately you can't compile Android or the Cyanogenmod source code that contains the Clockworkmod Recovery source code on Windows using Cygwin. Repo for example on the the critical tools for compiling from source doesn't work on Cygwin. Overall for compiling Clockworkmod Recovery from source a Unix based operating system such as Linux or OSX is needed.
Sent from my SCH-I535 using xda premium

shimp208 said:
Unfortunately you can't compile Android or the Cyanogenmod source code that contains the Clockworkmod Recovery source code on Windows using Cygwin. Repo for example on the the critical tools for compiling from source doesn't work on Cygwin. Overall for compiling Clockworkmod Recovery from source a Unix based operating system such as Linux or OSX is needed.
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
but how the guy rua1 put auto port script in mtk droid tools it port cwm automatically on windoiws?

touseefiqbal said:
but how the guy rua1 put auto port script in mtk droid tools it port cwm automatically on windoiws?
Click to expand...
Click to collapse
From what I can tell his script takes a base already made CWMR for MTK processor devices and then modifies it through a series of hex edits to be compatible with that devices specific recovery partition block layout.
Sent from my SCH-I535 using xda premium

shimp208 said:
From what I can tell his script takes a base already made CWMR for MTK processor devices and then modifies it through a series of hex edits to be compatible with that devices specific recovery partition block layout.
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
Yes you are right bro.

Related

Kernel dev

I've managed to compile the latest source for our lovely device using a tutorial for the Thunderbolt. Is there a general guide related to our devices? Need to know folder structure and such for the 3D.
Sent from my PG86100 using xda premium
thedawn2009 said:
I've managed to compile the latest source for our lovely device using a tutorial for the Thunderbolt. Is there a general guide related to our devices? Need to know folder structure and such for the 3D.
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
HTC hasn't released the latest source for the kernel in 2.17.651.5 yet. What folder structure are you talking about? Compiling a kernel gives you zImage and the modules that work with the kernel you compile. You can use koush's anykernel updater zip which will place zImage into boot.img (kernel+RAMDisk) and copy the modules to \system\lib\modules.
mwalt2 said:
HTC hasn't released the latest source for the kernel in 2.17.651.5 yet. What folder structure are you talking about? Compiling a kernel gives you zImage and the modules that work with the kernel you compile. You can use koush's anykernel updater zip which will place zImage into boot.img (kernel+RAMDisk) and copy the modules to \system\lib\modules.
Click to expand...
Click to collapse
Not folder structure, I wasnt clear my apologies. I have anykernel updater. I was just seeing if there was any specific folder that listed all the compiled modules or if I had to go and manually pull them from each folder. I've been practicing with the .3 source just to get a feel of basic kernel dev.
Sent from my PG86100 using xda premium

Android Kitchen

hey guys, i'm newbie in making a rom.... so i had installed everything including the Android Kitchen and Cygwin... I type the cygwin terminal :
- cd kitchen
- ./menu
everything went well... i pressed number 1 which is make a working rom.... the terminal detects my Xperia sola .54_ftf.zip... i click that and they said extracting rom from zip file, then suddenly they say error: no system folder found... Help me please, anyone?? i promise i'll click your thanks button if anyone gets to help me.... :good:
This is the terminal :
Welcome to dsixda's Android Kitchen
Please wait ...........
============================================================
Android Kitchen 0.221 - by dsixda (xda-developers.com)
============================================================
> MAIN MENU
1 - Set up working folder from ROM
2 - Add root permissions
3 - Add BusyBox
4 - Disable boot screen sounds
5 - Zipalign all *.apk files to optimize RAM usage
6 - Change wipe status of ROM
7 - Change name of ROM
8 - Show working folder information
0 - ADVANCED OPTIONS
00 - LEGACY OPTIONS (old and rarely used)
99 - Build ROM from working folder
u - Kitchen Info/Update/Donate
x - Exit
Enter option: 1
CREATE WORKING FOLDER FOR ROM
==============================
Ensure there is at least one ROM under the 'original_update' folder!
Select an option:
s - Show supported formats
x - Abort, don't create working folder
Or press Enter to continue
?
Before you proceed:
The existing working folders under the main folder can be backed up
to the folder 'original_update' for later use; otherwise they will be
deleted.
Found the following:
WORKING_xperia
Move to original_update? (default: y): n
Removing ...
Please wait ...
Available ROMs:
(1) Copy_of_Xperia_Sola_Stock_Ics_6.1.1.B.1.54_[Indian-Asia]_FTF.zip
(2) Xperia_Sola_Stock_Ics_6.1.1.B.1.54_[Indian-Asia]_FTF.zip
Enter selection number (default=1, cancel=0, r=refresh): 1
Selected Copy_of_Xperia_Sola_Stock_Ics_6.1.1.B.1.54_[Indian-Asia]_FTF.zip
The new working folder will be named WORKING_030613_184247
Change the name (y/n)? (default: n): y
Enter a new name (using this prefix): WORKING_xperia
Creating working folder WORKING_xperia ...
Extracting ROM from ZIP file ...
Error: No system folder found!
Press Enter to continue
Sherwinnn said:
...
Extracting ROM from ZIP file ...
Error: No system folder found!
Press Enter to continue
Click to expand...
Click to collapse
As far as I know you will need a Cwm flashable zip.....
I guess you have just created a zip of the ftf file......
Sent from my Xperia Sola using xda app-developers app
@[email protected] said:
As far as I know you will need a Cwm flashable zip.....
I guess you have just created a zip of the ftf file......
Sent from my Xperia Sola using xda app-developers app
Click to expand...
Click to collapse
How to get the cwm flashable zip??
Sent from my Galaxy Nexus using xda app-developers app
Sherwinnn said:
How to get the cwm flashable zip??
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Dump the system from the ftf and then create a .zip file including the meta-inf folder.....
Sent from my Xperia Sola using xda app-developers app
@[email protected] said:
Dump the system from the ftf and then create a .zip file including the meta-inf folder.....
Sent from my Xperia Sola using xda app-developers app
Click to expand...
Click to collapse
Whuuuuuuttttt???? Explain more??
Sent from my Galaxy Nexus using xda app-developers app
Sherwinnn said:
Whuuuuuuttttt???? Explain more??
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Do some search buddy...... you will gain more if you search yourself......
Nyways heres the LINK which may be of great help.........
This was my first guide for development......
What you can do is flash stock rom and get cwm to it
Then go to backup in cwm and create firmware.zip
It will do all the stuff for u and just place this file in the input folder!
So can I create gaming ROM by using this Android Kitchen??
Sent from my Galaxy Nexus using xda app-developers app
By Gaming, you mean Fast and No Lags? You could make a rom faster than stock with the Kitchen but this was designed to work with all Devices so its just a basic tool here. For real performance, you need to do device specific tweaks and all so you ought to learn to do it manually
Min3r said:
By Gaming, you mean Fast and No Lags? You could make a rom faster than stock with the Kitchen but this was designed to work with all Devices so its just a basic tool here. For real performance, you need to do device specific tweaks and all so you ought to learn to do it manually
Click to expand...
Click to collapse
Someone is back
Nothing is like a real gaming rom unless u overclock gpu and give it more ram
Term we(not me) use as gaming Rom is that we keep more ram free and high minfree values so that good amount of ram is available for the game
So I have to do tweaks to make a lag free ROM??
Sent from my Galaxy Nexus using xda app-developers app
Yup Take a look at some of the roms released here to get an idea of the tweaks normally used
Sherwinnn said:
So I have to do tweaks to make a lag free ROM??
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
you will have to tweak so as to reduce lag and also get more free RAM which can be used to play games.........
Take a look at OOM Groupings, Dalvik Cache and also tweaking the CFS ( Thunderbolt Script would be an ideal base to start with ) These give the most noticeable improvements
The most famous tweaks is thunderbolt right?? Do I have to do manually or what?? Step by step instruction to do a custom ROM please..... if not then nevermind!!!
Sent from my Galaxy Nexus using xda app-developers app
The best way to learn is to download any custom rom, go through the entire thing yourself And take a look at my guide for making cwm flashable zips and you'll be able to understand how things work What you do is open Thunderbolt tweaks zip and go through the files in it and try to understand the code
Min3r said:
The best way to learn is to download any custom rom, go through the entire thing yourself And take a look at my guide for making cwm flashable zips and you'll be able to understand how things work What you do is open Thunderbolt tweaks zip and go through the files in it and try to understand the code
Click to expand...
Click to collapse
You are smart, that's why you understand the thunderbolt codes....
Sent from my Galaxy Nexus using xda app-developers app
Its not very hard mate Just go through a few simpler scripts first and then you'll quickly understand it too I started understanding what these scripts do a week into my development start, but it wasnt till later i realised its just basic Shell scripts Learn Shell Scripting for linux and you'll be able to understand these commands easily
What is Meta. inf??
Sent from my Galaxy Nexus using xda app-developers app
Sherwinnn said:
What is Meta. inf??
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Meta.INF contains just the updater script which is run when you select the .zip file in CWM.......
any more knowledge would be more helpful......... :cheers:

Adb for ubuntu

Hi everyone i want to run my device as an emulator for app development.. Im on Ubuntu 12.04
..so the problem is i can't list my device in adb it shows
??????? No permissions...
Things i already did
Created /51–android.rules file
I couldn't find my vendor on google dev site so i copied vendor id by listing all usb devices attached to my computer.. But even that didn't work.. Please help
Sent from my A89 using xda app-developers app
Ummm don't know your device but I would add all the vendors from the dev site and if that won't work I'd Google your devices maker and see if anyone has ever accomplished it
Sent from my Nexus 4 using xda premium
on linux you should run adb as root then it would work , if using eclipse , run it using root user .. and it would also detect phone then..

[Q] Perform ./extract-files.sh without device?

I am trying to compile a kernel for LGE-P690 from CM ICS source but i don't have the device in my hand i searched all over the net for vendor files but i was unsuccessful in finding vendor files for ics but i found one for gingerbread so is there anyway i could perform ./extract-files.sh without device or can i convert gingerbread vendor files to ics if so how elaborate and tell me please. I am in desperate need for help.
Sent from my LG-P350 using Tapatalk 2
Chain Hacker said:
I am trying to compile a kernel for LGE-P690 from CM ICS source but i don't have the device in my hand i searched all over the net for vendor files but i was unsuccessful in finding vendor files for ics but i found one for gingerbread so is there anyway i could perform ./extract-files.sh without device or can i convert gingerbread vendor files to ics if so how elaborate and tell me please. I am in desperate need for help.
Sent from my LG-P350 using Tapatalk 2
Click to expand...
Click to collapse
If theres not already a master ICS source for your phone(No device tree),then yes you have to use the custom ICS rom on your phone so it can copy the right proprietary files to the source you repoed,or it will not run,you will get bootloops or a soft brick.
eugeneeaster18 said:
Hey, do you have a noobs guide on making a device tree. I know how to compile cyanogenmod, but I have this low legacy device, the Samsung Dart, and it doesnt have a device tree. I want to make ics or jb for it, but have not a clue how to make a tree, all my other phones are htc and samsungs, they already have some.
Click to expand...
Click to collapse
http://linux-sunxi.org/Starting_a_CyanogenMod_device_tree
I have the device tree my question is how to perform ./extract-files.sh without device or is there a way to convert gingerbread vendor files to ics.
Sent from my LG-P350 using Tapatalk 2
Anyone help me please
Sent from my LG-P350 using Tapatalk 2
Ignore this post
Sent from my LG-P350 using Tapatalk 2
Ignore this post
Sent from my LG-P350 using Tapatalk 2

Porting Paranoid Android to Hisense Sero 7 Pro

I tried porting using the standard cut and paste method from the Grouper version of PA onto Hisense stock rom but CWM touch recovery would not allow the installation of the .zip file. Anyone having any success getting PA onto this tab?
I tried something similar with a pac rom. It was from an Acer 7 inch or something like that. I used a device that said it had a tegra 3. I think it was a a700 but not sure. The result was the same would not even install.
Sent from my HTC Glacier using xda app-developers app
OK I tried doing a port of aokp with the grouper jb1 milestone 2. Basically what I did was extract the rom then unpack the kernel then modded the ram disk init.c and fstab to match some of the settings in the sero's files. Replaced the grouper kernel with the sero stock kernel. Then a repackaged of the kernel. Then I extracted randomblames vendor tree in to the grouper rom. Then I zipped it and tried to install it. I got the error 7 a couple of times the it installed. And then it froze at the hisense screen. When I tried building from source using rb device and vendor tree I kept getting a manifest error. I have followed all of the guides on how to port roms on xda and none have worked for me.
Sent from my HTC Glacier using xda app-developers app
Well I found out the manifest error was in relation to a missing .mi file full_adopted.mk I think. Anyways now it is building, just did make Bacon m470 . I am using randomblames device and vendor trees from taktik and the prebuilt kernel. So it might not even boot due to the sources being for 4.4 and the aokp source is from 4.2.2. This is my first build for android. I want to learn how to build the kernel from source with tweeks to run cm based roms.
Sent from my HTC Glacier using xda app-developers app
Would really rather have PA on my sero so keep up the effort!
Its my first rom so I picked something no one else was doing, aokp. If you want Paranoid Android just use the dopa rom and update the xposed framework and download the module that lets you set dpi per app and the module for phablet or tablet modes. It kinda makes pa redundant. But if I ever get this to boot I may do a rootbox/pac/schizoid type of super rom but I would need help. I'm learning. This is a learning experience.
Sent from my HTC Glacier using xda app-developers app

Categories

Resources