HDD space requirement for compiling CM 10.1 - Verizon Samsung Galaxy S III

Hey everyone,
I'm going to compile my own ROM from cm. I'm following the guide, but it just says I need a "reasonable amount" of ram and storage. They link to an android instruction page, which states:
"Note: It is also possible to build Android in a virtual machine. If you are running Linux in a virtual machine, you will need at least 16GB of RAM/swap and 30GB or more of disk space in order to build the Android tree."
I don't want to download source for every device, just d2vzw. How much should I set aside in my VM? I've already given it 3 GB of RAM and 2 of my 4 cores at 100%.
I've installed Ubuntu and updated everything, going to install the SDK next and adjust my VM size as necessary.
Thank you.

Why use virtual machine to run Ubuntu? Set aside a partition with like 100gigs and install Ubuntu on that. Then you can boot into Linux or windows whenever you want.
Sent from my SCH-I535 using xda app-developers app

well the only thing about that is it can be a pain in the butt to get grub off sometimes if he dosnt want to use ubuntu longterm id go with the virtualbox route and u only need about 30gigs for ubuntu and 3gigs of ram is more than enough.

damnyouwaffles said:
Why use virtual machine to run Ubuntu? Set aside a partition with like 100gigs and install Ubuntu on that. Then you can boot into Linux or windows whenever you want.
Click to expand...
Click to collapse
Bierce22 said:
well the only thing about that is it can be a pain in the butt to get grub off sometimes if he dosnt want to use ubuntu longterm id go with the virtualbox route and u only need about 30gigs for ubuntu and 3gigs of ram is more than enough.
Click to expand...
Click to collapse
NAIL ON THE HEAD. The grub thing is a pain. I've dual booted before, have tried out Ubuntu 9 and 10 in the past...
Anyway, I went ahead and figured out the VM stuff (VM is something I've been wanting to learn about anyway).
Now I'm stuck at the part in the guide where I'll be extracting the proprietary blobs. When I try to run an adb command, it gives me an error. I'm pretty sure I have all the USB filter stuff installed/enabled correctly... Currently updating everything in Ubuntu update manager. Hopefully I can get it going soon. I'm excited to build!

rockingondrums said:
NAIL ON THE HEAD. The grub thing is a pain. I've dual booted before, have tried out Ubuntu 9 and 10 in the past...
Anyway, I went ahead and figured out the VM stuff (VM is something I've been wanting to learn about anyway).
Now I'm stuck at the part in the guide where I'll be extracting the proprietary blobs. When I try to run an adb command, it gives me an error. I'm pretty sure I have all the USB filter stuff installed/enabled correctly... Currently updating everything in Ubuntu update manager. Hopefully I can get it going soon. I'm excited to build!
Click to expand...
Click to collapse
Add https://github.com/TheMuppets/proprietary_vendor_samsung to your roomservice.xml
Sent from my SCH-I535 using xda app-developers app

Is that a place to pull blobs? I actually managed to extract, but ty!
I successfully built, now trying to learn to modify.
Also, am I right to assume that the build guide pulls from the stable code base? How do I set it up to pull from the nightly code case? That Google voice hack is a deal making feature.

rockingondrums said:
Is that a place to pull blobs? I actually managed to extract, but ty!
I successfully built, now trying to learn to modify.
Also, am I right to assume that the build guide pulls from the stable code base? How do I set it up to pull from the nightly code case? That Google voice hack is a deal making feature.
Click to expand...
Click to collapse
Depends what branch you setup... Probably cm10.1 which will be the latest
Sent from my SCH-I535 using xda app-developers app

Related

Rooting and Running Mods with Linux

So I've been reading xda forums for months now. Most stuff is written for Windows PC's. I only use Linux. I have ADB installed. Will I even need that? All the information is getting like a slurry in my head. Are there any tips for what I wanna do? My goal is to run Cyanogen Mod 7.
Sent from my MB865 using Tapatalk
KEB64 said:
So I've been reading xda forums for months now. Most stuff is written for Windows PC's. I only use Linux. I have ADB installed. Will I even need that? All the information is getting like a slurry in my head. Are there any tips for what I wanna do? My goal is to run Cyanogen Mod 7.
Sent from my MB865 using Tapatalk
Click to expand...
Click to collapse
One of our devs (jimbridgman) is working hard on getting CM7 up and running on our phones.
Yes, you will DEFINITELY need adb installed if you want to do pretty much anything with your phone. ADB stands for "Android Debug Bridge", it allows you to push/pull files to/from your phone and shell into your phone and do a bunch of other stuff.
Being on Linux means that you will have to do some more manual stuff. Usually if you only see it for Windows, you'll still have to download the file and then take a look at the .bat file contained in it. It should be relatively easy to modify those commands for use in a terminal.
I'm sure some of our devs or other people that also mainly use Linux will chime in too.
Thanks cogeary. I know Jim is a Linux user so I'll be on the lookout for that. I was under the impression CM7 was ready.
Sent from my MB865 using Tapatalk

[Q] Ubuntu SBKv2 & Asus Stock Apps.

First does anyone have a .zip for the Asus stock apps? I had an older copy of the revolver removed apps file and I accidentally deleted it, the one that is currently linked on the revolver ROM shows as corrupted.
Has anyone been able to successfully Dual-boot Ubuntu on sbkv2 devices? What is your current method to doing so?
I tried the modified version of OLiFE with wheelie but ended up in an APX boot loop and had to flash back to stock.
I tried to use my own ROM (revolver) and the net-install version of ubuntu so perhaps I 'injected' them incorrectly.
Could not find much of a guide to do this...
Was interested in trying franks tools because that seems to be the easiest option (My main OS is windows but I have Ubuntu installed on an flash drive)
I tried the method here http://forum.xda-developers.com/showthread.php?p=23428126 but I didnt add or copy the .lib modules and my recovery was internal sd access only (working on updating that)
Plus the whole pseudo dual boot thing seems like a pain in the ass...
Any thoughts on the net install version of ubuntu?
How do you go about flashing or updating Roms when you are dual booting?
Thanks!
Wanna try my tutorial?
Well its bit messy, but i am lookign for osme fixes in ubuntu.
The Part where I get confused is the boot image and system image I may have messed up there?
Where do you place/name the net-install img?
Also as far as the rom and kernel go do you have to get that set up and then do a backup and use that or do you still have access to android recovery to flash zips?
Thanks!
fauxsoul said:
The Part where I get confused is the boot image and system image I may have messed up there?
Where do you place/name the net-install img?
Also as far as the rom and kernel go do you have to get that set up and then do a backup and use that or do you still have access to android recovery to flash zips?
Thanks!
Click to expand...
Click to collapse
OH SHOOT! i didn t say where to paste >.<
Ok paste in the image folder.
its inside he olife folder.
Yeah you have set up roms and kernel.
I dont recommend to go stock, but AR HD. In find its only proper working stock ICS and a working usb.
Further I had some difficulties installing ... Libre if oyu want to use as office.
vietchinh said:
OH SHOOT! i didn t say where to paste >.<
Ok paste in the image folder.
its inside he olife folder.
Yeah you have set up roms and kernel.
I dont recommend to go stock, but AR HD. In find its only proper working stock ICS and a working usb.
Further I had some difficulties installing ... Libre if oyu want to use as office.
Click to expand...
Click to collapse
So install the rom and kernel you want to use, do a backup then copy the system & boot imgs from the backup.
From what i understood you have to rename the net-install img to ubuntu.img? Is that correct?
Yeah definitely planning on using it for word editing etc (for school)
Right now I'm using team EOS nightlys for the rom and the kat kernel.
It's running very well so i might stick with that.
So you are not able to flash updates for android once you go dual boot?
Thanks I will probably try this out again when I get home later.
fauxsoul said:
So install the rom and kernel you want to use, do a backup then copy the system & boot imgs from the backup.
From what i understood you have to rename the net-install img to ubuntu.img? Is that correct?
Yeah definitely planning on using it for word editing etc (for school)
Right now I'm using team EOS nightlys for the rom and the kat kernel.
It's running very well so i might stick with that.
So you are not able to flash updates for android once you go dual boot?
Thanks I will probably try this out again when I get home later.
Click to expand...
Click to collapse
You mean recovery? If you want recovery u need to wait for Franktools SBk2v, but it cause apx bootloop so its removed.
Backup ur data to with recovery or titanium backup.
I recommend to use normal ubuntu ( with GDM) and then install enlightment.
Why i recommend normal ubuntu, becasue it was only working libre office, but you can try something else
So far no luck still isn't working.
Maybe it's the net-installer I'm having issues with I might just try the regular ubuntu.img if franks tools aren't back up soon (I just wanted to try the easier way.)
I tried just installing linux by itself and got some penguins and scripts running but it was in apx boot loop after that.
Had to flash to stock and rebuild.
I think I might wait for kenshin to fix franks tools (which might take a while from the looks of it)
fauxsoul said:
So far no luck still isn't working.
Maybe it's the net-installer I'm having issues with I might just try the regular ubuntu.img if franks tools aren't back up soon (I just wanted to try the easier way.)
I tried just installing linux by itself and got some penguins and scripts running but it was in apx boot loop after that.
Had to flash to stock and rebuild.
I think I might wait for kenshin to fix franks tools (which might take a while from the looks of it)
Click to expand...
Click to collapse
U got teamviewer and skype or somesort?
I can help u with that if you dont understand any thing of the tutorial.
IF you add me at skype (naruto.fbi any one can add me ) i can help u :].
Did you have any errors?
I had error thatkernel was to big ( 9.4 mb) i change some code adn i could flash it.
Maybe u have the same?
I hear form u soon
No errors, Have had my rom and kernel installed. Did the android backup using olife. Copied the olife backup files and renamed them (boot and system IMG files) to the images folder.
Then flashed device with dual boot tried both android and linux as the default and neither way worked.
Tried installing linux only and it doesnt work.
I just keep getting apx boot loops.
I dont have team viewer or skype so I was wondering if you might share your olife folder that you used to install (in case I was doing something wrong)
but if you have personal info in the backups i understand.
I think I might take you up on that offer and hit you up on skype or with team viewer, but maybe later this week because I'm going to be very busy with work/school for a few days.
Thanks for your help
fauxsoul said:
No errors, Have had my rom and kernel installed. Did the android backup using olife. Copied the olife backup files and renamed them (boot and system IMG files) to the images folder.
Then flashed device with dual boot tried both android and linux as the default and neither way worked.
Tried installing linux only and it doesnt work.
I just keep getting apx boot loops.
I dont have team viewer or skype so I was wondering if you might share your olife folder that you used to install (in case I was doing something wrong)
but if you have personal info in the backups i understand.
I think I might take you up on that offer and hit you up on skype or with team viewer, but maybe later this week because I'm going to be very busy with work/school for a few days.
Thanks for your help
Click to expand...
Click to collapse
Well i can send u my olife folder.
It contain the 2.1 gb ubuntu (11.10) and the net installer. Also android system are: AR HD( ICS) with gevour kernel if you dont mind.
It also contin a jhinta kernel which you can flash over it. Flash it with chromeOS ( in update and then advance)
Also i change some size for the kernel.
Kernel size was to big.
All fixed :3.
I will send u the folder as soon as i can ^^.
Few backdraws at the moment with ubuntu:
No flash support anymore by adobe (few alternetives like gapps( to slow and laggy) and lightspark(need to be tested)
Libre has some difficulties installin in gnome classic install of net installer and englightment.
At the moment libre works in ubunu with gdm.
Even linux for tegra installed it seems like it cant see the processor ( currenly in net-installer, it does show in livistie ubuntu.),
Google chrome cant be installed :\ ( no arm packages).
Net-installer can have some frustation on the wifi configuration.
fauxsoul said:
Any thoughts on the net install version of ubuntu?
Click to expand...
Click to collapse
Have you compared the pros & cons using my version of Debian/Ubuntu Android integration?
http://forum.xda-developers.com/showthread.php?t=1780378
I'm running it on my TF101 with flying colours.
kuisma said:
Have you compared the pros & cons using my version of Debian/Ubuntu Android integration?
http://forum.xda-developers.com/showthread.php?t=1780378
I'm running it on my TF101 with flying colours.
Click to expand...
Click to collapse
I think its slow ?
becasue its chroot.
I dont know.
At the moment i am trying allot of things ^^.
vietchinh said:
I think its slow ?
becasue its chroot.
.
Click to expand...
Click to collapse
Slow? You tell me.
kuisma said:
Have you compared the pros & cons using my version of Debian/Ubuntu Android integration?
http://forum.xda-developers.com/showthread.php?t=1780378
I'm running it on my TF101 with flying colours.
Click to expand...
Click to collapse
That actually looks pretty cool, I really wanted ubuntu for a more powerful text editor and maybe a few other things.
Might be more convenient.
I'm going to try it.
fauxsoul said:
That actually looks pretty cool, I really wanted ubuntu for a more powerful text editor and maybe a few other things.
Might be more convenient.
I'm going to try it.
Click to expand...
Click to collapse
If a powerful text editor is all you need, I'd say this solution is way overkill.
kuisma said:
If a powerful text editor is all you need, I'd say this solution is way overkill.
Click to expand...
Click to collapse
Plus I just want to play around with it in general.
I'm sure you can understand that feeling.
fauxsoul said:
Plus I just want to play around with it in general.
I'm sure you can understand that feeling.
Click to expand...
Click to collapse
Yes indeed.
If you are skilled, this is quite a neat solution giving you lots of power over the Android device. But since it can be somewhat tricky for the beginner to implement, if only a GNU/Linux environment is needed, and not the control over the Android environment, it is much easier to run the GNU/Linux environment jailed, instead of Android jailed as here.
But this is of course way much cooler.
kuisma said:
Slow? You tell me.
Click to expand...
Click to collapse
I take my words back ._.

One Click Root - Sil3ntKi11 - All US Variants

Hey guys,
About two years ago when the Droid X came out, I came out with a one click root app for it that was pretty popular. Since I have the Galaxy S3 now and wanted to root me phone, I decided to make it ridiculously easy for people.
Credit goes to this thread: http://forum.xda-developers.com/showthread.php?t=1875914
I simply packaged it up into a Qt app. I will be releasing it on Linux tomorrow and if I can somehow get a Mac (or someone has one) that wants to compile the Qt app for Mac, we can have it working on all 3 main operating systems.
Here's the download: http://www.mediafire.com/?g4mfv432lzk2pj0
And some screenshots to go along with it: http://imgur.com/a/7Eq48
Enjoy!!! I will update with the Linux version tomorrow
- Sil3ntKi11
Very nice!
Sent from my SCH-I535 using xda premium
Shouldn't this be in the dev section?
jellydroid13 said:
Shouldn't this be in the dev section?
Click to expand...
Click to collapse
It could be but here is the problem i see...
all current root methods that work for ics will no longer work for jellybean. so when the jb ota drops this will be kind of null and void. not saying you couldnt odin back to a ics build then root and upgrade back to jellybeans, but thats alot of extra steps. the best method imo is to odin mr.robinson's pre rooted stock j1 update.
droidstyle said:
It could be but here is the problem i see...
all current root methods that work for ics will no longer work for jellybean. so when the jb ota drops this will be kind of null and void. not saying you couldnt odin back to a ics build then root and upgrade back to jellybeans, but thats alot of extra steps. the best method imo is to odin mr.robinson's pre rooted stock j1 update.
Click to expand...
Click to collapse
Yeah, I know that. But within a few days a new method will be up and I will update it! If someone finds it useful, then great! When the 4.1 root method (non-odin) is out, then I will put that up!
But yeah, most people after updating won't need this
Will this raise the flash counter?
I can compile the qt app on Mac if you get me the source.
Sent from my SCH-I535 using xda app-developers app
alquimista said:
I can compile the qt app on Mac if you get me the source.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Here's the source attached. Also, if you could send me a link to a copy of adb for mac (just the executable) that would be awesome!
ahfu25 said:
Will this raise the flash counter?
Click to expand...
Click to collapse
To be completely honest I am not sure. I have no triangle on my phone. If it does, you can use:
http://forum.xda-developers.com/showthread.php?t=1494114
To reset your counter I believe. Does someone else want to weigh in on this?
sil3ntki11 said:
Here's the source attached. Also, if you could send me a link to a copy of adb for mac (just the executable) that would be awesome!
Click to expand...
Click to collapse
Here are the most useful binaries from the Android SDK for Mac. Included in tarball:
aapt
adb
aidl
dexdump
dx
I'll try and get the Mac qt build up later tonight.
Ta,
ALQI
I'm having problems compiling on my laptop.
I keep getting the error that my version of OS X isn't supported. I'm on 10.7.4, should I be on 10.6 or something?
Anyway, I have an app built, but the bundle doesn't look right. It doesn't contain any of the root tools, and the main executable is way too small.
I don't want to post it here, cause I doubt its functional.
It looks nice though!
alquimista said:
I'm having problems compiling on my laptop.
I keep getting the error that my version of OS X isn't supported. I'm on 10.7.4, should I be on 10.6 or something?
Anyway, I have an app built, but the bundle doesn't look right. It doesn't contain any of the root tools, and the main executable is way too small.
I don't want to post it here, cause I doubt its functional.
It looks nice though!
Click to expand...
Click to collapse
Hey! Thanks for trying! So I used Qt version 4.8.3, the open source SDK. You need three libraries to run the app, QtCore4, QtGui4, and QtWebKit4. They have to be in the same folder as the executable if Qt isn't in your Path. The root tools are in there, "debugfs", "debugfsinput" and "su" and "Superuser.apk". I didn't include the Mac adb tool, as I couldn't get it. That should be named adbmac and be put in the tools/ folder of where the executable lies.
I have changed the source to make this customizable for anyone's root methods, if you look here:
http://forum.xda-developers.com/showthread.php?t=2000988
Here is cleaner source attached, basically the same. So, in order to get this work:
Build the code
Find the folder it was built into (please use release, not debug)
In that folder, find the executable. This is the main folder
Copy the /root, /tools, /html, /device folders that are in the zip into the main directory where the executable is.
Copy your OSX's adb into /tools and rename it adbmac
Make sure Qt is in the PATH variable, if not you need
QtCore4, QtGui4, and QtWebKit4 in the same folder as the executable
For others to use it, they need those libraries in there, or else they will need to have Qt installed
You can statically link the libraries if you so desire but I didn't want to deal with that.
sil3ntki11 said:
Hey! Thanks for trying! So I used Qt version 4.8.3, the open source SDK. You need three libraries to run the app, QtCore4, QtGui4, and QtWebKit4. They have to be in the same folder as the executable if Qt isn't in your Path. The root tools are in there, "debugfs", "debugfsinput" and "su" and "Superuser.apk". I didn't include the Mac adb tool, as I couldn't get it. That should be named adbmac and be put in the tools/ folder of where the executable lies.
I have changed the source to make this customizable for anyone's root methods, if you look here:
http://forum.xda-developers.com/showthread.php?t=2000988
Here is cleaner source attached, basically the same. So, in order to get this work:
[/LIST]
Click to expand...
Click to collapse
Ah, that's my problem. I'm still on Qt 4.7 cause the QtADB tool requires the 4.7 libraries. I can update to 4.8 , but it will take a while cause Macs are dumber than Linux.
Question, can't we roll the libraries into the app itself? I know Avid MediaComposer 6 and up have Qt pretty much rolled into the app to run all of the GUI, they even use some python to run some of the GUI for them (its crap for code but its better than FCP X). I'll look into it while I'm waiting for Qt 4.8 to download and install.
I'll keep you updated.
Ta,
ALQI
tplawi then
alquimista said:
Ah, that's my problem. I'm still on Qt 4.7 cause the QtADB tool requires the 4.7 libraries. I can update to 4.8 , but it will take a while cause Macs are dumber than Linux.
Question, can't we roll the libraries into the app itself? I know Avid MediaComposer 6 and up have Qt pretty much rolled into the app to run all of the GUI, they even use some python to run some of the GUI for them (its crap for code but its better than FCP X). I'll look into it while I'm waiting for Qt 4.8 to download and install.
I'll keep you updated.
Ta,
ALQI
Click to expand...
Click to collapse
Hey! Thanks for the effort. So I actually got a VMWare image of Mac OSX Lion going on my machine and got it to compile. What you are referring to is called static linking and can definitely be done, I just have to compile from source with the -static argument. I'm trying to decide if I should not use WebKit for my GUI as that is the only library that is quite large. I'm going to compile it statically and see how big it is. I might put this up on a private GitHub repo if you want to help work on it.
My idea is that this can be used by anyone to make other root packages. If you noticed in the other thread I sent you, I basically have a very simple custom batch language for them to create for the root method and the rest is taken care by the program. This way it won't discourage people and we can have a one click root truly. Let me know if you want to help me improve it!

[Q] Android Kitchen "gcc not installed" error

Okay this is REALLY freakin' irritating!!
I have been itching to cook up my own ROM in the kitchen...BUT I CAN'T EVEN USE IT!
I have tried installing it, multiple times (deleting everything each time to start fresh), and follow all instructions to the "T", and every single time I open Cygwin (after putting in the kitchen and renaming it) and "cd kitchen" enter "./menu", it always comes up saying "Error: The application 'gcc' is not installed - the kitchen will not function properly without it. Ensure you did not miss a step during installation! Refer to the Android Kitchen FAQ...", etc. (I could swear it installed devel > gcc when I installed Cygwin. Even used the Install all option and stuff...)
Checked out the FAQ and everything, but I still can't find it! Everything I try just doesn't work! Can someone please help?? (thank you)
R: [Q] Android Kitchen "gcc not installed" error
Thats weird.....u on ubuntu? As far a s i remember i never had to install gcc it was already there....but i could be wrong.
Uninstall gcc. Go get it from official repo, retry. If it doesn't work this is more of a question for ubuntu forums theyll get anything working on a pc.
Sent from my GT-I9300 using xda app-developers app
Haha, actually I'm using Windows XP Professional. (Though I do have it dual-booted with Zorin OS...)
Yeah and uh...I'm not sure how you would directly uninstall gcc either...
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
R: [Q] Android Kitchen "gcc not installed" error
Wait.....what? Isnt zorin based off ubuntu? Why dont u install android kitchen stuff there?
Sent from my GT-I9300 using xda app-developers app
killbubble said:
Wait.....what? Isnt zorin based off ubuntu? Why dont u install android kitchen stuff there?
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Well, yes. It is.... I just figured it would be a lot more convenient to do everything on Windows instead.
There are times when it seems like things that were designed for Ubuntu don't really seem to work on the zorin distro. In this case, it probably will. I'm not really sure why I can't effectively connect to my phone though when in Zorin...maybe because there is a Kies for linux? I dunno...
I suppose I could try to install it though.
But anyways, more to the point! If cygwin/android kitchen was designed to also work in Windows XP/Vista/7, then why am I getting this error, and how do I fix it?
R: [Q] Android Kitchen "gcc not installed" error
Thats why i use kubuntu. Though i can't answer your question, i do know ubuntu and windows hate each other, getting that stuff to work is gonna probab be a pain.
If zorin has got problems try emulating a small os (so u dont waste too much time) based off linux (lucid puppy linux) and see if that works.
I wouldve thought people would also be modding android stuff directly on windows rather than emulating ubuntu stuff...after all android is open source.
Sent from my GT-I9300 using xda app-developers app
killbubble said:
Thats why i use kubuntu. Though i can't answer your question, i do know ubuntu and windows hate each other, getting that stuff to work is gonna probab be a pain.
If zorin has got problems try emulating a small os (so u dont waste too much time) based off linux (lucid puppy linux) and see if that works.
I wouldve thought people would also be modding android stuff directly on windows rather than emulating ubuntu stuff...after all android is open source.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Okay. Thanks for your suggestions. I may try and either do it on zorin, or repartition with kubuntu or something.
Too bad I can't do it in Windows...
Yeah, it's dumb that we still can't directly modify Android from Windows and have to use Linux. Well, actually, not as much "dumb" as inconvenient. Linux is free, yet it's different. I think we should be able to do it anywhere due to Android being open source.
Oh well... I don't understand why no-one else is having this problem. They have the guides for it on here (beginner's guides to making ROMs and stuff like that), and it seems as though nobody else has had this problem...or nobody even uses Windows. orz
Hopefully someone else will attempt to answer my question. thanks though. <
R: [Q] Android Kitchen "gcc not installed" error
well many developers are also pc fanatics and experiment new oses and grow to like open soyrce/free ones more than windows. many java devs use linux oses. Thats how devs roll. I use c and i like windows so i do it all in windows, but i know the editor/debugging programs are better on ubuntu than those available for windows....still....windows is...too much to shut down at times...
Sent from my GT-I9300 using xda app-developers app
killbubble said:
well many developers are also pc fanatics and experiment new oses and grow to like open soyrce/free ones more than windows. many java devs use linux oses. Thats how devs roll. I use c and i like windows so i do it all in windows, but i know the editor/debugging programs are better on ubuntu than those available for windows....still....windows is...too much to shut down at times...
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
You're probably right. I'm sure I'll be able to get used to it eventually, when I become a full developer. For now though, it's the learning curve. XD
Haha, yeah. That's good though. Windows is definitely enjoyable. (though I can't say much for W8. Ugh.)
So uh, I guess the Android Kitchen definitely works here in Zorin. Went to the menu without any problems. Funny still how it doesn't work in Windows....
You know, I'd probably have just skipped the whole kitchen thing and gone straight to development from source...but I'm not running on a x64 system, and therefore can't work on ICS and JB. :c
Soon though...very soon I will have all the parts to build my new computer, and not have to use this low-power laptop. >m>
Ascyndaeon said:
Okay this is REALLY freakin' irritating!!
I have been itching to cook up my own ROM in the kitchen...BUT I CAN'T EVEN USE IT!
I have tried installing it, multiple times (deleting everything each time to start fresh), and follow all instructions to the "T", and every single time I open Cygwin (after putting in the kitchen and renaming it) and "cd kitchen" enter "./menu", it always comes up saying "Error: The application 'gcc' is not installed - the kitchen will not function properly without it. Ensure you did not miss a step during installation! Refer to the Android Kitchen FAQ...", etc. (I could swear it installed devel > gcc when I installed Cygwin. Even used the Install all option and stuff...)
Checked out the FAQ and everything, but I still can't find it! Everything I try just doesn't work! Can someone please help?? (thank you)
Click to expand...
Click to collapse
My ERROR like ur ERROR.!
What should I do????
moj.enjoy said:
My ERROR like ur ERROR.!
What should I do????
Click to expand...
Click to collapse
Well, if I could go back in time 3 years I would be able to try and help you...I just tried it on Windows 10 here and everything works.
So, follow the instructions as far as even the cygwin_install.txt they provided. You should make sure you install /just/ the gcc-core and gcc-g++ when it tells you to tick the gcc (do not get the "cygwin gcc", idk if that did it, but just get the normal gcc). Follow all the others as well; far as I could tell the linux-util wasn't actually in utils (core instead I think?) but was already ticked, so don't worry about it unless it isn't.
After everything is done, make sure java is good to go and all, and cd to the kitchen location (just put the files in a new file, C:/kitchen/) and change directory to that. Then do the ./menu and it should work....
Also don't bump super old posts, not good. c: Either way I hope this helps. Real simple.
I really have no use for the kitchen anymore, since my GS3 gets CM nightlies (up to marshmallow? Wat!) and I have a Nexus 5X anyway so it's all gucci. But either way...yeah. It works to my knowledge.
Cheers~
(admin close thread nao? or can I do that...)
Ascyndaeon said:
Well, if I could go back in time 3 years I would be able to try and help you...I just tried it on Windows 10 here and everything works.
So, follow the instructions as far as even the cygwin_install.txt they provided. You should make sure you install /just/ the gcc-core and gcc-g++ when it tells you to tick the gcc (do not get the "cygwin gcc", idk if that did it, but just get the normal gcc). Follow all the others as well; far as I could tell the linux-util wasn't actually in utils (core instead I think?) but was already ticked, so don't worry about it unless it isn't.
After everything is done, make sure java is good to go and all, and cd to the kitchen location (just put the files in a new file, C:/kitchen/) and change directory to that. Then do the ./menu and it should work....
Also don't bump super old posts, not good. c: Either way I hope this helps. Real simple.
I really have no use for the kitchen anymore, since my GS3 gets CM nightlies (up to marshmallow? Wat!) and I have a Nexus 5X anyway so it's all gucci. But either way...yeah. It works to my knowledge.
Cheers~
(admin close thread nao? or can I do that...)
Click to expand...
Click to collapse
before ur comment
I found my answer with try and try..!!:laugh:
just setup cygwin again and saearch(gcc) and enable to install.
next ,another error and ...
THX for ur comment.
by the way how to create custom recovery for galaxy?
I'm glad to hear it's working for you! Hope you have great fun with it like I did. ^-^
And for the custom recovery...I say it's not really worth it unless you're really serious and can code. Not sure myself how one would make such a thing that has that access, you probably should ask somebody who's actually made them. Otherwise I strongly recommend either Team Win Recovery Project or ClockworkMod. (I use ClockworkMod, but most say twrp is better)
^-^

