To all devs - G1 Android Development

dumpstate can help with kernel edits and other tweaks. just a heads up

jokersax11 said:
dumpstate can help with kernel edits and other tweaks. just a heads up
Click to expand...
Click to collapse
what do you mean? more info?

in terminal type dumpstate /h

oh another thing monkey might help with testing
http://developer.android.com/guide/developing/tools/monkey.html

Related

enable / disable JIT compiler

how do i enable/disable JIT with recent kernel/ froyo rom
I've read that some cookers keep it enable while other one don't
I would like to test the difference on Thoughtlesskyle's
I think you can enable it when you compile a version of new build... Maybe you can ask to Thoughtlesskyle if he can do it for you
Happy new year.
Cheers.
chourmovs said:
how do i enable/disable JIT with recent kernel/ froyo rom
I've read that some cookers keep it enable while other one don't
I would like to test the difference on Thoughtlesskyle's
Click to expand...
Click to collapse
manu33xtro said:
I think you can enable it when you compile a version of new build... Maybe you can ask to Thoughtlesskyle if he can do it for you
Happy new year.
Cheers.
Click to expand...
Click to collapse
happy new year manu
i just want the command line or the script to do the trick (ie: sh jitenable.sh like compcache or something about dalvik i don't remember)
and another one to verify if it is enable/turned on
I've already read it on several topic but no way to find it again
my wish for 2011 : a good and complete wiki for polaris android user with all this explained
I think it's in the build.prop
enable
dalvik.vm.execution-mode=int:jit
disable
dalvik.vm.execution-mode=int:fast
meknb said:
I think it's in the build.prop
enable
dalvik.vm.execution-mode=int:jit
disable
dalvik.vm.execution-mode=int:fast
Click to expand...
Click to collapse
i see thank you
in CM, we can enable/disable it via option panel so i thought it was possible "live" with every mod with the good kernel
Hi guy,
Happy new year
Can you put here the results of your tests ?
Cheers.
chourmovs said:
i see thank you
in CM, we can enable/disable it via option panel so i thought it was possible "live" with every mod with the good kernel
Click to expand...
Click to collapse
Of course i'll do it
You could probably set it live with setprop ie
setprop dalvik.vm.execution-mode int:fast
Click to expand...
Click to collapse
Not 100% sure as i havent a android device at the moment to test on?
meknb said:
You could probably set it live with setprop ie
Not 100% sure as i havent a android device at the moment to test on?
Click to expand...
Click to collapse
thx, i did an androidupdate.tar with properly configurated built.prop
It doesn't hurt the system but i'm not really sure of my conclusion
Linpack score didn't change a lot in fact...
I wait for better explanation/instruction, if any

[KERNEL][CWM] EH06 Almostock Kernel ext4 init.d boot animation memory tweaks

My very first kernel, please tell me any problems (or how to fix things on my to do).
Almostock EH06
Features:
init.d support
ext4 support
Busybox
Root
Juwe's ram tweak BUILT IN!
adb in root mode
sdcard speed tweak
Custom Boot animation (takes bootanimation.zip, renames to sanim.zip on boot)
panic_on_oops 0 (may help with reboots)
TO DO:
Clockwork Mod re-director
Dual Boot (if its even possible)
More to come as I figure it out
Credits:
chris41g
-helped with bootanimation
-took his lines for mounting ext4 filesystems
-used his initramfs as a guide
richardtrip
-used his ext4.ko
lownoise
-used his guide for adding init.d
coolexe
-used his guide to install busybox
Juwe11
-used his ram script values
DOWNLOAD:
EH06AlmostockKernel-11-5-1-9
mine too
Oh, I know. It'l be an info post.
*Change in plans, root is installed, but not built into kernel
*Flashing Juwe's Ram Script will do nothing*
*If you flash a boot animation that is a bootanimation.zip file, it will be renamed to sanim.zip on boot*
*Ever got that error "adb cannot run as root in production builds"? GONE *
*I'm constantly updating and re-uploading the kernel. I'm going to add time/date stamps on next upload*
*Please, if you use this, leave feedback and/or thank me*
Any suggestions are appreciated!
Nice Job Man.... Im glad everyone is starting to dev to their best ability now.... Thumbs up
theduce102 said:
Nice Job Man.... Im glad everyone is starting to dev to their best ability now.... Thumbs up
Click to expand...
Click to collapse
I've been thinking the same its great to seee everyone
Sent from my SPH-D700 using xda premium
Just flash my kernel, then look at the directory layout and scripts, and you can probably figure out all of your todos easily.. or even easier i suppose i could send you just the initramfs to look at..
Hello, I was wondering if I an able to use this kernel with the rom I'm using. http://forum.xda-developers.com/showthread.php?t=1242486
Sent from my SPH-D700 using XDA App
it will work.. but its an eh06 kernel, not eh17
chris41g said:
it will work.. but its an eh06 kernel, not eh17
Click to expand...
Click to collapse
I see, thank you. So I should seek out an EH17 Kernel?
Sent from the HTC Evo: Ophelia running MikG 2.5!
chris41g said:
Just flash my kernel, then look at the directory layout and scripts, and you can probably figure out all of your todos easily.. or even easier i suppose i could send you just the initramfs to look at..
Click to expand...
Click to collapse
I have been and it has helped a lot... I've mainly looked at the init.rc trying to figure out how to fix custom boot animation.
xx5352 said:
Hello, I was wondering if I an able to use this kernel with the rom I'm using. http://forum.xda-developers.com/showthread.php?t=1242486
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
I'm not sure...but as soon as the lockscreen mod comes out for eh17 I'll make one based off of the eh17 kernel.
ugothakd said:
I have been and it has helped a lot... I've mainly looked at the init.rc trying to figure out how to fix custom boot animation.
I'm not sure...but as soon as the lockscreen mod comes out for eh17 I'll make one based off of the eh17 kernel.
Click to expand...
Click to collapse
Awesome thanks! I'll keep a lookout. And thank for the quick responses!
Sent from the HTC Evo: Ophelia running MikG 2.5!
bootanimation is trickier than froyo, but not hard.. comment out the samsungani service, and add a service for bootanimation like in my init.rc
then the last line you need to close the bootanimation service
chris41g said:
bootanimation is trickier than froyo, but not hard.. comment out the samsungani service, and add a service for bootanimation like in my init.rc
then the last line you need to close the bootanimation service
Click to expand...
Click to collapse
I had that...and it didn't work.
I feel stupid..renamed to sanim.zip and worked perfectly.
yea in eh17 i made a symlink from bootanimation.zip to sanim.zip
chris41g said:
yea in eh17 i made a symlink from bootanimation.zip to sanim.zip
Click to expand...
Click to collapse
I went ahead and put in a script that runs at boot that copies bootanimation.zip to sanim.zip, then deleted bootanimation.zip. Don't exactly favor symlinks over real files..

[i9001][MODULES]Tun.ko{VPN},CIFS.ko,PPP MOdules

If u dont know what CIFS and TUN are,u probably don't need it
Instructions:
1)Extract the modules inside the zip to,say, /system/lib/modules
2)Fire up terminal and type this command
Code:
insmod /system/lib/modules/tun.ko
insmod /system/lib/modules/cifs.ko
Same procedure to load PPP Modules,just change the names
DONE!
Note:If u use above method ,u need to execute above commands on every reboot!
if u want to avoid that hassle,use an app on XDA called "MODULE LOADER"(Google it/Use Search) and bamm..done!
Regards
How did you compile those libs?
Would it be possible to port the liblights for BLN mod?
I tried to load the SII GT9100 libs and the original GT9000 ones but they don't work... or do I need a customized kernel for those?
wintel_mac said:
How did you compile those libs?
Would it be possible to port the liblights for BLN mod?
I tried to load the SII GT9100 libs and the original GT9000 ones but they don't work... or do I need a customized kernel for those?
Click to expand...
Click to collapse
These aren't libs,they are loadable modules compiled from source
manveru0 already tried BLN,he said that it freezes the phone..
try to load DHD liblights...who knows they might work!..of course with some changes in kernel(add bln.c).....pm me
i saw u posted in Droidzone's thread, so just to give u a lil tip, if u have any questions about kernels there is one guy to ask, snq- , he is the God of all kernel devs, i've had my desire for over a year and i saw most of his work, trust me the whole HTC community (not just the desire section) knows who he is
Hei,
what do i need to compile these?
i'm comfortable using ubuntu linux and compiling, but i need to compile the tun.ko for a honeycomb tablet.
are the general android sources from google enough or do i need device specific?
Can you give me short a step by step? (just the steps and sources, i have already compiled modules on my own for ubuntu)
thx in advance
is this tun.ko module works with openvpn? because i saw some blogs posted about this stuff and for tun.ko module to be worked with openvpn, it must be the same with the kernel....is this correct? please help me with this stuff...really appreciated it!
-corrupt1234
@corrupt:yes,this tun.ko is for openVPN
@cheefy:i will pm u when i come back from school
@rayiskon:i know that guy...he overclocked a phone w/o the kernel source.epic!
sakindia123 said:
@rayiskon:i know that guy...he overclocked a phone w/o the kernel source.epic!
EDIT:I will make a nice little 1-min video to compile modules!
Click to expand...
Click to collapse
It wasn't just about overclocking, he added modules, managed to fix the compass with a hack (bear in mind that even HTC couldn't release a fixed compass version), fixed 720p recording, all that on a closed source kernel . he also managed to get the sense 3.0 lockscreen (ring + 4 icons) to work on desire. not to mention his earlier work with extended power menu, battery circle icons etc...
Sent from my GT-I9001 using xda premium
sakindia123 said:
@corrupt:yes,this tun.ko is for openVPN
@cheefy:i will pm u when i come back from school
@rayiskon:i know that guy...he overclocked a phone w/o the kernel source.epic!
EDIT:I will make a nice little 1-min video to compile modules!
Click to expand...
Click to collapse
Owh, i see...so what if i use that tun.ko with your cranium rc5 rom? will it work on openvpn?
Thanks in advance.
-corrupt1234
@Corrupt Yes it should work!
Updated With PPP Modules! Kindly test if possible
sakindia123 said:
@Corrupt Yes it should work!
Click to expand...
Click to collapse
Hi again, dude, one question...is your tun.ko works with any stock roms like zksp and etc? i haven't tried with your ROM though, need to test with stocks first...i'll be happy if it works!!!!
corrupt1234 said:
Hi again, dude, one question...is your tun.ko works with any stock roms like zksp and etc? i haven't tried with your ROM though, need to test with stocks first...i'll be happy if it works!!!!
Click to expand...
Click to collapse
Of course it does
Ok, so i've downloaded your tun.ko and after hours setting up with openvpn....it's finally working. However, it doesn't connect to the Internet as it should be..so i've downloaded another openvpn installer by sasha from the market and guess what, it says tun/tap found but not working but everything else is fine. Sakindia, can you post like tutorial for newbie on how to put your tun.ko and do i have to put that tun.ko together with ciff.ko together? Thank in advance
They are independent of each other.And i think the instructions are pretty easy!
hi.
where is /system/modules ? in phone?
can i use adb for this ?
thx.
kamran k said:
hi.
where is /system/modules ? in phone?
can i use adb for this ?
thx.
Click to expand...
Click to collapse
yes and yes
Hi.
I can't find /system/modules/ in my phone!
I use with script manager. Do i make it and copy?
please help me, thanks
kamran k said:
Hi.
I can't find /system/modules/ in my phone!
I use with script manager. Do i make it and copy?
please help me, thanks
Click to expand...
Click to collapse
Well,i forgot!
U have to place them in /system/lib/modules
My bad!
I do It. but this modules not work, VPN is unable now.
my rom is [KPS]★Cranium RC6 Update #1

