[DEV HOWTO] Use Voodoo in your kernel - Easy method - ready to use. - Galaxy S I9000 Android Development

Until now Voodoo lagfix and tools required to be built from sources: https://github.com/project-voodoo/lagfix
As it's still the preferred and most powerful method, a much easier one exist now.
HOWTO:
1/ Pick your initramfs (ramdisk)
downloads / voodoo initramfs list
This directory contains ready-to-use initramfs for a lot of models and Firmware/Kernel versions.
full-uncompressed.cpio.gz is the recommended option. you can also gunzip it or recompress the .cpio to lzma
full-lzma-loader.cpio.gz allow you to build smaller kernels for Eclair, at the expense of loading time.
Benefit of using direct .cpio images is that you don't have to worry about permissions.
2/ Make menuconfig
General setup --->
[*] Initial RAM filesystem and RAM disk (initramfs/initrd) support
(/choose/your/full-uncompressed.cpio.gz) Initramfs source file(s)
Make sure you also enabled the Ext4 driver in
File systems --->
<*> The Extended 4 (ext4) filesystem
Exit
3/ Build the kernel
nice -n 20 make -j8
Congratulations !
You now have a Voodoo able kernel

Very good work supercurio. Love it.
I think Samsung needs to appoint a whole cell of staff to interact here on XDA. That would be an ultimate.
XDA <-> Samsung. Lug it out boys, let the best come out.
Angry Birds <-> Lazy Pigs.
Edit : Competition brings out the best. But who should tell them???

Samsung developers work also their ass off.

supercurio said:
Samsung developers work also their ass off.
Click to expand...
Click to collapse
This has a touch of genius.

I'm replying just to give ragin some company.
Ps. supercurio rocks! Ds.

Thanks curio!

awesome, thanks supercurio

Related

[HOWTO] Modify stock kernels' initramfs / Repack it

1. Usage
./editor.sh [place where the kernel is] [ place where your ramdisk is]
### you must let editor.sh know where your cross compiler is.
open "editor.sh" and edit COMPILER
2. Example
./editor.sh /home/zero/Desktop/test/zImage /home/zero/Desktop/test/my_initramfs.cpio
3. Info
- can not use an initramfs which is bigger than the stock initramfs.cpio's size
>> for instance, stock JM8's got an "initramfs.cpio" which is 3.4MB.
you can use reasonably bigger initramfs by gzipping the initramfs.cpio ->> initramfs.cpio.gz
this process reduces the initramfs.cpio's size but still can't use if initramfs.cpio.gz is bigger than 3.4MB
(this means that if a kernel already has gzipped initramfs, it is difficult to make it. you may want to remove something in order to have more room.)
- you can choose either your_initramfs.cpio or your_initramfs.cpio.gz
(this script compresses the ***.cpio if this is bigger than the stock.)
4. how to extract an initramfs from a kernel?
go to here
http://forum.xda-developers.com/wiki/index.php?title=Extract_initramfs_from_zImage
Thanks gshklover!
Thanks for this! I really appreciate the work you are doing
Sent from my GT-I9000 using Tapatalk
Sweet! Awesome work.
Any reason you now have TWO threads about this subject ? (Or: why not edit / add to your other thread about this ?)
Also, I have a toolset to do all this on Windoze without Linux and compilers... I used it to build the JPH root, but haven't tested it on enough kernels yet to consider it stable and publicly release it.
Hi,
I have tried these scripts on i9000WXJPA and '070701' is found 60 times and 'TRAILER!!!' is found 2 times! I find it a bit risky to assume that the first match is the right one!! z4ziggy's script doesn't even contain the -m 1 so I guess he believes there will always just be one entry!! There must be a safer way to extract initramfs from a zImage. Doesn't the header contain the exact entries where to find the partitions?
Thanks
JKay
Great script, thanks.
I'm trying to port this for use with the Galaxy 3.. uses s5p6442 processor.
Any idea what the mcpu and other flags/values would be when it's rebuilding the image?
Thanks
The eclair kernel compilation comes up with
-D__LINUX_ARM_ARCH__=6 -march=armv6k -mtune=arm1136j-s
Click to expand...
Click to collapse
apparently s5p6442 is s5p6440's poorer cousin (the latter has at least a better CPU, arm1176jzf-s), but there's no information to be found on Samsung's website about it
good luck in making it boot and please share if you make it work, I didn't manage to get it working yet (I'm using z4mod and so far it's generating an invalid zImage)
Chainfire said:
Any reason you now have TWO threads about this subject ? (Or: why not edit / add to your other thread about this ?)
Also, I have a toolset to do all this on Windoze without Linux and compilers... I used it to build the JPH root, but haven't tested it on enough kernels yet to consider it stable and publicly release it.
Click to expand...
Click to collapse
Anyone mind to explain what the "compiling" is doing in a few words? It seems start and end are not changeable anyway.. checksums maybe? wild guess. Just curious. It works fine anyway.