Porting CWM how to Extract stock Recovery image?

Hello Xda, i own a ZTE midnight and just a few hours ago rooted it and would like to help port CWM to my device, i was looking at this https://www.facebook.com/ClockworkMod/posts/480999728601013 and wanted to start from there but i dont know how to extract the stock recovery, any help? like i said its already rooted and i think that All ZTE devices have unlocked bootloaders so this is possible. yes i have googled it please dont bark at me.
Hi trozzul,
I too want to port it to cwm but am also not able to extract my stock recovery.
Have you tried flashify? There is an option for backup boot.img and recovery.img . I tried it but doesn't seems to work.
It does create a 0 byte file named recovery.img . Maybe it isn't working on my phone.You try it on yours.
Thankx
Yuvraj
Sent from my iris 406Q using XDA Free mobile app
coder32 said:
Hi trozzul,
I too want to port it to cwm but am also not able to extract my stock recovery.
Have you tried flashify? There is an option for backup boot.img and recovery.img . I tried it but doesn't seems to work.
It does create a 0 byte file named recovery.img . Maybe it isn't working on my phone.You try it on yours.
Thankx
Yuvraj
Sent from my iris 406Q using XDA Free mobile app
Click to expand...
Click to collapse
i sorta found out myself with playing around in a terminal emulator. would you happen to know what partition your phone is? BML or MTD? i dont know what todo if your device is BML but if you think its MTD you can try in the terminal emulator app (from play market) type in
Code:
cat /proc/mtd
enter this in and you will see around 20 MTD files. find the MTD file with "Recovery" at the end, type this in for instance (DO NOT use this code, its what my device showed the Recovery MTD for.)
Code:
dd if=/dev/mtd/mtd12 of=/sdcard/recovery.img
and it will push your recovery to your SD card (in .img format), Pretty much say your recovery was MTD9 just put in that code but replace mtd12 with MTD9 mine was about 5MB i didn't know they were that small.
Trozzul said:
Hello Xda, i own a ZTE midnight and just a few hours ago rooted it and would like to help port CWM to my device, i was looking at this https://www.facebook.com/ClockworkMod/posts/480999728601013 and wanted to start from there but i dont know how to extract the stock recovery, any help? like i said its already rooted and i think that All ZTE devices have unlocked bootloaders so this is possible. yes i have googled it please dont bark at me.
Click to expand...
Click to collapse
To extract your stock recovery what you can do is the following to determine which partition is the recovery partition. From terminal emulator or adb shell, go to the /cache/recovery directory and look for a file called log or last_log if you cd into the /cache/recovery directory you can read the log file with the cat command: cat last_log. In the log file you will see a list of the partitions on your device. One of these will be your recovery partition, remember which partition block is your recovery partition and then run the command:
Code:
cat /dev/block/yourrecoveryblock > /mnt/sdcard/recovery.img
Let me know if you still have questions.
I had already tried it .it's BML :/
Congrates to you
Sent from my iris 406Q using XDA Free mobile app
shimp208 said:
To extract your stock recovery what you can do is the following to determine which partition is the recovery partition. From terminal emulator or adb shell, go to the /cache/recovery directory and look for a file called log or last_log if you cd into the /cache/recovery directory you can read the log file with the cat command: cat last_log. In the log file you will see a list of the partitions on your device. One of these will be your recovery partition, remember which partition block is your recovery partition and then run the command:
Code:
cat /dev/block/yourrecoveryblock > /mnt/sdcard/recovery.img
Let me know if you still have questions.
Click to expand...
Click to collapse
thanks for the info! i got the Recovery.img but would you happen to know if this site is not in use anymore? http://builder.clockworkmod.com/ i get 404s after i have uploaded it and i try to see mine in the que.
Trozzul said:
thanks for the info! i got the Recovery.img but would you happen to know if this site is not in use anymore? http://builder.clockworkmod.com/ i get 404s after i have uploaded it and i try to see mine in the que.
Click to expand...
Click to collapse
Clockworkmod recovery builder website has been hit and miss recently. Overall I would strongly recommend taking a look at this guide here that will teach you the basics of porting Clockworkmod Recovery to a new device, you will also learn a lot more doing it this way, as well as it being easier to fix any issues.
shimp208 said:
Clockworkmod recovery builder website has been hit and miss recently. Overall I would strongly recommend taking a look at this guide here that will teach you the basics of porting Clockworkmod Recovery to a new device, you will also learn a lot more doing it this way, as well as it being easier to fix any issues.
Click to expand...
Click to collapse
i have to use Ubuntu? could i not use the command prompt since the codes looks like you can use them there. Could i format one of my old computers and setup Ubuntu there?
Trozzul said:
i have to use Ubuntu? could i not use the command prompt since the codes looks like you can use them there. Could i format one of my old computers and setup Ubuntu there?
Click to expand...
Click to collapse
You have to use Linux or OSX but Ubuntu is highly recommended. You can't use command prompt as the Windows architecture isn't designed to build and cross compile for the architecture Android is based on. Yes, you could format your old computer and install Ubuntu on that and proceed from there.
Sent from my SCH-I535 using XDA Premium 4 mobile app
shimp208 said:
You have to use Linux or OSX but Ubuntu is highly recommended. You can't use command prompt as the Windows architecture isn't designed to build and cross compile for the architecture Android is based on. Yes, you could format your old computer and install Ubuntu on that and proceed from there.
Sent from my SCH-I535 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Cool, i will try my best to figure out how to get Ubuntu on this old thing, from looking it up looks like a simple process. could you recommend a good way to learn some basic commands like that guide asks for? i am using codecademy right now for some basic java and html stuff i know you need to know some of that stuff. its a single core 512mb of ram old XP computer, i dont know the system requirements for Ubuntu.
Trozzul said:
Cool, i will try my best to figure out how to get Ubuntu on this old thing, from looking it up looks like a simple process. could you recommend a good way to learn some basic commands like that guide asks for? i am using codecademy right now for some basic java and html stuff i know you need to know some of that stuff. its a single core 512mb of ram old XP computer, i dont know the system requirements for Ubuntu.
Click to expand...
Click to collapse
Your machine meets the minimum specs for Ubuntu (Barley) you could also check out Xbuntu or Lubuntu as well, make sure you use a 64-bit version as Android building requires that. Keep in mind with those specs you should be able to build it will just take a while to compile. For learning the basics of the Linux command line, this is a great guide just ignore the parts about Windows Power Shell (Or don't ignore them and learn twice as much!). The system requirements for Ubuntu can be found here as well for your reference. Android building does't really deal with HTML, it does deal with Java but as always the more you know the better because it just makes it easier to learn from there.
shimp208 said:
Your machine meets the minimum specs for Ubuntu (Barley) you could also check out Xbuntu or Lubuntu as well, make sure you use a 64-bit version as Android building requires that. Keep in mind with those specs you should be able to build it will just take a while to compile. For learning the basics of the Linux command line, this is a great guide just ignore the parts about Windows Power Shell (Or don't ignore them and learn twice as much!). The system requirements for Ubuntu can be found here as well for your reference. Android building does't really deal with HTML, it does deal with Java but as always the more you know the better because it just makes it easier to learn from there.
Click to expand...
Click to collapse
im pretty sure that computer i have is 32bit, so im screwed?
Trozzul said:
im pretty sure that computer i have is 32bit, so im screwed?
Click to expand...
Click to collapse
Is the operating system installed 32-bit or is the the CPU itself in your computer a 32-bit processor because if it's just a 32 -bit operating system you can still install the 64-bit version. But if it's a 32-bit processor then I'm afraid your out of luck. What you can do however is setup Ubuntu in a virtual machine on your main computer using Virtualbox.
shimp208 said:
Is the operating system installed 32-bit or is the the CPU itself in your computer a 32-bit processor because if it's just a 32 -bit operating system you can still install the 64-bit version. But if it's a 32-bit processor then I'm afraid your out of luck. What you can do however is setup Ubuntu in a virtual machine on your main computer using Virtualbox.
Click to expand...
Click to collapse
i was aware of the virtual machine ( still dont know how to do it lol) and i sorta didnt want to use it on my main computer i feel like to me it would be easier to just start linux on another computer. uh how would i tell if the processor on it is 32bit?
Trozzul said:
i was aware of the virtual machine ( still dont know how to do it lol) and i sorta didnt want to use it on my main computer i feel like to me it would be easier to just start linux on another computer. uh how would i tell if the processor on it is 32bit?
Click to expand...
Click to collapse
With Virtualbox you can setup Windows and Linux side-by-side and the good thing is if you mess something up in Virtualbox you regular windows installation is unaffected, I would highly recommend checking out this video walk though guide on how to install Ubuntu 14.04 LTS in Virtualbox. You can find out if you have a 32-bit processor or 64-bit processor by going to Accessories -> System Tools -> System Information (Or just search for System Information), then look at the System Type entry if it says x64-based PC you have a 64-bit processor if it says x86-based PC you have a 32-bit processor.
shimp208 said:
With Virtualbox you can setup Windows and Linux side-by-side and the good thing is if you mess something up in Virtualbox you regular windows installation is unaffected, I would highly recommend checking out this video walk though guide on how to install Ubuntu 14.04 LTS in Virtualbox. You can find out if you have a 32-bit processor or 64-bit processor by going to Accessories -> System Tools -> System Information (Or just search for System Information), then look at the System Type entry if it says x64-based PC you have a 64-bit processor if it says x86-based PC you have a 32-bit processor.
Click to expand...
Click to collapse
ill try to post back soon, i will try out virtualbox but im going to try to still get ubuntu on another computer i own, the other one ended up being x86 based. im sure the new one is 64-bit but it needs some work on it. thanks for the help so far!
Trozzul said:
ill try to post back soon, i will try out virtualbox but im going to try to still get ubuntu on another computer i own, the other one ended up being x86 based. im sure the new one is 64-bit but it needs some work on it. thanks for the help so far!
Click to expand...
Click to collapse
No problem buddy happy to help out, let me know how it goes!
shimp208 said:
No problem buddy happy to help out, let me know how it goes!
Click to expand...
Click to collapse
alright installed Ubuntu on one of my many computers, gonna try to build a setup a build environment, i have 75 gigs free on my hard drive, i heard the android source needs 100GB? could i put another hard drive in my computer thats 80gigs and would work?
Trozzul said:
alright installed Ubuntu on one of my many computers, gonna try to build a setup a build environment, i have 75 gigs free on my hard drive, i heard the android source needs 100GB? could i put another hard drive in my computer thats 80gigs and would work?
Click to expand...
Click to collapse
My apologizes for getting back to you so late @Trozzul I just finished with my finals the other day and didn't get home till much latter then anticipated hence the delay. While you could put in another 80 GB hard drive I would recommend picking up at least a 250 GB Hard Drive (They can be found online for about $30-$40), as that way you can be sure you won't run out of room and can have your main build environment all on one drive. But you can try it with the setup you have now and you can probably get away with it. As always let me know of any questions you have happy to help :highfive:.

Categories

Resources