[MOD/IMPR.] Sense 4 UserFriendly Pack! || ALL IN ONE FOR THE FASTEST SENSE 4.0 ||

RCMix / XxXPachaXxX
This is a flashable pack created for the setup of all sense 4 roms for a perfect user friendly experience. It works on speed/smoothness/touch-resposiveness improvements and will give you a more "touchable" touch interface and general phone.
See the content of the pack before flash!
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Content:
Ken's Kernel (klquicksall RCMix v5.5)
init.d script for sheduler, RAM and kernel setup
TakeCONTROL MOD, special version for this pack!
Qualcomm Init scripts for boot setups (tnx codeaurora)
EGL Libs with correct configuration (tnx codeaurora)
Cy8c touchscreen driver settings
General synaptic driver settings perfectly fitted to sensation touch panel
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Notes:
The major parts of the code are copyright of CodeAurora - 2010/2011/2012
Standards touch calibration values are derived from empirical measurements to fit standars; Calibration values for pyramid are derived from personal work on physical measurements with a raw width field of 1 unit corresponding physically to 17mm of linear size on the touchscreen.
To grant a more userfriendly touch experiance i changed the normal pressure scale values. The purpose is to generate a valid touch signal also on a light touch. The result is the perception of a lighter and soft touch in the general phone use.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Pack DOWNLOAD (Dev-Host) : LINK
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Remember: W the community!
Thx )
Sent from my HTC Sensation using xda premium
give a try tomorrow
THX XxXPachaXxX ..
To download, testing,,,
thanks .. now download and give it a try
Maybe it would be good to write in the OP, that ppl that already flashed a current version of bricked kernel have to put mpdecision and thermald back in place, else they would not have any core and thermal management (the compatibility.sh adresses only renamed binaries ...).
Additionally i noticed that in your "init.qcom.mdm_links.sh" there is a line: "mount -t ext4 -o remount,ro,barrier=0 /dev/block/mmcblk0p12 /system". In this situation it won´t get applied but the system partition on pyramid is mmcblk0p22 (not 12), only as information.
I would like to know which changes are meant by "boot setup" and which exact version of EGL libs are included here.
But the reason i actually looked at the package is because of the touch screen configuration, in which file exactly the values are included? I really would like to change them by myself!
In my understanding it doesn't do sweep to wake?
hlenforcer said:
Maybe it would be good to write in the OP, that ppl that already flashed a current version of bricked kernel have to put mpdecision and thermald back in place, else they would not have any core and thermal management (the compatibility.sh adresses only renamed binaries ...).
Additionally i noticed that in your "init.qcom.mdm_links.sh" there is a line: "mount -t ext4 -o remount,ro,barrier=0 /dev/block/mmcblk0p12 /system". In this situation it won´t get applied but the system partition on pyramid is mmcblk0p22 (not 12), only as information.
I would like to know which changes are meant by "boot setup" and which exact version of EGL libs are included here.
But the reason i actually looked at the package is because of the touch screen configuration, in which file exactly the values are included? I really would like to change them by myself!
Click to expand...
Click to collapse
1) the pack automatically restore the mpdecision and thermald daemons
2) the qcom mdm don't refers to system partition!
3) for the EGL version, it's different in the files, you can use opengl extension app in the market to check the version of the lib that u are talking
4) all the touch and iput settings files are in the usr directory
calyxim said:
In my understanding it doesn't do sweep to wake?
Click to expand...
Click to collapse
s2w is included in rcmix kernel
Let's improve our Sensation.
Thx bro
Downloading now
Sent from my HTC Sensation 4G using xda premium
Testing now!
Flashed it after a clean installation of Pkmn
Feedback later
MarciWoi said:
Testing now!
Flashed it after a clean installation of Pkmn
Feedback later
Click to expand...
Click to collapse
Do you have s2w by default or is this using Aroma and you can choose?
XxXPachaXxX said:
1) the pack automatically restore the mpdecision and thermald daemons
Click to expand...
Click to collapse
ah ok that was my fault, i thought the bricked installer script would delete them totally instead of renaming them, they are missing completely only on aosp roms ...
2) the qcom mdm don't refers to system partition!
Click to expand...
Click to collapse
yeah but somehow irritating that it gets mounted to a directory named system ...
3) for the EGL version, it's different in the files, you can use opengl extension app in the market to check the version of the lib that u are talking
Click to expand...
Click to collapse
i know but i thought you could tell me by heart if it is 213, 218 or something newer
4) all the touch and iput settings files are in the usr directory
Click to expand...
Click to collapse
ah cool, did not look into the file cause i thought it would be binaries hehe
so thx for your fast response! :cyclops:
btw, i bet in the next 2 pages there will appear ppl ranting about the unavailability of the information where to find kernel source (the gpl thing), only a hint after watching how it goes at xda hehe
dwcasey said:
Do you have s2w by default or is this using Aroma and you can choose?
Click to expand...
Click to collapse
I think it´s default :good:
hlenforcer said:
btw, i bet in the next 2 pages there will appear ppl ranting about the unavailability of the information where to find kernel source (the gpl thing), only a hint after watching how it goes at xda hehe
Click to expand...
Click to collapse
+1
So little information. As I can understand from the first line - there is a whole kernel in this package? Where I can find information on this kernel? What is the battery consumption after this package installation?
hlenforcer said:
ah ok that was my fault, i thought the bricked installer script would delete them totally instead of renaming them, they are missing completely only on aosp roms ...
yeah but somehow irritating that it gets mounted to a directory named system ...
i know but i thought you could tell me by heart if it is 213, 218 or something newer
ah cool, did not look into the file cause i thought it would be binaries hehe
so thx for your fast response! :cyclops:
btw, i bet in the next 2 pages there will appear ppl ranting about the unavailability of the information where to find kernel source (the gpl thing), only a hint after watching how it goes at xda hehe
Click to expand...
Click to collapse
No problem with kernel because it's the ken's rcmix kernel v5.5
MarciWoi said:
I think it´s default :good:
Click to expand...
Click to collapse
yes, default
Zer0r said:
+1
So little information. As I can understand from the first line - there is a whole kernel in this package? Where I can find information on this kernel? What is the battery consumption after this package installation?
Click to expand...
Click to collapse
The kernel is RCMix v5.5, for more information you can refer to my thread on xda or the klquicksall's thread on acsyndicate
+1 sounds good and all...really thanks OP for your contribution....but I do not want to go thru renaming mpdecision and thermald as I have NO clue how to do so...MOD sounds AWESOME..I however lack the knowledge to use it limits me
Sent from my HTC Sensation 4G using xda premium
Any feedback? i'm doing other tests and if i will get better results i will update the pack
Would flashing the newest Faux kernel after installing this defeat the porpuse of this mod ?
I would rather not have S2W.
Thanks.