[KERNEL][GPL][SECURITY][I9000] FuguMod (Gingerbread) VoodooSndV10

Included in the image are:
- Superuser
- own busybox 1.18.4
- TUN support
- No more RFS at all (if you want)
- JVB source based
- CWM 3.0.0.5
- security fixes
- low latency
- filesystems: jfs, ext2/3/4 (using ext4 driver), reiserfs, rfs (not on Ultra)
- CIFS support
- Voodoo SoundV10
- Voodoo color (sharpness fix)
- BLN (enabled by default)
- Preemptive RCU (only on Ultra)
- 10 fingers support (on roms that support it)
It has been tested on JVB/JVH/JVO/JV9
Read the whole post (except the changelog) before attempting to install
Thanks to Neldar for BLN
Thanks to Supercurio for voodoo additions
Thanks to zurchpet and js8 for dedicated testing
Thanks to Andro1d for ideas
Thanks to mothatt for the vectorized picture
Thanks to virnik for the new boot logo
For safety purposes /dev/block/stl3 is not mounted anymore but /efs is copied to /dbdata.
Quick table on the versions:
Two branches: Stable (which is stable) and Bleeding Edge (includes latest changes, in testing, consult the changelog)
Two versions in each branch: Normal (without preemptive RCU) and Ultra (with preemptive RCU)
Video
http://www.youtube.com/watch?v=mO-MiKVAzD8
You must flash a normal kernel before Ultra or you will not have phone/modem
Ultra does NOT support RFS filesystem
This kernel can now also be flashed from DOC rom in http://romkitchen.org thanks to Stefunel, choose a non wipe rom.
You can get it at . Normal version is named zImage-rXXX and Ultra is named zImage-ultra-rXXX.
Logs are in /fugumod.log
You can get support on #romkitchen on irc.freenode.net
Unless some unexpected changes occur, I am not going to produce any overclocked kernel anytime in the future as they have proven multiple times to be too unstable.
- All versions are upgradeable to the latest one without any data loss.
- You must have at least 400Mb free on your internal SD card storage for conversions. If you don't have any apps installed. If you have apps already installed, you must ensure that you have at least the same size as you data storage free on the sdcard. Note that upgrades don't really need space on your external storage.
- It is only known to work with international GT-I9000 and the Bell 9000M.
- The cleanest way to revert the mod is to reflash a complete ROM. But now supports reverting to RFS as well.
- If you use another custom kernel, you don't need anymore to revert the lagfix before applying. But it is always a good idea to start from a clean ROM.
Locale/timezone reset when using some filesystems
Some people may see that time zone sometimes reset at boot or even language reset, the easy solution is to edit /system/default.prop with something like:
persist.sys.timezone=Europe/Brussels
persist.sys.language=en
persist.sys.country=BE
Click to expand...
Click to collapse
Chances are that those settings are not in your /system/default.prop, it is safe to append them after the already defined ones.
See [url]http://en.wikipedia.org/wiki/List_of_zoneinfo_timezones for your timezone
How to convert filesystems:
Use FuguApp or FuguAppFree or create a /sdcard/fugumod/fs.convert file. If you don't see the paid version in the market and only see the free one, it may be due to your ROM build prop, just change it with SGS tools (in SGS tools -> prop editor -> build.prop -> Unlock -> ro.build.fingerprint=samsung/GT-I9000/GT-I9000:2.3.3/GINGERBREAD/XWJVB:user/release-keys and leave the rest as is. save, Apply script -> clear market cache, reboot...)
You can also create a /sdcard/fugumod/fs.convert which has the same syntax as /sdcard/fugumod/fs.current
How to specify custom filesystem mount options:
Create a file called /sdcard/fugumod/fs.options
It should contain the FS options like shown below (not specify a fs is equivalent to no option). Options "noexec nodiratime nosuid nodev nosuid" are "enforced".
stl9 noatime,barrier=0
stl10 noatime,barrier=1
stl11 noatime,notail
mmcblk0p2 relatime,barrier=0
Click to expand...
Click to collapse
Root bug with some applications:
Some applications don't properly detect if the phone is rooted, generally because they expect su to be in /system/xbin
Solution: type the following commands as root using adb shell or connectbot or any other shell console:
mount -o remount,rw /system
mkdir -p /system/xbin
cp /sbin/su /system/xbin/
mount -o remount,ro /system
Click to expand...
Click to collapse
What is Ultra version
Ultra version is a version with a preemptive RCU which brings an impressive user experience by having a near realtime response. Interestingly, it also seem to boost quadrant scores by ~15%.
Bleeding Edge can be found here
But it is not compatible with RFS filesystem, so don't flash if
- you still use RFS in any of /system, /data, /dbdata , /cache
- you haven't at last booted once a normal FuguMod edition
- you don't have basic skills of recovering from soft bricking (generally, flashing a normal edition will solve soft brick with Ultra)
Start adbd as root
If you want to start adbd as root and in recovery, you need to create a file called /sdcard/fugumod/debug
The change will only take place on next reboot.
Why is quadrant score so low ~1000 in ext4 but I still feel my phone is really fast?
- Quadrant does no measure latency, but user does it. You could have a completely unresponsive phone with very high quadrant score.
- I use safe mounts for ext4, but if you feel brave enough, you can tweak them using fs.options explained earlier or switch to JFS.
- Some ROMs/kernels set "media.stagefright.enable-player=true" in build.prop, in general this will give you 500+ supplementary quadrant score but but will break playing some videos. This won't make your phone faster or more responsive or whatever, it will only boost your quadrant score and break some videos.
Which filesystem is the best?
This all depends on your perception. I general, having /system on reiserfs and all others on jfs seems to be the fastest.
Random reboots
They are known to happen if:
- you force switch the radio band for example using "band selection" in diagnostic menu from wcdma 1900/2100 to 850 or 900 gsm.
Wifi not working
If your wifi is not working anymore, you probably use a JVH based ROM and have restored your wifi settings via titanium backup (or possibly other backup utilities). Wifi configuration from pre-JVH is not compatible with JVH ROMs. You should be able to restore without reflashing a full ROM by stopping wifi, then doing the following commands in a root shell.
cd /data/wifi
cp bcm_supp.conf bcm_supp.conf.bak
cp wpa_supplicant.conf wpa_supplicant.conf.bak
rm bcm_supp.conf
ln -s wpa_supplicant.conf bcm_supp.conf
cat bcm_supp.conf.bak | head -n5 > wpa_supplicant.conf
cat wpa_supplicant.conf.bak >> wpa_supplicant.conf
rm wpa_supplicant.conf.bak bcm_supp.conf.bak
Click to expand...
Click to collapse
And enable wifi again
WARNING: This may brick your phone, kill your cat or destroy your house (although in theory it should not).
If you like it, remember there are donations which may help me getting a development phone
Repository: http://github.com/renaudallard
Source of other GPL utilities I use: http://faramir.eriador.org/r/
Download
http://faramir.eriador.org/r/Samsung_galaxys/, it is called zImage-rXXX or zImage-ultra-rXXX. Bigger XXX number means it's the most recent version.
Changelog:
https://github.com/renaudallard/kernel-GB-GTI9000/commits/fugumod
sounds interesting, I'm keen to hear more about your project
A bit more info would be nice: quadrant score, are apps like newsrob fast.
Install it yourself, and play its the only way to get a feeling on how it preforms.
However:
JPM - Clean
Quadrant Score: 981
default slice_sync (97), slice_async (39)
Write: 12800000 bytes (12.2MB) copied, 2.836737 seconds, 4.3MB/s
Read: 12800000 bytes (12.2MB) copied, 0.222411 seconds, 54.9MB/s
JPM - with jfs
Quadrant Score: 1658
Write: 12800000 bytes (12.2MB) copied, 1.311856 seconds, 9.3MB/s
Read: 12800000 bytes (12.2MB) copied, 0.221596 seconds, 55.1MB/s
Tests done with:
dd if=/dev/zero of=/data/test count=25000
dd if=/data/test of=/dev/null
erased for better timeline
Have you tried with ReiserFS and XFS ?? Because I wanted to test with those even if they might use more cpu they should be faster, but I didn't had the time to,
Yeah this is interesting.
I must admit I hesitated between Ext4 and JFS during original choice for Voodoo and after a lot of reading (and head scratching) I chose Ext4 mostrly because of the ease to get e2fsprogs working, and their maturity.
Hey guys I love the developers society I'm glad to see that our phone has such hard working developers! Looking forward to good news from you
nikademus said:
Hello,
I was not intending to post this at first, but it seems some people are interested in my works on the Galaxy S.
I made a very raw script to convert /data to jfs on the external SD (at the moment).
I am open to all suggestions, so feel free to post
Click to expand...
Click to collapse
By the way, if you want to avoid creating new script (conversion, etc) I suppose you can "port" Voodoo to JFS in a few minutes.
Don't hesitate to ask for details if you're interested in.
I'm curious about this, I feel like I could have underestimate JFS for mobile (about the low CPU utilization part), like, you know, the general underestimation of this filesystem.
On my tests, the battery really used by the filesystem itself is really minimal, but still
supercurio said:
By the way, if you want to avoid creating new script (conversion, etc) I suppose you can "port" Voodoo to JFS in a few minutes.
Don't hesitate to ask for details if you're interested in.
I'm curious about this, I feel like I could have underestimate JFS for mobile (about the low CPU utilization part), like, you know, the general underestimation of this filesystem.
On my tests, the battery really used by the filesystem itself is really minimal, but still
Click to expand...
Click to collapse
I would like to see Voodoo using JFS, I think that it will only be better.
Will be interesting to compare only recently updated to JPM so will have to give this a look..
exadeci said:
Have you tried with ReiserFS and XFS ?? Because I wanted to test with those even if they might use more cpu they should be faster, but I didn't had the time to,
Click to expand...
Click to collapse
I did not try xfs, but reiserfs did quadrant scores of about 1200.
XFS overhead is higher than many others, so battery wise, it may not be a good idea. If you wish to test, I made an xfs.ko module on my site (even a btrfs one).
This page is an interesting read, what's your opinion about this?
http://wiki.archlinux.org/index.php/JFS
btw this remark is very bad for Android usage: http://wiki.archlinux.org/index.php/JFS#JFS_losing_files
I don't how valid it is.
nikademus said:
I did not try xfs, but reiserfs did quadrant scores of about 1200.
XFS overhead is higher than many others, so battery wise, it may not be a good idea. If you wish to test, I made an xfs.ko module on my site (even a btrfs one).
Click to expand...
Click to collapse
I experienced a bad habit that XFS has, it tend to produce garbage in files when not powered down cleanly
XFS was mostly designed to work efficiently with big files.
JFS looks like a more sensible choice
btw this remark is very bad for Android usage: #JFS_losing_files
I don't how valid it is.
Click to expand...
Click to collapse
I know about this, but under android, memory pressure should be sufficient to force writes.
Also it's not very clear how this affects the filesystem. If someones first job is to power the system unproperly, then with whatever filesystem, you will have problems at some point. Also, there is a "discussion" about this here too:
http://wiki.archlinux.org/index.php/Talk:JFS_Filesystem
(this link posting is a little bit annoying, if someon knows how to bypass that, I would be happy to hear)
nikademus said:
...(this link posting is a little bit annoying, if someon knows how to bypass that, I would be happy to hear)
Click to expand...
Click to collapse
You need at least ten (or twelve, don't remember well) posts. Since your posts are particular interesting, I hope you will break that limit very soon...
Thank you very much for your contribution.
daigoro64 said:
You need at least ten (or twelve, don't remember well) posts. Since your posts are particular interesting, I hope you will break that limit very soon...
Thank you very much for your contribution.
Click to expand...
Click to collapse
Thanks for finding my work interesting, hopefully, I will break the post barrier soon.
I think you should work with the z4mod team so they can provide a jfs update.zip
http://llorien.org/samsung_galaxys/
i'll help you hyperlink it lol. you can quote it or something idk. go spam some posts in Q&A and you can post links yourself ;p
Adevem said:
llorien.org samsung_galaxys
i'll help you hyperlink it lol. you can quote it or something idk. go spam some posts in Q&A and you can post links yourself ;p
Click to expand...
Click to collapse
Thanks for linking (even if I cannot qupote you correctly)

Build your own Voodoo: sources-based kernels and ramdisk injection

Hello everyone
This is a bit early to do this thread but i already have several request, so I'll use this thread to support your efforts in compiling Voodoo or parts of it for your own projects.
For Voodoo 5, I transformed it into a source-based distribution.
No pre-compiled binary are available but your have all the tools to build your own.
You can use the tools to build full blown kernel from Samsung+Voodoo sources, but also use the same tools to build Voodoo ramdisk parts and then inject it into a ramdisk.
the useful URL's
Project-Voodoo GitHub:
http://github.com/project-voodoo
My personnal GitHub, with sample "glue" build scripts:
http://github.com/supercurio
Everything I use to build it is here
Current status :
- Voodoo injection has been already done by dkcldark, congrats !!
- newmail yesterday on IRC was working on it but still some parts where missing (on it!)
More to come !
PS: some details may be missing, this is just 2 days old
supercurio said:
Hello everyone
This is a bit early to do this thread but i already have several request, so I'll use this thread to support your efforts in compiling Voodoo or parts of it for your own projects.
For Voodoo 5, I transformed it into a source-based distribution.
No pre-compiled binary are available but your have all the tools to build your own.
You can use the tools to build full blown kernel from Samsung+Voodoo sources, but also use the same tools to build Voodoo ramdisk parts and then inject it into a ramdisk.
the useful URL's
Project-Voodoo GitHub:
http://github.com/project-voodoo
My personnal GitHub, with sample "glue" build scripts:
http://github.com/supercurio
Everything I use to build it is here
Current status :
- Voodoo injection has been already done by dkcldark, congrats !!
- newmail yesterday on IRC was working on it but still some parts where missing (on it!)
More to come !
PS: some details may be missing, this is just 2 days old
Click to expand...
Click to collapse
thx
but , when i tried to build the kernel to c if my phone's restart problem can be solved, the initramfs list's missing, pointing to ../../output/ramdisk-voodoo/uncompressed
nice startup supercurio
thank you

[KITCHEN] Minimal kernel building VM with scripts

I added some convenience scripts to the config. Read the new tutorial here
The old one still works:
I put together a small virtualbox vm with a very minimal debian config with which I was able to compile a working kernel. This is for all the people who are running Windows, and want to try modifying kernels/initramfs's. As this is a minimal config there are some drawbacks (like it doesn't have a graphical interface), but you can always install additional packages, if you want to.
The VM includes: debian, build essentials, git, vb guest additions, mc, vim and codesourcery 2010q1 gnu-eabi. (it's larger than the simple eabi version, but can be used to compile non-kernel applications too)
First of all I hate both SunOracle VirtualBox and debian, but VB is free, and debian is lean, so they'll do the job.
To get the image running do the following:
First download and install VirtualBox
Next download the VM image: http://android.sztupy.hu/dl/KernelCompilerVM-1.1.7z and extract it. (it's a large download. If you can please put it up a mirror)
Mirrors: (thanks to the people mirroring it)
- http://www.multiupload.com/THJV19BJ9X
- http://bote.ro/sztupy/KernelCompilerVM-1.1.7z
After this run virtualbox, and import this VM.
Run the VM. The username/passwords are: root/root and kernel/kernel. Login with kernel. (you can always switch to root using sudo)
Next choose what kernel/initramfs you want to compile.
Here are some links to kernels:
The original sources can be found at supercurio's git:
Code:
git://github.com/project-voodoo/linux_gt-i9000.git
froyo-samsung branch
The kernel of the voodoo project can be found at the same place:
Code:
git://github.com/project-voodoo/linux_gt-i9000.git
froyo-voodoo branch
The ULTK kernel can be found at my account:
Code:
git://github.com/sztupy/universal_lagfix_kernel.git
Here are some links to initramfs files:
The original froyo initramfs can be found at supercurio's git page:
Code:
http://github.com/project-voodoo/samsung_ramdisks.git
afaik the voodoo initramfs is build using scripts from these images, so you have to apply them.
The ULTK initramfs can be found here:
Code:
git://github.com/sztupy/universal_lagfix_kernel_initramfs.git
For the rest of the tutorial I'll be showing how to compile ULTK:
First get the kernel sources using git:
Code:
git clone git://github.com/sztupy/universal_lagfix_kernel.git kernel
Unfortunately no copy-paste function is available, so you have to write this manually...
Next get the initramfs using git:
Code:
git clone git://github.com/sztupy/universal_lagfix_kernel_initramfs.git initramfs
If everything goes well you'll have two directoryes, called kernel and initramfs. Next we have to modify some values in the kernel configs.
Nano, mcedit and vim are installed, use the one that suits you best. (mcedit is the most user friendly)
Switch to the kernel directory and edit the Makefile there:
Code:
cd kernel
nano Makefile
Find the row that says
Code:
CROSS_COMPILE ?= some value
Replace it to
Code:
CROSS_COMPILE ?= /home/kernel/arm-2010q1/bin/arm-none-linux-gnueabi-
(if using nano make sure it won't add a line break into the row)
Next load the default config:
Code:
make aries_eur_defconfig
And edit it:
Code:
nano .config
We have to supply the directory of the initramfs. Search for the line:
Code:
CONFIG_INITRAMFS_SOURCE=some value
and replace it to
Code:
CONFIG_INITRAMFS_SOURCE=/home/kernel/initramfs/out
(this is for the ULTK. For voodoo the initramfs locations are "froyo-xxjp6" and "froyo-xxjpm" instead of "out")
if you've managed to do that too, let's compile the kernel:
Code:
make
If everything goes fine after a while you will have your shiny new kernel. Now let's get it to your computer, so it can be flashed:
First, you have to create a shared folder in VirtualBox. Simply create a directory somewhere on your computer, and add it as a shared folder in virtualbox. The name of the shared folder should be simple, for example "shr".
Next, you have to mount that directory inside the VM. To do this enter:
Code:
sudo mount -t vboxsf shr ~/share
After it has been mounted you can copy the fresh kernel to your host OS:
Code:
cp arch/arm/boot/zImage ~/share
If everything goes well you have a zImage ready at the folder you've just shared. TAR it, fire up odin, and flash.
---------------------------------
Now that you've succesfully compiled a working kernel try to modify it. You can use "make menuconfig" in the kernel directory to switch some kernel functions (like filesystem supports) on and off. You can edit .config by hand to add or remove some configuration values. And you can edit the files in the initramfs directory. After modifications you only have to enter "make" in the kernel directory to get your kernel inside the "arch/arm/boot/zImage" dir ready.
You can also copy files from your host OS, to the guest OS, by putting the file inside the shared folder and copying it:
Code:
cp ~/share/thefile ~/initramfs/copyithere
Hope this guide was useful.
Impressive, thanks. Even a noob like me can try this.
Oh god, not only a talented developer, but a community helper!
STICKY!!
Gonna try it laters <3
oh yea, nice!
DocRambone said:
Impressive, thanks. Even a noob like me can try this.
Click to expand...
Click to collapse
If you're a noob, then I'm a baby
Darkyy said:
If you're a noob, then I'm a baby
Click to expand...
Click to collapse
high time you start compiling kernels
tnx
its very usefull
Magnificent!
I just came to take a quick look, but the thread deserves a closer one.
Thank you for sharing knowledge.
Worthy of a sticky.
Hopefully this will solve all those "I want this in a kernel but not that" scenarios.
This is VERY nice for the devs.. but.. i think this will make this forum spammed with 69 diff kernels with just minor changes.. as with the roms
Its better to let other people brick their phone than you brick your own
Just kidding! I for one will try and compile different versions with different lag-schemes to find the fastest combination. Including /system with fastest reading. I think I will add a benchmark to the recovery menu directly. Benchmarking each mount for read and for write speeds. Maybe I can use backup/restore code and just time it without writing (cp to null). Lets get to work
Thanks sztupy!
Sent from my GT-I9000 using XDA App
_JKay_ said:
Its better to let other people brick their phone than you brick your own
Just kidding! I for one will try and compile different versions with different lag-schemes to find the fastest combination. Including /system with fastest reading. I think I will add a benchmark to the recovery menu directly. Benchmarking each mount for read and for write speeds. Maybe I can use backup/restore code and just time it without writing (cp to null). Lets get to work
Thanks sztupy!
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
You cannot brick your phone with a bad kernel
@sztupy
I am impressed how productive master mind and kind person you are sharing all your knowledge and developments with us.
Congratulation, with you contributions you push Android Development forward.
Thank you
this is really cool, if i need minimal GUI, what would you suggest? xfce ? or there is something smaller and lighter? thx again.
avary said:
this is really cool, if i need minimal GUI, what would you suggest? xfce ? or there is something smaller and lighter? thx again.
Click to expand...
Click to collapse
Fluxbox/Openbox. However I don't see the need for one, if you're running the machine just for compiling.
Also, shouldn't gpm+guest additions solve the copy-paste problem?
E: Apparently not. Meh, stupid virtualbox.. sshd+putty then!
Awesome! Thanks for this sztupy! The more people we can get involved in this stuff, the better the end result will be. Always!
aziztcf said:
Fluxbox/Openbox. However I don't see the need for one, if you're running the machine just for compiling.
Also, shouldn't gpm+guest additions solve the copy-paste problem?
E: Apparently not. Meh, stupid virtualbox.. sshd+putty then!
Click to expand...
Click to collapse
actullay i was looking for something light and minimal (with GUI, or at least something like PCman FM and gedit or kedit, im not good with emac, vi ) to play and compile AOSP, for now i do this with Kubuntu dual boot on my laptop. if i put a litghweight desktop on top of szytup's image and use it with VB, that would be great.
thank you !
avary said:
actullay i was looking for something light and minimal (with GUI, or at least something like PCman FM and gedit or kedit, im not good with emac, vi ) to play and compile AOSP, for now i do this with Kubuntu dual boot on my laptop. if i put a litghweight desktop on top of szytup's image and use it with VB, that would be great.
thank you !
Click to expand...
Click to collapse
I'd use a shared folder+IDE/editor/whatever on windows. But that's just because I have so awful experiences about X in VMs, things might be better nowadays
Thanks a lot sztupy, will try it now. Sunday is enough time for testing
Each morning i have a look at XDA and you have brought out a new very helpfully posting, kernel, rom or else!
So let me ask you one question: when do YOU sleep?
avary said:
actullay i was looking for something light and minimal (with GUI, or at least something like PCman FM and gedit or kedit, im not good with emac, vi ) to play and compile AOSP, for now i do this with Kubuntu dual boot on my laptop. if i put a litghweight desktop on top of szytup's image and use it with VB, that would be great.
thank you !
Click to expand...
Click to collapse
The advantage of using X is that afaik guest additions has copy-paste support, that would make modifying easier.
I also plan on making some simple scripts inside the default home directory one can run to communicate with the shared folder. After that we could provide simple scripts that you only have to put inside the shared folder, which will download, modify and run the compilation.

[z4mod] Bringing Linux standards to SGS

Introducing z4mod 0.12
(c) Elia Yehuda, aka z4ziggy​
About:
version 0.12 marks a complete redesign of the z4mod project. As for now, z4mod adds the following enhancments to patched kernels:
init wrapper which comply to linux standards: mounting /etc/fstab partitions and execute /etc/init.d scripts
optional embedding binaries (root, CWM-recovery, busybox, and users-specific) into the kernel
z4mod app - an Android app which takes advantage of z4mod patched kernels to apply a lagfix.
How to use:
If you have root :
1) Install z4mod app from the market or download link.
If you don't have root:
1) Either apply root using z4root or other method, and then use z4mod app.
OR
1) visit the website, upload your zImage, make sure you select 'root' in the options, patch and download.
2) flash using odin the patched zImage
3) Install z4mod app from the market or download link.
OR
1) visit the website, upload your zImage, make sure you select 'recovery' in the options, patch and download.
2) flash using odin the patched zImage
3) visit the website to generate a customized update.zip, download to your /sdcard, and apply.
Sources:
https://github.com/z4/z4mod
Thanks:
RyanZA: Moral support, APK magician, amazing ideas and solutions, laziness master
DamianGto: Continuously testing and reporting bugs, endless efforts into the late hours...
supercurio & Unhelpful: Valuable source of information
you: for using it...
---
So Long, and Thanks for All the Fish
Holy s**t
Want to try. Thanks!
optional embedding binaries (root, CWM-recovery, busybox, and users-specific) into the kernel
Click to expand...
Click to collapse
Does this mean we can hope for scp?
Fr4gg0r said:
Does this mean we can hope for scp?
Click to expand...
Click to collapse
what is scp?
And looking through the sources will reveal all answers. As the announcement states - Anyone can add anything to the kernel (be it root, his own recovery, etc).
One of the biggest "highlights" if z4mod 0.12 is the use of /etc/fstab and /etc/init.d scripts - Finally our Android acts as a real linux system should, and allowing us to manipulate all the boot process from "userspace" (using /etc/init.d scripts).
The z4mod apk is just one example of what can be done with z4mod patched kernels. Your imagination is the limit.
z4ziggy said:
what is scp?
Click to expand...
Click to collapse
Well it's copy over SSH, it's a linux bin
scp copies files between hosts on a network. It uses ssh(1) for data transfer, and uses the same authentication and provides the same security as ssh(1). Unlike rcp(1), scp will ask for passwords or passphrases if they are needed for authentication.
Click to expand...
Click to collapse
One of the missing ones on android
sorry, i didn't make the connection
and ofcourse, you can add whatever you like. scp too.

Categories

Resources