[Q][SOLVED]Compiling CyanogenMod from source... - HTC Pico (Explorer)

I have read the instructions given at http://forum.xda-developers.com/showthread.php?t=2162951, and it is evident (from the given guide, and a few others) that, Cyanogenmod can be compiled only on 64-bit PC's.
My question is,
1. How much time would it take to compile CyanogenMod (particularly Jellybean) on a dual-core PC?
I am going to use the processor Intel® Core™ i3-540 , which has a dual-core, and four threads. (So, I may well use "brunch cm_pico-userdebug -j4".)
How much time would it approximately take, or should I consider upgrading to a better processor?:fingers-crossed:
If I must consider upgrading my processor, please recommend one.
2. Also, can I download the source given at (repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1) as a zip file?:silly:
I have seen that the drivers and other stuff, the vendor tree, device tree, kernel source, etc, can be downloaded as a zip file. In a similar way, can the source be downloaded as a zip file?
I tried going here (https://github.com/CyanogenMod/android/tree/cm-10.1), but the folder had only 4 files... So, what can be done?
The main reason I asked this question is that I have a slow internet connection... 4 Mbps (512 KBps) until 8 GB. But, I get only around 450 KBps. And, after 8 GB, the speed drastically reduces to 50KBps to 60 KBps (512 Kbps).:crying:
Thanks in advance to all the replies.

I have the same config.. almost ... people have compiled cm on 32 bit computers and p4s so I think though you will have to wait a lot.. it will be done.. if you upgrade your pc.. it will be compiled faster... and internet connection.. better get a better one..

What about pausing the download?
akshat.shenoy said:
I have the same config.. almost ... people have compiled cm on 32 bit computers and p4s so I think though you will have to wait a lot.. it will be done.. if you upgrade your pc.. it will be compiled faster... and internet connection.. better get a better one..
Click to expand...
Click to collapse
I read somewhere that repo syncing can be paused by using Ctrl+Z. I keep my computer running almost the whole day, and so, it wouldnt be much of a problem, even if it was only 50-60 kBps. Could I pause the downloads, so that, I can resume the download the next day, giving the computer a little bit of rest?
And, how is it compiled on 32-bits, and especially P4's? I got an old computer which is a P4. I could use it.

Replying to my own questions
vineethraj49 said:
I read somewhere that repo syncing can be paused by using Ctrl+Z. I keep my computer running almost the whole day, and so, it wouldnt be much of a problem, even if it was only 50-60 kBps. Could I pause the downloads, so that, I can resume the download the next day, giving the computer a little bit of rest?
And, how is it compiled on 32-bits, and especially P4's? I got an old computer which is a P4. I could use it.
Click to expand...
Click to collapse
Repo syncing sure can be paused But, problem is a project-wise resumable syncing is only supported.
In simple words, if you synced half-way through a project, you will not be able to resume it, end of story!
32-bit PCs, compilation, sure yes! ICS can (and has been) compiled on 32-bit PC's (example: Evervolv ICS by immortal_yash). Kernel compilation, 32-bit will do. But, the older your computer, the longer the compilation.
Example: An i3 3rd gen can compile a kernel in ~5 minutes, while it takes ~40 minutes in a Pentium 4 (personal experience)
Anyways, now that I got an Intel i3-3220 (3rd gen undoubtedly ), and have also compiled CM9 on it :victory: , thanks for awesome guides available in this forum and the help of many. :highfive:
I think it is time for this thread to be marked as [SOLVED]

Related

[Official] Augen Gentouch78 Rooting and Development [Working Android Market!]

!IMPORTANT! New IRC name is #augen-dev
Ok guys, I know this might not be the perfect tablet but this seems like it will be a fun device to mess around with. I am going to try to keep this thread as up to date as possible. Please keep this thread clean and RELATED to development - NOT general questions about the tablet!
Augen Gentouch Dev Wiki
http://augendev.wikispaces.com/
IRC DEV Chat for Augen Gentouch-DEVS ONLY!
http://java.freenode.net/
#augen-dev
IRC General Chat for Augen Gentouch
http://java.freenode.net/
#augen-gen
Current Issues and Bugs (more to come)
No volume hardkeys - Need get semi-transparent on-screen controls for these function
Recovery is useless (Hold Home+Power while booting up) - No way to access functions in Recovery menu
Software is a mess - we really need a new recovery, a cleaned up ROM, and overclocking!
In adb shell, doing a "reboot recovery" reboots the device to a black screen and doesn't bring up recovery.
7/30/10 - Pattern lock doesn't work after setting it up
7/30/10 - If you have Settings > Applications > Development > Stay Awake checked, the screen stays awake even when unplugged
Development Status
Root Access - http://augendev.wikispaces.com/Rooting
Market Working! - http://augendev.wikispaces.com/Market+Fix
- Issues? - http://augendev.wikispaces.com/message/view/home/25943265
Custom Recovery - In Progress
Overclocking - To-Do
Mods
Setup SetCPU - http://augendev.wikispaces.com/Setup+SetCPU
Setup Auto Memory Manager - http://augendev.wikispaces.com/Setup+Auto+Memory+Manager
I think this is a good start. If anything needs to be added or edited, let me know - preferably via PM to keep this thread clean. If we have any dev out there at all that can provide us with some help, let me know and I will try them on my tablet (or adb). I need to do some more reading on how to compile kernels and ROMs and things. Hopefully the coming update will be an .img file or something useful that we can use to advance the development of this tablet!
Reserved for future use
Reserved for later
Excellent.. thanks for posting this. I actually like the Menu, Home, Search and Back button location.. you want this thread mainly about development then huh.. We need a general page also.
There's on screen volume controls while watching a video, but not for music.. thats weird. you'd think they'd do both.
I ran Quadrant and Scored over 300. Just barely below the Moto Droid according to they're results.. Not bad. it was smooth at least. According to Quadrant I was running at 600 Mhz, and the Max Frequency is 600 Mhz, and the min was like 38. so thats pretty low. that could be wrong though. The spec's say 800 Mhz so I'm not sure why it read at 600 Mhz as the max. I'm looking into this all more but it's charging right now.
Thanks for putting this up. I got my tablet today and I must say that I kind of like it. Yes, it has all the quirks you mentioned but like you, I feel it has allot of potential.
Will definitely keep up with this.
awesome i'm gonna talk to augen to try to get the adb drivers tommorow. Having a working recovery is very important. I guess they put on a fake radio and that needs to be fixed so that it will stop searching for signal and increase our battery life. I'm wondering if what hardware is on this? since it gives an evdo signal I wonder if it's capable of connecting to a phone service? course i'm not gonna find out till we got a working recovery. I got some time off starting friday so i'll really be able to do some help for this. Oh do you know if flash_image is installed? I ask cuz i'm currently stuck in recovry or something (think i just got a bad device cuz my sdcards wouldn't show)
I feel the same way. i Kinda like it. It's got potential, and I'm sure it will be a fun device for a while. I'm going to use it while I browse forums and watch TV instead of my Nexus One.
Spec's of a G1/Dream. with a 800 Mhz CPU and a 7" screen. I quite like it.
and yea I think they loaded a fake radio also. it has E.. full service, but it does vary and go up and down. it also has been showing Roaming for me the entire day. Mine lists Teleco Loco for the provider instead of like T-Mobile. really odd. I'd like to loose the E symbol all the way like my Nexus does when I'm on Wifi.
I ran the system infomation tab on Quadrant and this is mostly what it says. (not sure if accurate or not)
CPU
Name: ARMv6-compatible
Processor Rev 6 (v6l)
Current Freq: 600 Mhz
Max was also 600 (the specs page says 800 so idk what that is about) (I feel some overclocking is in my future)
Min Freq: 36 Mhz
Cores:1
Architecture: 7
BogoMIPS: 499.71
Hardware: telechips
TCC89/91/92XX Demo Board (haha a demo)
Revision: 6
Serial#: 0000000
Graphics info is very interesting
Arm:
Renderer: Mali-200 is the GPU
Open GL ES-CM 1.1
320x480
Refresh rate: 60hz
Max Texture Units: 8
texture size of 4096
has a TCC92xx 3_axis Accelerameter.
can one of you guys install terminal emulator from the market install it and run these commands?
Code:
cd /system/bin
ls -a
see if flash_image is in there
xguntherc I think the processor is underclocked the guy that did this didn't really know much about android is my guess. I mean he used testkeys for gods sake
yup.. test keys and the software was from 2010 7/20.. it's like 9 days old.
Fresh out the Kitchen. if no one will. I'll run that command for you
xguntherc said:
yup.. test keys and the software was from 2010 7/20.. it's like 9 days old.
Fresh out the Kitchen. if no one will. I'll run that command for you
Click to expand...
Click to collapse
appreciate it
thatguythatdid said:
appreciate it
Click to expand...
Click to collapse
Terminal Emulator
or Better Terminal. Doesn't matter. I also found APKatcher, so i'm going to add that to my SD. use there file manager to install is so I can install APK's from email. thats easier for me. I also an going to download the market enabler app to see if that helps. lol.
Anyone notice the Manual mentions when you charge there is a Red indicator light, and will go green when it's fully charged. The light is inside the device and I see it glowing through the Mini USB port.. so i guess thats the indicator, but it's hard to see. haha
thatguythatdid said:
can one of you guys install terminal emulator from the market install it and run these commands?
Code:
cd /system/bin
ls -a
see if flash_image is in there
xguntherc I think the processor is underclocked the guy that did this didn't really know much about android is my guess. I mean he used testkeys for gods sake
Click to expand...
Click to collapse
ADB worked right away for me on the tablet so anything you need in ADB I can do. Tell me what else you need me to run.
/system/bin did have a flash_image and I copied it to my card. Let me post it up here in a sec as a .zip
EDIT: flash_image posted. will update OP. Seemed odd that it was only 10kb... Secondly, would it help if I made an .img of all the mtd partitions?
We should get an IRC going so we can tackle a little more than just back and forth in posts. Anyone up for that??
EDIT: Gonna be up for a little and created an IRC channel. http://java.freenode.net/ #augendev if anyone is interested.
I'm definfitly up for irc that but it's gonna have to be tommorow. I gotta be to work in the morning. But after tommorow i got a week. I guess mine was more messed up than i thought because i couldn't use adb (ruunning windows). So broken sd slot, no adb, tablet not coming on yeah it's definitly messed up. Gonna hopefully exchange. Do wanna say though that with flash_image in there we can definitly get a custom recovery. And if they are doing a update we can use that to make roms. Funs just sttarting
I'm exited to see how things go for this bad boy. I'm not very good with all the deep stuff. but I've got most my apps on her now. I've not tried to root yet though.
Here is a problem that I am having... I have the tablet rooted and I have superuser on here. Odd thing is that when I fire up TB, it just aquires root automatically but it doesn't do that on any of my phones. My guess is that the SU file needs to be modified or I need to put in the correct one to make it so when an app asks for root, it goes through superuser. What do I need to do that?
Sent an email over to Koush and gave him the link to this thread hoping he can make us a custom recovery! He's a genius so I'm sure it will be nothing for him.
THIS IS GONNA ROCK! The potential is very high
yea the potential is pretty high. I just installed setCPU, but we a rom. and i need to take the time and root it.
I emailed them. The dev also mentioned he'd be adding some sensitivity to the screen controls. Thats a good thing. that's my largest concern right now.
You guys should just email Augen and tell them that for $1000 you'll fix the mess for them.
They'd be smart to encourage your project regardless...for this device to have any kind of legs, it will need a strong dev community.

[Kernel] [Updated 22OCT] HeroC - 2.6.35.14

This can now be considered stable, after significant testing and use by the community. As always, the hero you save could be your own, so be safe.
This would not have been possible without the efforts of everyone in the community that played a part in moving the ball forward. In particular s0be and riemer for their initial efforts to get a working 2.6.35 build as a baseline, and the continuing efforts of riemer, erasmux, arco, et al; also thanks to toast, darch, decadence, pershoot, and cyanogen, as well as the Linux, CM, AOSP, and CAF teams that have provided the broad shoulders for tinkerers like myself to stand on. My sincere gratitude to all of these and the legion of others who I have not listed, who have contributed to making the open source community strong and productive.
This kernel is based on a combination of updated board files for HeroC, and efforts by arco, riemer, erasmux on new sources originally from the HTC marvel code release. After several weeks on the new base, everything appears to be working well. Initial sources have been posted to github.
New version (2.6.35.14) is at:
https://github.com/TeamHeroC/heroc-kernel-2.6.35
The sources for this Kernel and the AOSP flavored 2.3.5 ROM sources are posted to the TeamHeroC github. This organization github was created instead of using a personal github so that others could join in team development efforts if they are interested, and the organization could be more easily maintained after people move on to other devices. I am probably looking at somewhere between 2-5 months myself.
Flash from recovery, and remember nandroid is your friend.
UPDATE - KERN-2.6.35.14-10SEP-V1.0.zip
10SEP version has been updated with changes from various sources. Github has also been updated to be in sync with this update.
UPDATE - KERN-2.6.35.14-22OCT-V1.1.zip
22OCT version has been updated with changes from various sources. Github has also been updated to be in sync with this update.
Old version - No Longer in Development
This is very much a work in progress, so be safe.
This would not have been possible without the efforts of everyone in the community that played a part in moving the ball forward. In particular s0be and riemer for their efforts to get a working 2.6.35 build as a baseline; also thanks to toast, darch, decadence, pershoot, and cyanogen, as well as the Linux, CM, AOSP, and CAF teams that have provided the broad shoulders for tinkerers like myself to stand on. My sincere gratitude to all of these and the legion of others who I have not listed, who have contributed to making the open source community strong and productive.
This kernel is based on a combination of the s0be/riemer board files and other mods applied to the CyanogenMod cm-kernel android-msm-2.6.35-unified branch. It does not have smartass (not working yet), but the camera seems to work consistently for me on both interactive and ondemand (Note: setting min cpufreq to 352 is recommended to minimize camera problems). This is still very much an early effort, but thought I would post for anyone interested. Initial sources have been posted to github.
https://github.com/TeamHeroC/cm-kernel-heroc
New version (2.6.35.14) is at:
https://github.com/TeamHeroC/heroc-kernel-2.6.35
The approach to building this kernel was to go back to a build based on the last CM 2.6.35 source from the repo and add files from the s0be/riemer source tree to get a working kernel. My goal is to get this as close to standard source as possible, so the changes will just be the device specific board files, drivers, etc. The reason for this approach is to (hopefully) get a well defined set of files and updates that can be applied to other kernel releases (.37, .38, ...) with minimal conflicts and dependencies.
Lots of things that I will be working on as time permits. In no particular order this includes things like:
complete headset updates
update qdsp5_comp to align with latest sources
update smd files to align with latest sources
rework board files to current standards
check and complete i2c updates
complete USB updates
compare and update MSM frame buffer files
cpufreq updates and smartass governor
check and update device specific drivers
The sources for this Kernel and the AOSP flavored 2.3.4 ROM sources are posted to the TeamHeroC github. This organization github was created instead of using a personal github so that others could join in team development efforts if they are interested, and the organization could be more easily maintained after people move on to other devices. I am probably looking at somewhere between 2-5 months myself.
Flash from recovery, and remember nandroid is your friend.
Added No Headset version as suggested by s0be. This version has no headset drivers built in. In theory, this should improve the stability of your USB functions. This has had very little in the way of testing. YMMV.
Thank You,
Flashing now!
painter_ said:
Thank You,
Flashing now!
Click to expand...
Click to collapse
Thank you this great news!!!!!
Sent from my HERO200 using XDA Premium App
Awesome news.
Thanks JB for picking this up.
jaybob413 said:
Flash from recovery, and remember nandroid is your friend.
Click to expand...
Click to collapse
Thanks again Jaybob,
One question, Ive been running the kernel that you posted on s0be's thread a few days back, is this one updated or is it basically the same? So far no Camera bug for me (which is why I flashed to begin with).
chalan30 said:
Thanks again Jaybob,
One question, Ive been running the kernel that you posted on s0be's thread a few days back, is this one updated or is it basically the same? So far no Camera bug for me (which is why I flashed to begin with).
Click to expand...
Click to collapse
A few changes since then, but nothing major. I can't really say whether it is better or worse than the previous. Seems about the same to me. I will add the previous version to the OP later as well.
jaybob413 said:
A few changes since then, but nothing major. I can't really say whether it is better or worse than the previous. Seems about the same to me. I will add the previous version to the OP later as well.
Click to expand...
Click to collapse
Radical.
Thanks for your efforts. The previous version has been working well for me on your May 30th rom with FR 118_15 with some autokiller tweaks. Battery life seems a little worse but still very decent. All very smooth with ADW eX and LPPro . Had a couple of issues with the phone locking up (black screen) for about 20 30 seconds, then coming back on its own. Not sure if it was because my min was too low on setcpu (on demand). Not that it matters but my linpack scores have been consistently lower. but real world performance is great.
Lets see how this does.
so totally didnt see this thread until just now.. thanks a ton jaybob.. this kernel has some loyal followers, and i know i can say for most of them that i am glad to see someone who is capable pick this up.. i was trying my hand at it, but i dont have the time right now, and my knowledge base just isnt as broad as it needs to be for this.. so thanks man, you are the best..
3 Hours now and it seams stable. It took a little while after the first boot before my phone became stable. The ROM I am running the 5/25 version of Evervolv.
painter_ said:
3 Hours now and it seams stable. It took a little while after the first boot before my phone became stable. The ROM I am running the 5/25 version of Evervolv.
Click to expand...
Click to collapse
Yeah these .35 kernels usually take a few minutes to warm up. but they tend to get tremendously better with time..
sent from my... wait.. what..
This thing is running too smooth on the latest nightly. Someone pinch me!!
pstevep said:
Yeah these .35 kernels usually take a few minutes to warm up. but they tend to get tremendously better with time..
sent from my... wait.. what..
Click to expand...
Click to collapse
Its kinda weird how they do that... but they do go nice after a little while!
and jaybob this build is running a lot smoother than the last one.. on a whole, its smooth a silk, camera is working great.. kudos so far man..
jaybob413 said:
(Note: setting min cpufreq to 352 is recommended to minimize camera problems)
Click to expand...
Click to collapse
Isn't camera supposed to engage perflock?
jasonmaloney said:
Isn't camera supposed to engage perflock?
Click to expand...
Click to collapse
No perflock in this kernel (or s0be's or deca's). My recommendation is just based on an observation that when the min cpu freq was set to a very low value (19), I would see a lot of camera freezes. It may work fine at lower settings, I normally have mine set to 352 and don't have camera problems with ondemand or interactive, so this is just what has worked for me. It may also be fine at 264 or 176, but I haven't tried them.
Running this kernel with the latest CM7 nightly and I've never seen my Heroc run so smooth nor get this crazy good battery life.
Thanks JB.
Haven't checked to see if I get my regular reboot after 10 minutes of Google navigation.
I was using sobe's .35 kernel and the camera worked at first but lately wouldn't work at all and I saw that the camera was supposed to be working well with this. Flashed it a little while ago and haven't been able to take a single picture. My cpu is ondemand with a min/max 518/768.
braczkowski said:
I was using sobe's .35 kernel and the camera worked at first but lately wouldn't work at all and I saw that the camera was supposed to be working well with this. Flashed it a little while ago and haven't been able to take a single picture. My cpu is ondemand with a min/max 518/768.
Click to expand...
Click to collapse
i honestly think that right now some of the camera stuff is phone specific.. because i know some people have no issues, asome people have intermittent issues (me), and some people lose it all together.. but thats how it was with s0be's version as well, i think until most of the camera bugs are squashed we will continue to see random issues for random people..
BTW since you already cant use the camera, try switching to interactive for the governor, and try it then.. jaybob said that his works fine with interactive, so maybe your phone will respond better with it.. just a thought, no promises..
352 min cpu fixed my camera issue.

[Q] Any SGS4G Kernels with Swap Support?

Are there any other existing kernels for sgs4g besides the ones on the first page?
Reason I ask is because I'm trying to use a swap partition, but it seems these kernels are not swap enabled.
Why has nobody bothered to compile any custom kernels for the sgs4g? I am trying myself, but no luck so far.
Any ideas?
Thanks,
S
sconsylman said:
Are there any other existing kernels for sgs4g besides the ones on the first page?
Reason I ask is because I'm trying to use a swap partition, but it seems these kernels are not swap enabled.
Why has nobody bothered to compile any custom kernels for the sgs4g? I am trying myself, but no luck so far.
Any ideas?
Thanks,
S
Click to expand...
Click to collapse
I'm not sure I can answer the whole question as to why we don't use swap, but I can say that we just got the GB kernel source, and people are still working on it and haven't posted anything.... yet. Patients...
But, I noticed that the Bali 3.3 kernel (KD1) also did not have swap. Maybe drhonk and Krylon360 tried it and swap didn't help or improve performance.
The rest of the kernels you'll find are either stock leaks, or modified stock leaks. Samsung doesn't like swap I guess. Or swapping on SD/MMC sucks hard.
I know in newer kernels (3.0 and greater), there is a new driver for mtd-swap, but it is still very new and I doubt anyone will use it in production for quite some time.
Using swap on Android is not such a great idea, it goes a little bit against native Android memory management. Then benefit can be that more programs will stay in memory and won't need to reload, but the phone will become a lot slower, even with small partitions like 32MB. With 128MB or higher it will become almost unusable. Ask me how I know
I think the need for swap was gone once phones started coming with 512mb+ ram. I used swap all the time (also required for GB) on my MT3G, since it only had like 192mb ram. It never made the phone work faster at all, in fact it usually slowed down over time running, it really just made it so stuff didn't force close due to running out of memory. This shouldn't be needed on this or any new phone.
So Bali 3.3 is a GingerBread build? Didn't know that. Kinda figures I guess. Thought I had already tried it though and couldn't bootload. I'll give it another whack. His stuff is awesome of course. I'm not demanding it, mind you, just trying to see why it would not be included. Kind of like not having a /proc/config.gz file in some Android builds, don't really know the reason why they're not included (results in not able to mount ubuntu builds, anybody have these let me know .
This appears to be the only source of kernels for our phones, no swap support enabled though. http://forum.xda-developers.com/showthread.php?t=1194032
(Thanks dr.honk!)
As for the swap partition not making sense, I have a hard time understanding why it wouldn't just provide a static and beneficial extended memory source. I am familiar with the memory management features of Android, and actually don't use any additional task killers as I've found them to be conflicting often.
But Android is built off the Linux system/kernel, so why does dedicated swap work with a large OS but not the smaller but similar Android OS/kernel?
Thanks!
sconsylman said:
As for the swap partition not making sense, I have a hard time understanding why it wouldn't just provide a static and beneficial extended memory source. I am familiar with the memory management features of Android, and actually don't use any additional task killers as I've found them to be conflicting often.
But Android is built off the Linux system/kernel, so why does dedicated swap work with a large OS but not the smaller but similar Android OS/kernel?
Click to expand...
Click to collapse
In short, the phone will become annoyingly slow.
Swap works on kernel level. Android will see this as additional virtual memory, so it will keep more programs alive and won't unload them. For example a browser will hog a lot of memory causing other programs' memory pages to be swapped. Kernel doesn't differentiate between programs, so, for example, the launcher memory pages will be swapped. Or even the active program you are currently working with can have part of its memory in the swap. Next time you try to do something (like scrolling), the memory pages will have to be brought back. Flash memory is not particularly fast (in fact for swap it is very slow), so you can we waiting for some noticeable time for many actions to complete. You'll have a lot of jerky movements, delays, temporary freezes, forget any smoothness. It is just annoying, trust me, I've tried
Ah, ok so the swapping is noticeably slower than the ram on the phone (512mb). I would not figure that it would be too much of a factor, especially on class 6+ sd cards. So there is absolutely no way of coding the system apps to be ram based, and everything else to be swappable? I'm surprised that this has not been done, but I assume that the reason is the expanding active ram capacities on new phones.
So were you experimenting on the sgs4g, or was it another model? And if so, what were you using? Froyo swap enabled kernel?
The HTC Thunderbolt has some similar specs.
http://forum.xda-developers.com/showthread.php?t=1106420
More ram 768mb vs 512mb, more internal storage 4g vs 1000mb, but uses a 1g single core scorpion processor instead of our 1g single core hummingbird. Some are having good luck with this device and swapping (taking all "facts" with a grain of salt). There is more like this too, with a number of market apps to support swapping: Swapper2, Swap for Root, Diaper swappers forum (oops, that one doesn't work for some reason).
sconsylman said:
So Bali 3.3 is a GingerBread build? Didn't know that. Kinda figures I guess.
Click to expand...
Click to collapse
No, Bali 3.3 is Froyo.
I did try it on this phone few months ago when I was still on Froyo with Bali kernel. Don't try to load in on GB, wait until DrHonk makes a new one, he actually may soon.
I personally can't imagine how anybody could use swap on Android and like it, but everybody's mileage varies. The benefit of using swap wouldn't be speed but rather less program reloads. For example you browse the web when a call comes. You answer the call, maybe go to address book, or take some notes, or send some pictures, etc. Everything will be a little slow and jerky, but with swap enabled you have better chance that when returning to the browser it will still be on the same page without reloading from the server.
Just checking again to see if anyone knows of any KJ6 kernels with swap enabled, as I'm currently getting memory warnings from running Backtrack 5 non-gnome. It works pretty well otherwise (besides the lack of space, thanks obsolete fat32).
??
sconsylman said:
Just checking again to see if anyone knows of any KJ6 kernels with swap enabled, as I'm currently getting memory warnings from running Backtrack 5 non-gnome. It works pretty well otherwise (besides the lack of space, thanks obsolete fat32).
??
Click to expand...
Click to collapse
No swap. what version of the kernel are you running?
bhundven said:
No swap. what version of the kernel are you running?
Click to expand...
Click to collapse
Sent from my SGH-T959V using xda premium
2.6.35.7 KJ6-CL694138
It has [email protected]#9 signature on it. I know we had spoken briefly about swap. What linux are you running?
I know that the Debdroid program is successfully running swap with good results, but it won't mount right with the specific scripts (our phones working mount scripts are different, I linked them in my linux post). I can take some coding from that programs scripts but of course it won't work without the kernel having swap built in.
Sent from my SGH-T959V using xda premium

How to compile a kernel for Nexus S?

Is it actually possible?
I only have some basic java experience. Let's say I have a little of everything but basic. There seems to be no actual tutorial. Now I was about to make a big manual for Android Developers using our device as an example to develop for.
Now I was wondering how to do the kernel part.
Is anyone willing to give me a brief tutorial or explanation where to start?
I hope to merge all scattered mods over XDA into one package for newcomers and including howto's and exxplanation of governors...
If there are people willing to help making the manual itself. Those are also welcome. I can use human spelling checkers !
I found a very good step by step guide here:
http://forums.androidcentral.com/t-.../48675-how-compile-nexus-s-kernel-source.html
veagles said:
I found a very good step by step guide here:
http://forums.androidcentral.com/t-.../48675-how-compile-nexus-s-kernel-source.html
Click to expand...
Click to collapse
this is great ! it says need 64 bits Linux , can it be running in VM ?
yessir you can vm it!
I'm running win7 and vm'ing ubuntu for phone stuff.
side note, you need a more than decent pc for it to not take 4 years... I'm running an I5 OC'd and 16gb ram, using a 250GB HD "os" space for linux. takes about 2 hours to compile a full rom with the pc doing nothing else.
FYI the install says you only need 18Gb when setting up..lol dont listen to them.. when compiling (roms especially) it gobbles up space.. last clean built i was testing ate 190GB for itself, and spit out a 109Mb rom
Kernels are far less demanding, but plan for the future instead of re-installing a vm box 2 weeks down the road
t3xboar said:
yessir you can vm it!
I'm running win7 and vm'ing ubuntu for phone stuff.
side note, you need a more than decent pc for it to not take 4 years... I'm running an I5 OC'd and 16gb ram, using a 250GB HD "os" space for linux. takes about 2 hours to compile a full rom with the pc doing nothing else.
FYI the install says you only need 18Gb when setting up..lol dont listen to them.. when compiling (roms especially) it gobbles up space.. last clean built i was testing ate 190GB for itself, and spit out a 109Mb rom
Kernels are far less demanding, but plan for the future instead of re-installing a vm box 2 weeks down the road
Click to expand...
Click to collapse
....
you use VMBOX?
i have VMware Workstation , seems it doesn't have 64 bits support ...unable vm 64 bits system...
qtwrk said:
this is great ! it says need 64 bits Linux , can it be running in VM ?
Click to expand...
Click to collapse
Download Ubuntu 10.04 LTS 64-Bit
Install that in either VMWare Player or Virtualbox. Both are ok.
I have 8GB RAM having 4GB RAM dedicated to my Ubuntu VM. Combined this with a 2630QM cpu compiling on 8 cores gives me also 1-3 hours.
Most of the time I play counter strike at the same time. Limitting my VM to 6 cores and counterstrike to my last 2 ones.
That guide looks like setting up an environment for compiling a ROM. But with few changes for the kernel. I will try this out as soon as possible! Thanks!
I will upload my manual when it is done!
Ya i use virtualbox its 64bit.
and no real need fora guide - there are tons out on the web. all basically the same.
get Vbox up and running (dont listen to them for HD space.. use an excessive ammount 150-200GB+) then pull your trees etc.. and have fun !
You could also install Ubuntu alongside Windows in dual boot. That's how I run it.
Sent from my Nexus S by using my thumbs..

[q] cyanogenmod support for one sv

Are there anyone trying to make CM for our One SV? There are some threads in here about CyanogenMod but no one is not posting any progress or if they had stop working on it. I thing our phone is capable of running Cyanogenmod but why is it that no one has success making the ROM? Can someone please tell me why?
luise_sarmiento said:
Are there anyone trying to make CM for our One SV? There are some threads in here about CyanogenMod but no one is not posting any progress or if they had stop working on it. I thing our phone is capable of running Cyanogenmod but why is it that no one has success making the ROM? Can someone please tell me why?
Click to expand...
Click to collapse
Why? Because nobody who has the device has the knowledge.
And to be honest: i also don't believe that there will be a usable cm for this phone. The guys who have it, don't know how and there will be not much new users, because the phone is running out of its lifecycle. So the people buying newer phones.
I agree with old.splatterhand. The biggest problem is that the source deals with a LOT of C which not too many people here know about or have years of experience dealing with it.
C isnt that hard to learn but if not careful or written out just right then you can get many errors, warnings, and conflictions while trying to compile.
Also, working with such source as CM puts a heavy load on your computer. So unless you have a machine packing in a lot of power, then you will most likely fry your PC. I had to abandon the project myself due to my PC not being powerful eough to handle its load and didn't want to take the chance of destroying my computer because I can't afford to get another one at the moment lol.
Sent from my C525c using Tapatalk
Destroying pc? Lol, it will only take more time on slower pc. If in some crazy scenario cpu fan stop, termal protection will showdown pc.
I was force to do some render (3ds max and V-Ray) on mine old Barton 3000+ it take more then 20h with cpu @100%. And nothing wasn't explode or burn.
bataya said:
Destroying pc? Lol, it will only take more time on slower pc. If in some crazy scenario cpu fan stop, termal protection will showdown pc.
I was force to do some render (3ds max and V-Ray) on mine old Barton 3000+ it take more then 20h with cpu @100%. And nothing wasn't explode or burn.
Click to expand...
Click to collapse
You were fortunate, but it can definitely destroy a computer if the work load is too great. Ask @russellvone what happened to his last pc lol, and if my memory serves me correctly he was just merely trying to build a kernel.
Sent from my C525c using Tapatalk
Modding.MyMind said:
You were fortunate, but it can definitely destroy a computer if the work load is too great. Ask @russellvone what happened to his last pc lol, and if my memory serves me correctly he was just merely trying to build a kernel.
Sent from my C525c using Tapatalk
Click to expand...
Click to collapse
I burnt 2 pc's
building cm and aosp.....
old Toshiba's that came with XP lol
but that won't happen again with my new system76 bonobo extreme!
Sent from my HTC6525LVW using Tapatalk
All in all its only one point, but yes, you need a powerful PC to build things. Not everybody can spend 20 hours to build a rom which isn't maybe booting.
At all it does not change the basic situation: you need free time and knowledge to do.
And there are newer devices coming, with actually still support from the manufactor, so "new/interested" people will not buy an outdated phone.
No consolation, but our device is not alone with this problem. Many other "midrange" devices have no real developer support. Everybody is concentrating on the flagships.
old.splatterhand said:
At all it does not change the basic situation: you need free time
Click to expand...
Click to collapse
That's why I am taking up on theming. Its less time constraining and even so, you can work with such projects on the fly using your device which is very convenient for those not by a pc all the time. Can even run your projects on the fly for the purpose of debugging which is REALLY nice. I work too much in real life and I have my family to be there for so I make due with what free time I can get.
Sent from my C525c using Tapatalk
Let someone gather the working tree. Project compile - not a problem.
Home PC1 - CPU - i5 3570K, RAM 16 GB, SSD 120 GB + HDD 500+500+1000 GB.
Home PC2 - CPU - i7 4770K, RAM 32 GB, SSD 120+240 GB + HDD 500 GB.
Compilation is very fast. Just show me, what code to compile.
^Nice setup.
BrateloSlava said:
Let someone gather the working tree. Project compile - not a problem.
Home PC1 - CPU - i5 3570K, RAM 16 GB, SSD 120 GB + HDD 500+500+1000 GB.
Home PC2 - CPU - i7 4770K, RAM 32 GB, SSD 120+240 GB + HDD 500 GB.
Compilation is very fast. Just show me, what code to compile.
Click to expand...
Click to collapse
You should give that to me hahahaha
Sent from my C525c using Tapatalk
Modding.MyMind said:
You should give that to me ...
Click to expand...
Click to collapse
Only if I come to visit my sister in Miami.

Categories

Resources