[Tweak] [script] [init.d] Plasma tweak! Boost your phone

This is my first contribution to galaxy y forum.I hope you like it
Indroducing you my first script "plasma tweak" to boost your proccessor and decreace lag as possible.
This script is very simple , as I said it's my first work and I am still learning.please If you found it useless just dont try it and dont flame me. JUST DONT TRY.
Here we go,
Requirments :
-rooted galaxy y
-busybox installed
-a kernel with init.d support
Click to expand...
Click to collapse
Installation:
-download the script
-copy to /system/etc/init.d
-set permission to rw xr x
-enjoy
Click to expand...
Click to collapse
changelog:
v0.1 : initial release
Click to expand...
Click to collapse
v0.2 :
-minor change in cpu tweak
-added internet tweak
-added SD tweak
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Download :
v0.1 https://db.tt/8P4Ozt5a
v0.2 https://www.dropbox.com/s/jt9ahuvd6nte2go/01PlasmaTweak
Click to expand...
Click to collapse
credits :
me
lucius.zen for his guide
Click to expand...
Click to collapse
press thanks if you liked my work
you should add the info that we must delete the "txt" ending of the filename,otherwise it dont work.
Nice start! As -CALIBAN666- said, you will have to remove the ".txt" extension. This script changes your CPU frequency and governor.
In your script you will only need one
Code:
#!/system/bin/sh
I suggest you to keep the Min. frequency at 312MHz or 156Mhz. Yes, keeping the Min. frequency at 832Mhz will improve your devices' performance at the cost of battery life.
Code:
echo "832000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo "312000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
or
Code:
echo "156000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
If you need help with scripts just PM me, I'll be happy to help.
Ah nice try!
Best of luck mate!
Sent from my GT-S5360
-CALIBAN666- said:
you should add the info that we must delete the "txt" ending of the filename,otherwise it dont work.
Click to expand...
Click to collapse
I added that, thanks for advice
Sent from my GT-S5360 using Tapatalk 2
fifa2151 said:
Ah nice try!
Best of luck mate!
Sent from my GT-S5360
Click to expand...
Click to collapse
Thanks for encouragment
Ne.xt said:
Nice start! As -CALIBAN666- said, you will have to remove the ".txt" extension. This script changes your CPU frequency and governor.
In your script you will only need one
Code:
#!/system/bin/sh
I suggest you to keep the Min. frequency at 312MHz or 156Mhz. Yes, keeping the Min. frequency at 832Mhz will improve your devices' performance at the cost of battery life.
Code:
echo "832000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo "312000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
or
Code:
echo "156000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
If you need help with scripts just PM me, I'll be happy to help.
Click to expand...
Click to collapse
I will try this when I am back from school hope me luck with the exam
Sent from my GT-S5360 using Tapatalk 2
i try it on my lg overclocked to 1.1 ghz,seems very cool because its very tiny.:good:
-CALIBAN666- said:
i try it on my lg overclocked to 1.1 ghz,seems very cool because its very tiny.:good:
Click to expand...
Click to collapse
Good
Sent from my GT-S5360 using Tapatalk 2

Categories

Resources