[KERNEL] Sense 2.6.32.24+BFS+HAVS+USB HOST+UVOC+CIFS+NFS+NTFS+TUN - Desire Android Development

Hello,
I have compiled my own version of the bravo froyo kernel, I have mixed the work of kingklick for the incredible and the work of snq- as the 2.2b-sdfix kernel, changing some defaults voltages and add the Sven Killg's usb-host support. I have also added NFS, tun/openvpn, NTFS, UTF-8 and some usb devices I need. This kernel supports HAVS, that is Hybrid AVS that adjust the CPU voltage based the hardware feedback. In my desire is working quite fine, have no time for battery testing but it seems good. More feedback is welcome!
I am still waiting for an USB OTG Cable, so I cannot test the USB-Host part, it should work without problem following the instructions at http://sven.killig.de/android/N1/2.2/usb_host/ but if you find any problem, report it here.
Changelog:
-gg1:
GPU Fix from snq- and change versioning scheme.
v0.3:
Major change, based on official bravo and mix several patches from different sources. Now the kernel version is 2.6.32.24 and includes lots of changes. BFS, HAVS and more from the kingklick incredible kernel.
v0.2:
Remove usb sound support and add tun.ko for openvpn.
v0.1
I have put back IPv6 support, only 100Kb more and Google Googles works again :-D
Of course thanks to snq-, kingklick, LeeDroid, Sven, Koush and everybody here doing such a great job!

Next step should be a kind of toggle for the usb host mode, something userfriendly...
Any chance for something like this?

Diamondback2010 said:
Next step should be a kind of toggle for the usb host mode, something userfriendly...
Any chance for something like this?
Click to expand...
Click to collapse
The problem is that as far as I know once you have the ehci-ucd module loaded the usb mode change, even if you unload it. Doing an app to load unload all the usb-modules should be trivial, once I get the usb-otg cable I'll try it. Maybe I will code some kind of no-gui just a menu switch-on switch-off app, but doing it blindly would not be very easy :-D
Regards,

with ipv6 removed, google goggles will no longer work. any reason why you removed it? just curious.

Does it work.in hd Rom ?

I flashed it, and it works fine (the usual stuff, that is).
I also went to the linked website, and followed the instructions (though some of it made not much sense).
Then i plugged it into my computer over usb and selected mount as storage, and it mounted - so it didnt work?
Which instructions are the ones we need to follow?
Josh.

w.0.o.t said:
with ipv6 removed, google goggles will no longer work. any reason why you removed it? just curious.
Click to expand...
Click to collapse
Trying to save some bytes, I've put it back as it is only 100Kb more :-D

fllash said:
I flashed it, and it works fine (the usual stuff, that is).
I also went to the linked website, and followed the instructions (though some of it made not much sense).
Then i plugged it into my computer over usb and selected mount as storage, and it mounted - so it didnt work?
Which instructions are the ones we need to follow?
Josh.
Click to expand...
Click to collapse
The instructions about usb host-mode you need a OTG cable and a powered usb hub and then using conectbot or adb through wireless you need to manually load the needed modules, they are all at /system/lib/modules. The minimum is usbcore.ko and ehci-hcd.ko but you will need others to do usefull things. I think that we will need to kill some htc process because it seems that it is accessing the usb in slave mode. Once I'll get the OTG cable I'll try to get further, but right now the usb-host is just supported in the kernel, nothing else.
Regards

kahuna0k said:
Trying to save some bytes, I've put it back as it is only 100Kb more :-D
Click to expand...
Click to collapse
thanks very much. i'm flashing the new one in a minute.

Hy , thanks for u'r work, one more thing can u add support for open-vpn? i flashed u'r kernel but openvpn aint working anymore
thanks

tun module not work,please check

miyu-hitori said:
tun module not work,please check
Click to expand...
Click to collapse
littlej said:
Hy , thanks for u'r work, one more thing can u add support for open-vpn? i flashed u'r kernel but openvpn aint working anymore
thanks
Click to expand...
Click to collapse
new version with tun.ko included

Thank you for very good kernel, but WiFi n?

New version including the snq- gpu fix

kahuna0k said:
New version including the snq- gpu fix
Click to expand...
Click to collapse
so this has BFS scheduler? and does it include the SD read ahead fix?

Hmmm...
I've flashed the kernel but I got an error message when I tried to execute insmod ... ehci-hcd.ko, for the usbcore.ko was ok...
The error says something like "Device or resource busy".
Using Modaco R9 with Sub501 mods (CIFS, Undervolt, CFQ IO Scheduler, Custom governor), baked directly from the Modaco online kitchen.
I really need a help to solve this.
Thank you all!

a question: is bluetooth hid working with this kernel ??

Thanks for this, I LOVE a good kernel for my phone! This feels really nice, not sure if it'll beat out Ziggy's as my favourite but after a few hours I'm loving it!
I'll check back with battery life stats after a day at work

Skilling said:
Hmmm...
I've flashed the kernel but I got an error message when I tried to execute insmod ... ehci-hcd.ko, for the usbcore.ko was ok...
The error says something like "Device or resource busy".
Using Modaco R9 with Sub501 mods (CIFS, Undervolt, CFQ IO Scheduler, Custom governor), baked directly from the Modaco online kitchen.
I really need a help to solve this.
Thank you all!
Click to expand...
Click to collapse
I have the same problem. Please help!!!

Related

[KERNEL] corvusKernel |.32|CIFS|TUN|EXT4|SLAB|CFQ|WiFi|NTFS|HOST/SLAVE|PL2303|XPAD

Hi all.
I make a new kernel based in Buzz Vega, but with some changes.
1) All modules (but wifi) are now integrated into kernel, so no more insmod modules.
2) Added support for PL2303 and FDTI usb to serial chips (Usb Gps, usb-serial cable, etc.)
3) Added support for Xbox 360 PAD (wired or wireless with pc adaptor)
Notes:
1) To boot in host mode, press on, once you have black iluminated, release on button and press back until boot finished.
2) Usb Gps and Xbox pad are detected by kernel but not useable in android by now. I'm working on it.
3) To mount CIFS shares, you can use Mount Manager or Cifs Manager from market
4) To use NTFS (and possibly EXT4) you must mount manually. I'm working in do it automatically. Using ConnectBot:
Code:
$su
#busybox mount /dev/block/sda1 /mnt/usbdisk
And you get yout memory at /mnt/usbdisk and can access it with any file manager.
INSTALL:
This must be installed using CWM, and use this zip as update. MAKE ALLWAYS A NANDROID BACKUP BEFORE
If you was using Buzz Vega, can delete .ko files from /system/lib/modules, because they are not used (now integrated into kernel).
http://dl.dropbox.com/u/13580211/corvusKernel_01.zip
Thanks Buzz, Paul "Modaco", Koush, and all great helping people at #tegratab.
Corvus.
PS: If you prefer speak spanish with me, please PM.
Awesome work with the Xbox360 controller. What kernel module did you use to achieve that? Just getting in to kernel stuff with the Vega so please excuse if my question is a little basic.
You can search for Xpad in .config or advent_vega_defaultconfig.
corvus said:
...I make a new kernel based in Buzz Vega...
Click to expand...
Click to collapse
Hey corvus,
I just wanted to say thanks! Your kernel is running great on my POV mobii and I don't experience the root- or bsod-problems I had with buzz-vega kernel. Also the cifs integration works fine.
greetings...
Great to see developers starting to work on the Advent.
Installed this kernel on my Advent Vega. It seems the device came to live. Performance is much better now. Suspending and resuming now works better. Wifi resuming works great. Very nice job with this kernel, very nice indeed
what adapter do you use? using xbox remote would be amazing
None by now... they are detected by kernel, but not used by android... working on it.
Corvus.
i thaught as much. good luck with that using an xbox remote on a ps1 emulator would rock!
hi! what about the kernel source + config?
like to add dvb-t and bluetooth hid (doesn't detect that my bt keyboard is a keyboard..)
and ive got some strange issues with the orientation sensor, seems like its shifted to the left so when i want to get into landscape mode i must rotate it much more to the right side (so i used the lock that i can work with that). No issue with CM7.
EDIT: ive got an xbox 360 wireless controller for windows (with the usb reciever), do i need to have some external apps or something to use this?
corvus said:
Hi all.
I make a new kernel based in Buzz Vega, but with some changes.
1) All modules (but wifi) are now integrated into kernel, so no more insmod modules.
2) Added support for PL2303 and FDTI usb to serial chips (Usb Gps, usb-serial cable, etc.)
3) Added support for Xbox 360 PAD (wired or wireless with pc adaptor)
Notes:
1) To boot in host mode, press on, once you have black iluminated, release on button and press back until boot finished.
2) Usb Gps and Xbox pad are detected by kernel but not useable in android by now. I'm working on it.
3) To mount CIFS shares, you can use Mount Manager or Cifs Manager from market
4) To use NTFS (and possibly EXT4) you must mount manually. I'm working in do it automatically. Using ConnectBot:
Code:
$su
#busybox mount /dev/block/sda1 /mnt/usbdisk
And you get yout memory at /mnt/usbdisk and can access it with any file manager.
INSTALL:
This must be installed using CWM, and use this zip as update. MAKE ALLWAYS A NANDROID BACKUP BEFORE
If you was using Buzz Vega, can delete .ko files from /system/lib/modules, because they are not used (now integrated into kernel).
http://dl.dropbox.com/u/13580211/corvusKernel_01.zip
Thanks Buzz, Paul "Modaco", Koush, and all great helping people at #tegratab.
Corvus.
PS: If you prefer speak spanish with me, please PM.
Click to expand...
Click to collapse
nobody in here?
Sorry by the delay.
Sources and default config are here: https://github.com/BuzzBumbleBee/android_kernel_advent_vega/
For dvb-t you will need some kind of program to reproduce video...
Corvus.
No problem
There is an DVB project for Archos devices, maybe this is a start..
http://code.google.com/p/archos-gen8-dvb/
EDIT: Maybe i got some tomatoes on my eyes, but i dont find the config file
corvus said:
Sorry by the delay.
Sources and default config are here: https://github.com/BuzzBumbleBee/android_kernel_advent_vega/
For dvb-t you will need some kind of program to reproduce video...
Corvus.
Click to expand...
Click to collapse
brunsbanjo said:
No problem
There is an DVB project for Archos devices, maybe this is a start..
http://code.google.com/p/archos-gen8-dvb/
EDIT: Maybe i got some tomatoes on my eyes, but i dont find the config file
Click to expand...
Click to collapse
search for defconfig_adventvega or similar.
do you know where the kernel looks for firmware files?
/lib/firmware no luck
/lib/firmware/[KERNELVERSION]/ no luck
...
brunsbanjo said:
do you know where the kernel looks for firmware files?
/lib/firmware no luck
/lib/firmware/[KERNELVERSION]/ no luck
...
Click to expand...
Click to collapse
i think that you refer to wifi firmware...
I found this problem too...
You must edit wifi sources (/drivers/networking/wireless/ath/ath6k/.../ar6000.c, if i remember correclty). Search for firmware and change all paths to /system/lib/hw/wlan (if i remember correctly, search in this path for files).
you can recompile only wifi module, not need to recompile all kernel.
If you have any other problems with firmware, you need to change sources, because /lib/firmware is a bad place, because /lib is not created. Is better to point to /system/lib.
Corvus.

[2ndboot][04-10-2012] Custom kernel... this time with radio

It seems that finally I was able to boot custom kernel with working radio
It's not very stable yet(it stops/crashes at bootanimation quite frequently), and is quite laggy just after boot, but once it boots it seems to be almost usable. Wifi works, sdcard also. Haven't checked bluetooth.
Credits for this goes to:
* milestone1 devs... for sharing 2ndboot source code and providing so much info regarding milestone1/2 phones
* Motorola ... for providing source code(not fully working, but was a great help anyway) for enabling UART over micro usb for debugging purposes(without this I woudn't make any progress)
* tezet... for making quite good roms used by 2ndboot
If you wish to try it(BEWARE THAT IT MIGHT BRICK YOUR PHONE, SO DON'T SAY THAT I HAVEN'T WARNED YOU ), then do as follows:
1. Install tezet's JB10(if you don't have one already).
2. extract 2ndboot.tar(attached) into /data folder, check that /data/2ndboot/hbootuser file has execute permissions.
3. overwrite /system/bootmenu/script/2nd-boot.sh(DON'T TOUCH 2nd-init.sh!!!) with the one from tar(2nd-boot.sh.tar) and check it has execute permissions.
4. reboot into bootmenu
5. change the default boot method to 2ndboot
6. Restart your phone. Most likely it will crash few times at bootlogo, but be patiant, it finally should boot
7. If you wish to get back to 2nd-init, then enter bootmenu again and change default boot method back to 2nd-init, or manually boot 2nd-init
Click to expand...
Click to collapse
Please let me know if someone actually run it and was able to boot(so that to find out if I haven't forgot to include some more files(see changelog for 03.10.2012)
KNOWN LIMITATIONS
Boots very sloooowly
Its' quite laggy just after boot.
GPS does not seem to work yet
Click to expand...
Click to collapse
CHANGELOG
01.10.2012 - corrected battery problems(thanks to Quarx and kabaldan)
03.10.2012 - corrected ramdisk(previous one was calling some script which I forgot to attach to this post, new one has this script inside), so that now you should be able to boot it; updated instructions how to install it; enabled TLS in the kernel(thanks to kabaldan)
04.10.2012 - touch driver updated, now should work with lastest JB(thanks to Eleanor_Ir, Quarx), adb fixed(I hope, stability fix(thanks to Quarx)
Click to expand...
Click to collapse
NOTES for devs
In milestone2(as probably in many others UMTS phones made by Motorola) the BP is somehow very sensible and does not like to be disconnected/reenumerated. The main goal of this 2ndboot is then to not allow it to be disconnected. To do this, in the new kernel I've skipped a few resets(EHCI, TLL, individual port resets), and instead of enumerating BP, I've used the hardcoded usb device address(which for milestone2 seems to be equal to 2).
I attach patch(radio.patch) with the changes I've done to the kernel sources from here:
http://sourceforge.net/projects/milestone.motorola/files/MILS2_U6_4.1-22/
This seems to work(sometime) for both milestone2 and defy.
For other motorola phones:
1. First of all, check with lsusb what's the address and vendor/product id of your BP(for milestone2 it's 0x22b8 and 0x40e6).
2. If the BP usb device address is 2, then just apply the patch(probably it will need some small modifications), and check if it works.
3. If the BP usb device address is not 2, then edit usb/core/hub.c function hub_port_init(providing that it's there for your kernel), and replace 0x02 in the place where usb_control_msg to get descriptors is sent with address of your device
If it does not work, then you can try the following:
Create a procedure to send usb GetDescriptors request using omap3 ehci registers, and call it at different boot stages/usb initialization stages to find out how long the radio remains attached, and comment/change appropriate fragments of kernel code, to preserve this until usb port is initialized. If you wish, I can share the procedure I've written(in the patch file this is that czecho_get_descriptors called in many places) for milestone2, but it probably would need some modification to work with your device).
2ndboot module sources are here:
https://github.com/czechop/2ndboot
Wow, thats perfect This could bring M2 development to another level.
Holding thumbs up and keep it up!
Great news! Thx for your work. I've just bought an OTG cable to start playing with kernel stuff and here's a surprise
Fabulous! That means it starts a new era in the development of our MS2 Roms!
Wonderful job man
Brilliant
Sent from my A953 using Tapatalk 2
I'm gonna try on the Motorola Bravo as soon as PA is done uploading. Hopefully this'll work on Froyo kernels as well :fingers-crossed:
What kernel are you using? A recompiled MS2 GB kernel unmodified?
Awesome job man. This could possibly be the start of a new generation of roms for our common platform if this works on other similar phones like the Defy\Bravo. Only time will tell .
Well good work OP, can this be implemented on other Moto phones like Defy?
Great work !
I see that your work is based on Moto's Linux kernel (2.6 branch as far as I remember...)
Any hope of using another kernel source one day ?
Great News!, Thanks
Waiting for source code
Wow! Tezet and Quarx on the same thread?! I feel like up on the Mount Olypmus lol
Great job, man!...been following your work from General section.
P.S. add Kabaldan to the list Clash of the Moto Titans
skeevy420 said:
I'm gonna try on the Motorola Bravo as soon as PA is done uploading. Hopefully this'll work on Froyo kernels as well :fingers-crossed:
What kernel are you using? A recompiled MS2 GB kernel unmodified?
Awesome job man. This could possibly be the start of a new generation of roms for our common platform if this works on other similar phones like the Defy\Bravo. Only time will tell .
Click to expand...
Click to collapse
Yes, I use MS2 GB U6_4.1-22(http://sourceforge.net/projects/milestone.motorola/files/MILS2_U6_4.1-22/) kernel... but with modified usb host driver.
nidhish91 said:
Well good work OP, can this be implemented on other Moto phones like Defy?
Click to expand...
Click to collapse
I think it can be.
With defy it probably should be easy, as I've seen there was 2ndboot(without radio) already build for it, so most likely only new kernel would need some tuning
czechop said:
I think it can be.
With defy it probably should be easy, as I've seen there was 2ndboot(without radio) already build for it, so most likely only new kernel would need some tuning
Click to expand...
Click to collapse
XT720 users also waiting for instructions for new kernel tuning, cause we have working 2ndboot without radio. =)
boorce.com said:
Great work !
I see that your work is based on Moto's Linux kernel (2.6 branch as far as I remember...)
Any hope of using another kernel source one day ?
Click to expand...
Click to collapse
It should be easy to apply some(perhaps most) 2.6.32 upstream patches to the motorola kernel sources.
Don't know however how difficult it would be to start from another kernel version. Don't know also how motorola proprietary modules/libs would behave with newever kernel version. But, as they say, impossible is nothing
czechop said:
I think it can be.
With defy it probably should be easy, as I've seen there was 2ndboot(without radio) already build for it, so most likely only new kernel would need some tuning
Click to expand...
Click to collapse
In kernel only modified usb driver or some more changes for boot?
fjfalcon said:
XT720 users also waiting for instructions for new kernel tuning, cause we have working 2ndboot without radio. =)
Click to expand...
Click to collapse
Will share source code probably early next week(currently am at work, and during weekend most likely won't be sober enough
Quarx said:
In kernel only modified usb driver or some more changes for boot?
Click to expand...
Click to collapse
In 2ndboot module I've added code to disable lcd before starting new kernel(otherwise new kernel could not initialise properly dss), and in new kernel I've only modified usb driver(perhaps more things will need to be modified, as I'm facing problem with BATTD sayins something about power ic fail, BTW, does someone know what that could mean?), so that it skips restaring EHCI, TLL and don't start enumeration, but just used the old usb device address(assigned by the original kernel), which for M2 is always 2(at least during my tests).
I2c Fail can be caused by wrong permissions for /dev/cpp*
I tried your prebuilt binaries on defy http://pastebin.com/jKjQ2ykn
Black screen + buttons lights and reboot after ~20sec
Quarx said:
I2c Fail can be caused by wrong permissions for /dev/cpp*
I tried your prebuilt binaries on defy http://pastebin.com/jKjQ2ykn
Black screen + buttons lights and reboot after ~20sec
Click to expand...
Click to collapse
Thanks for hint regarding permissions...will check that
Regarding prebuilt binaries on defy, hard to say what's wrong(not sure how much the phones differ). Anyway, you probably would need to use devtree from your device. Also you could unpack ramdisk, and check the init.*.rc scripts if they are ok(e.g. I mount system partion using p21, not sure if that's the same for defy, and staff like that).

Tubuntu - questions and issues

This should probably be posted here, but I sadly don't have the required 10 posts to do so.
There's one issue that I noticed that is actual in 0.2.2alpha. When you choose to flash Jhinta 3.1x kernel and not 2.6x kernel, it is still linux.img that is being flashed, instead of jlinux.img.
Also there's one question (or rather a feature request). Once you have dual boot up and running it would be nice to be able to flash linux rootfs only (ubuntu.img) without changing the partition table and loosing current android install. You can't currently do that with Tubuntu, right?
Best regards,
Alex
Serkenar said:
This should probably be posted here, but I sadly don't have the required 10 posts to do so.
There's one issue that I noticed that is actual in 0.2.2alpha. When you choose to flash Jhinta 3.1x kernel and not 2.6x kernel, it is still linux.img that is being flashed, instead of jlinux.img.
Also there's one question (or rather a feature request). Once you have dual boot up and running it would be nice to be able to flash linux rootfs only (ubuntu.img) without changing the partition table and loosing current android install. You can't currently do that with Tubuntu, right?
Best regards,
Alex
Click to expand...
Click to collapse
hi!
that will be on my next release cause i flash my tubuntu image so much. i'm trying to push out a backup menu along with that new rootfs option
x3maniac said:
hi!
that will be on my next release cause i flash my tubuntu image so much. i'm trying to push out a backup menu along with that new rootfs option
Click to expand...
Click to collapse
Hi,
I'm really glad to hear that! Looking forward to the next Tubuntu release
I'd also like to ask to include cifs kernel module in your kernel build.
Thank you
Serkenar said:
Hi,
I'm really glad to hear that! Looking forward to the next Tubuntu release
I'd also like to ask to include cifs kernel module in your kernel build.
Thank you
Click to expand...
Click to collapse
new version is up with Flash rootfs only :laugh:
future release of kernel i will put cifs. right now i'm trying to get zram and overclocking right 1st.
lol i feel like a one man operation. make the program to flash ubuntu images, didn't find one i liked. so i went ahead and made one. feel that the kernel is missing too much stuff. and went ahead and i'm making that now lol... am i missing anything else i need to learn/do? hahahaha
but i'm loving it!
thanks for the support
x3maniac said:
new version is up with Flash rootfs only :laugh:
future release of kernel i will put cifs. right now i'm trying to get zram and overclocking right 1st.
lol i feel like a one man operation. make the program to flash ubuntu images, didn't find one i liked. so i went ahead and made one. feel that the kernel is missing too much stuff. and went ahead and i'm making that now lol... am i missing anything else i need to learn/do? hahahaha
but i'm loving it!
thanks for the support
Click to expand...
Click to collapse
Thank you for your effort
Speaking about your own kernel, I tried compiling one from Jhinta source, but I received odd errors at boot time. First it was this kind of errors:
lists.litmus-rt.org/pipermail/litmus-dev/2012/000215.html
it was suggested there to try changing CONFIG_DEVTMPFS_MOUNT kernel config value, I did that, and then I got some other odd errors, so I gave up
Right now I have a more or less stable 12.04 kubuntu+3.10.1 jhanti kernel with hw acceleration, sound, zram (used netinstall 0.6). I'm only missing overclocking and a cifs module, that's why I tried building my own kernel, but never got it booting. I don't know any sane methods of backing up and restoring linux on tf101 (well, dd + gzip should work, but that's rather stupid), so I'm a little hesitant about flashing your lubuntu right now. I think I'll still give it a go, but before I do that, don't you know any easy way to back up my current linux install?
Thank you
Serkenar said:
Thank you for your effort
Speaking about your own kernel, I tried compiling one from Jhinta source, but I received odd errors at boot time. First it was this kind of errors:
lists.litmus-rt.org/pipermail/litmus-dev/2012/000215.html
it was suggested there to try changing CONFIG_DEVTMPFS_MOUNT kernel config value, I did that, and then I got some other odd errors, so I gave up
Right now I have a more or less stable 12.04 kubuntu+3.10.1 jhanti kernel with hw acceleration, sound, zram (used netinstall 0.6). I'm only missing overclocking and a cifs module, that's why I tried building my own kernel, but never got it booting. I don't know any sane methods of backing up and restoring linux on tf101 (well, dd + gzip should work, but that's rather stupid), so I'm a little hesitant about flashing your lubuntu right now. I think I'll still give it a go, but before I do that, don't you know any easy way to back up my current linux install?
Thank you
Click to expand...
Click to collapse
i'm now compiling from his source. for the 3.1.10 kernel i'm using. why try to reinvent the wheel? i just recompiled and added oc and cifs, i didn't run into any compile issues but i did run into boot issues so changing the kernel to compress with lzmo instead of gzip fixed it. hope that helps
Thank you for your work on this
x3maniac said:
i'm now compiling from his source. for the 3.1.10 kernel i'm using. why try to reinvent the wheel? i just recompiled and added oc and cifs, i didn't run into any compile issues but i did run into boot issues so changing the kernel to compress with lzmo instead of gzip fixed it. hope that helps
Click to expand...
Click to collapse
x3maniac I was wondering if you have ever checked out openELEC linux. They just pushed out a new version on Distrowatch and it looks like it will have support for ARM devices. It is very lightweight at 106mb and is made to run XBMC out of the box. Might be worth a try due to its size and media streaming abilities.
Thanks
thelangosta said:
x3maniac I was wondering if you have ever checked out openELEC linux. They just pushed out a new version on Distrowatch and it looks like it will have support for ARM devices. It is very lightweight at 106mb and is made to run XBMC out of the box. Might be worth a try due to its size and media streaming abilities.
Thanks
Click to expand...
Click to collapse
thanks for the info. i will look into it, i do have a arch linux version working with 3.1 which is only about 200mb.
edit:
they have a arm version 83mb! lols
Cool
x3maniac said:
thanks for the info. i will look into it, i do have a arch linux version working with 3.1 which is only about 200mb.
edit:
they have a arm version 83mb! lols
Click to expand...
Click to collapse
Wow that is small. I have seen Roms that small but never an os. Wait, is that openELEC or Arch you are talking about.
On another note if I do end up getting around to trying your method with arch which desktop would you recommend?
Thanks
thelangosta said:
Wow that is small. I have seen Roms that small but never an os. Wait, is that openELEC or Arch you are talking about.
On another note if I do end up getting around to trying your method with arch which desktop would you recommend?
Thanks
Click to expand...
Click to collapse
openelec(rasbery pi)
if you want it to look nice then enlightment e17. for a light weight DE they make it very pretty with all the effects like compiz
or lxde
x3maniac said:
i'm now compiling from his source. for the 3.1.10 kernel i'm using. why try to reinvent the wheel? i just recompiled and added oc and cifs, i didn't run into any compile issues but i did run into boot issues so changing the kernel to compress with lzmo instead of gzip fixed it. hope that helps
Click to expand...
Click to collapse
Compression was already set to lzma. I can't figure out what I was doing wrong. Yet, you're right, no point to reinvent the wheel.
I see you've recently released your Lubuntu V1.1-rc1. The specs sound great! Could you please post the rootfs download link and also post your kernel img?
Thank you for the great work you're doing!
Serkenar said:
Compression was already set to lzma. I can't figure out what I was doing wrong. Yet, you're right, no point to reinvent the wheel.
I see you've recently released your Lubuntu V1.1-rc1. The specs sound great! Could you please post the rootfs download link and also post your kernel img?
Thank you for the great work you're doing!
Click to expand...
Click to collapse
the link to image and kernel is up. http://forum.xda-developers.com/showthread.php?t=1995157
x3maniac said:
the link to image and kernel is up. http://forum.xda-developers.com/showthread.php?t=1995157
Click to expand...
Click to collapse
I gave it a go First of all, Tubuntu flashes .\images\linux.img when choosing to flash "2.6x x3maniac kernel", I assume it should flash .\images\xlinux.img
That's not a big issue, but should be fixed
A quick list of things I noticed.
1. Things that work:
-1.2 GHz OC
-Usb mouse (when plugged before system boots, otherwise not - that's due to 3.1.10 kernel, I guess)
-cifs module
-chromium
-terminal (right clicking on your tf101linux gadget -> Shortcuts -> Terminal)
-screen brightness up/down buttons. You just have to be mindful to avoid turning the screen off this way - it won't turn on afterwards and you'll have to force reboot.
-ntfs read/write
2. Things that don't work:
-touchpad
-XF86poweroff button
-System Tools -> XTerm/UXTerm
-sound: Audacious complains "ALSA error. No suitable mixer element found. snd_mixer_find_selem failed". Gnome MPlayer just won't produce any sound, and youtube html5 videos too.
-plugging in an external usb drive. It's totally ignored. A pen drive doesn't even blink, nor the drive appears in /dev it works now. It didn't during initial launch. Don't know why, but a reboot cured this.
Also, it happens quite often that system freezes for no apparent reason and only force reboot helps. It happened twice with me already, although it's been less then an hour since I flashed lubuntu.
Tell me if you need some additional info
Regards
Serkenar said:
I gave it a go First of all, Tubuntu flashes .\images\linux.img when choosing to flash "2.6x x3maniac kernel", I assume it should flash .\images\xlinux.img
That's not a big issue, but should be fixed
A quick list of things I noticed.
1. Things that work:
-1.2 GHz OC
-Usb mouse (when plugged before system boots, otherwise not - that's due to 3.1.10 kernel, I guess)
-cifs module
-chromium
-terminal (right clicking on your tf101linux gadget -> Shortcuts -> Terminal)
-screen brightness up/down buttons. You just have to be mindful to avoid turning the screen off this way - it won't turn on afterwards and you'll have to force reboot.
-ntfs read/write
2. Things that don't work:
-touchpad
-XF86poweroff button
-System Tools -> XTerm/UXTerm
-sound: Audacious complains "ALSA error. No suitable mixer element found. snd_mixer_find_selem failed". Gnome MPlayer just won't produce any sound, and youtube html5 videos too.
-plugging in an external usb drive. It's totally ignored. A pen drive doesn't even blink, nor the drive appears in /dev it works now. It didn't during initial launch. Don't know why, but a reboot cured this.
Also, it happens quite often that system freezes for no apparent reason and only force reboot helps. It happened twice with me already, although it's been less then an hour since I flashed lubuntu.
Tell me if you need some additional info
Regards
Click to expand...
Click to collapse
i love your report! keep up the good work. this helps me narrow down the problems but without a dock i can't fix some of the issues. but try this
touchpad:
edit /etc/X11/Xorg.conf
Code:
Section "InputClass"
MatchIsTouchpad "on"
Identifier "Touchpads"
Driver "mtrack"
EndSection
should fix the touchpad issue.
i will look into fixing my script for the brightness issue. located int /usr/local/bin/tfbright
what were you doing when you freeze? i don't have a dock(still waiting for it in the mail) so i don't know if it's related to that.
i've been looking at nvidia git and downloaded there source for the linux4tegra kernel. it' compiled fine but wont boot. don't know why yet
x3maniac, I know it is off topic a bit but I just wanted to mention that I appreciate your attitude towards your work and especially criticism (aka feedback) from others about your work. Reminds me of my EVO 4G days running tommytomato's classic rom. His threads were always friendly and optimistic, much like your own.
Sent from my SPH-L710 using Tapatalk 2
x3maniac said:
i love your report! keep up the good work. this helps me narrow down the problems but without a dock i can't fix some of the issues. but try this
touchpad:
edit /etc/X11/Xorg.conf
Code:
Section "InputClass"
MatchIsTouchpad "on"
Identifier "Touchpads"
Driver "mtrack"
EndSection
should fix the touchpad issue.
i will look into fixing my script for the brightness issue. located int /usr/local/bin/tfbright
what were you doing when you freeze? i don't have a dock(still waiting for it in the mail) so i don't know if it's related to that.
i've been looking at nvidia git and downloaded there source for the linux4tegra kernel. it' compiled fine but wont boot. don't know why yet
Click to expand...
Click to collapse
Strange, but there's no /etc/X11/xorg.conf
I tried creating it with `Xorg :1 -configure`, but I get "No devices to configure. Configuration failed."
I also tried creating /etc/X11/xorg.conf with the following content
Code:
Section "InputClass"
MatchIsTouchpad "on"
Identifier "Touchpads"
Driver "mtrack"
EndSection
but touchpad wont' work.
Like I said, there appears to be no apparent reason for those freezes The only things they had in common are the following:
(as far as I can remember)
-I had a cifs share mounted
-pen drive was plugged in
-chromium was opened
I understand that isn't helpful at all, but atm I can't reproduce those freezes myself. They occur kind of randomly.
I hope linux4tegra kernel does boot after all
Thank you for your work
EDIT: 30 minutes without freezes, I hope they're gone for good! :laugh:
djlenoir said:
x3maniac, I know it is off topic a bit but I just wanted to mention that I appreciate your attitude towards your work and especially criticism (aka feedback) from others about your work. Reminds me of my EVO 4G days running tommytomato's classic rom. His threads were always friendly and optimistic, much like your own.
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
+1 Totally agree
djlenoir said:
x3maniac, I know it is off topic a bit but I just wanted to mention that I appreciate your attitude towards your work and especially criticism (aka feedback) from others about your work. Reminds me of my EVO 4G days running tommytomato's classic rom. His threads were always friendly and optimistic, much like your own.
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Serkenar said:
+1 Totally agree
Click to expand...
Click to collapse
as far as i see it, you guys are helping me get a working version. user/tester are as important as the devs making them. or else dev's would be out of the job. lols that's how i see it
I let lubuntu running and it froze smth like 20 minutes ago Without me doing anything. Chromium was running, pen drive plugged in and a cifs share mounted.
I'll leave it running without a pen drive plugged in, shares mounted and chromium running to see if it freezes eventually.
Serkenar said:
I let lubuntu running and it froze smth like 20 minutes ago Without me doing anything. Chromium was running, pen drive plugged in and a cifs share mounted.
I'll leave it running without a pen drive plugged in, shares mounted and chromium running to see if it freezes eventually.
Click to expand...
Click to collapse
i'm guessing jhanti's kernel is not stable. i was starting to use it more and got a random freeze. cpu1 went to sleep and wont wake up. looking into that.. i might just take nvidia's kernel 3.1.10 and try to get that working.

[KERNEL] Chacha kernel 2.6.35.14 by Tokafondo.

Hello all. This is my own custom kernel.
I tailored it to work on stock roms.
I updated the sources (as my knowledge allows me to do it) up to 2.6.35.14.
I put there SWAP support (via a second partition on your SD card). You can enable it with Swapper2.
I also put init.d support. You *must* follow the step number 2 detailed in this guide: http://forum.xda-developers.com/showthread.php?t=2287540, as I already did step 1 for you.
EXT4 and NTFS support is there, too, in the case that you have a sdcard formatted in that file systems, but I haven't tested the NTFS features.
HTC Performance locks is disabled: you can underclock down to 19,2 khz if you want to.
Also, there are SmartAssV2 as default governor and Simple I/O as scheduler.
I hope I will soon be able to put undervolting there, or more CPU clocks for more choices of clock settings.
Comments, please, and enjoy!!
Edit:
You have to copy the files inside modules.zip to
Code:
/system/lib/modules
. Thanks to johan111 for pointing to this.
tokafondo said:
Hello all. This is my own custom kernel.
I tailored it to work on stock roms.
I updated the sources (as my knowledge allows me to do it) up to 2.6.35.14.
I put there SWAP support (via a second partition on your SD card). You can enable it with Swapper2.
I also put init.d support. You *must* follow the step number 2 detailed in this guide: http://forum.xda-developers.com/showthread.php?t=2287540, as I already did step 1 for you.
EXT4 and NTFS support is there, too, in the case that you have a sdcard formatted in that file systems, but I haven't tested the NTFS features.
HTC Performance locks is disabled: you can underclock down to 19,2 khz if you want to.
Also, there are SmartAssV2 as default governor and Simple I/O as scheduler.
I hope I will soon be able to put undervolting there, or more CPU clocks for more choices of clock settings.
Comments, please, and enjoy!!
Click to expand...
Click to collapse
very very good mate ! , but how can i flash it? from fastboot or ? , and what about swap tested? on stock rom?
mohabmoka said:
very very good mate ! , but how can i flash it? from fastboot or ? , and what about swap tested? on stock rom?
Click to expand...
Click to collapse
Yes, you will have to flash it by using fastboot:
(remember to have a cwm backup just in case you want to reflash your original boot partition)
Code:
fastboot flash boot bootv6initd.img
Swap partition goes as second partition of SD card. Swapper2 will work to format it as 'swap' type.
hm, happy to see still chacha development is active....did anyone tested it?
eager
ajeevlal said:
hm, happy to see still chacha development is active....did anyone tested it?
Click to expand...
Click to collapse
I'm eager to try it but I just love your port man, I will get a new phone in march so I will have the time to test more things on my chacha
hm i tried to build kitkat but it didnt work and it needs more knowledge than what i have.... and if we can keep the kernal up to date, may be some issues in custom rom might get fixed (HOPE)
nice
ajeevlal said:
hm i tried to build kitkat but it didnt work and it needs more knowledge than what i have.... and if we can keep the kernal up to date, may be some issues in custom rom might get fixed (HOPE)
Click to expand...
Click to collapse
keep it up mate, kitkat cannot beat you! j/k Jelly Bean is already an amazing rom
swashie said:
keep it up mate, kitkat cannot beat you! j/k Jelly Bean is already an amazing rom
Click to expand...
Click to collapse
you could do it man !!
tokafondo, I haven't really taken a look at your kernel yet, but I recommend you take a look at the OWL project kernel, as well as Luzifer1984's forks. Might help you gain some insights into rom features and functionality for the future.
honestly, I'm really surprised nobody has forked OWL project's stuff and compiled all of it for the ChaCha yet. They even have an updated ClockworkMod, which if compiled correctly, should work with our device.
Seems their 10.1 roms are also stable, and most if not all features of the device work.
here's the link to their kernel: https://github.com/JDevs/OWL-Predator-KERNEL
and here's Luzifer's github page: https://github.com/Luzifer1984?tab=repositories
there's also Adlx's stuff, which has been very successful so far: https://github.com/adumont/htc-kernel-msm7227/
I'd really love to see a decent, fully stable, feature rich kernel with great battery life for the ChaCha.
As I said, I haven't tried yours out yet, but will definitely give it a look in the next few days!
kronflux said:
tokafondo, I haven't really taken a look at your kernel yet, but I recommend you take a look at the OWL project kernel, as well as Luzifer1984's forks. Might help you gain some insights into rom features and functionality for the future.
honestly, I'm really surprised nobody has forked OWL project's stuff and compiled all of it for the ChaCha yet. They even have an updated ClockworkMod, which if compiled correctly, should work with our device.
Seems their 10.1 roms are also stable, and most if not all features of the device work.
here's the link to their kernel: https://github.com/JDevs/OWL-Predator-KERNEL
and here's Luzifer's github page: https://github.com/Luzifer1984?tab=repositories
there's also Adlx's stuff, which has been very successful so far: https://github.com/adumont/htc-kernel-msm7227/
I'd really love to see a decent, fully stable, feature rich kernel with great battery life for the ChaCha.
As I said, I haven't tried yours out yet, but will definitely give it a look in the next few days!
Click to expand...
Click to collapse
Thanks. I'm not that into the trying to port or get things to be done in ChaCha for fun. I don't see the benefit of having the latest version of Android working just because I could be done. 2.3.5 and Sense does the trick and allows me to work with my phone.
I would like to have some external reports of success or failure with my kernel. I did it for myself but though others could also benefit from it -- if there is a benefit at all.
kernel tested - no WiFi
I have tested your kernel and found WiFi error. This prevents WiFi activation. I tried with this ROM http://forum.xda-developers.com/showthread.php?t=1644087 and with this one http://forum.xda-developers.com/showthread.php?t=1690088.
johan111 said:
I have tested your kernel and found WiFi error. This prevents WiFi activation. I tried with this ROM http://forum.xda-developers.com/showthread.php?t=1644087 and with this one http://forum.xda-developers.com/showthread.php?t=1690088.
Click to expand...
Click to collapse
My mistake!!! :silly:
You have to copy the modules included in the attached zip file to
Code:
/system/lib/modules
you should be able to connect to wifi after that.
I also put init.d support. You *must* follow the step number 2 detailed in this guide: http://forum.xda-developers.com/showthread.php?t=2287540, as I already did step 1 for you.
Click to expand...
Click to collapse
i cant file called sysinit in system/bin !! or i must create it and type the code inside it?
It's a text file you should create. Type in the code, set owner and permissions and you are done.
Custom Kernel Not Supporting on Chacha with Stock Rom (Rooted with Busybox)
tokafondo said:
Hello all. This is my own custom kernel.
I tailored it to work on stock roms.
I updated the sources (as my knowledge allows me to do it) up to 2.6.35.14.
I put there SWAP support (via a second partition on your SD card). You can enable it with Swapper2.
I also put init.d support. You *must* follow the step number 2 detailed in this guide: http://forum.xda-developers.com/showthread.php?t=2287540, as I already did step 1 for you.
EXT4 and NTFS support is there, too, in the case that you have a sdcard formatted in that file systems, but I haven't tested the NTFS features.
HTC Performance locks is disabled: you can underclock down to 19,2 khz if you want to.
Also, there are SmartAssV2 as default governor and Simple I/O as scheduler.
I hope I will soon be able to put undervolting there, or more CPU clocks for more choices of clock settings.
Comments, please, and enjoy!!
Edit:
You have to copy the files inside modules.zip to
Code:
/system/lib/modules
. Thanks to johan111 for pointing to this.
Click to expand...
Click to collapse
The moment I install the provided zip, and reboots, the phone becomes un-stable and the screen flickers constantly with the icons.
Android :2.3.3
Stock Chacha Sense 2.1 based on India: 1.20.720.1
Kernel: 2.6.35.
Any help !!

[Stock][N]Papa-Smurf Kernel

Welcome to Papa Smurf Kernel - The thread will look bland for the time being but i will add some colour to it soon.
*Compiled using [TOOLCHAIN]UBER Toolchains - v6.x
*Added Westwood as default TCP Congestion
*KCAL sometimes buggy working on fixing that.
*Disabled CRC check
*Battery improvements
*Included Gov's - blu_active, cultivation, interactive, conservative, ondemand, userspace, powersave, tripndroid and performance.
*Included IO Schedulers - noop, deadline, cfq, tripndroid, fiops, sio, zen, maple, bfq.
*Added TCP - A lot.
*Vibration Control
*Removed verifiedbootstate flag
*Updated Kernel to be inline with https://kernel.org Linux 4.4.123
*A lot of other changes throughout the kernel
Kcal setting i use with EX Kernel Manager
Download:
Google Drive
Soon to be hosted on my own server.
If you want to mirror the files please contact me via pm first and ill add the mirrored link/s to this post and give credit to the user.
Any features you would like added please say and ill try my best to add it.
If you would like to say thanks and treat me to some hardware upgrades you can look at my amazon wishlist here:
wishlist
XDA:DevDB Information
Papa Smurf, Kernel for the Razer Phone
Contributors
eoghan2t7
Source Code: https://github.com/eoghan2t9/android_razor_cheryl
Kernel Special Features: Linux 4.4.123, Supported Devices: Razer Phone
Version Information
Status: Beta
Current Beta Version: v1.6
Beta Release Date: 2018-03-28
Created 2018-03-28
Last Updated 2018-03-28
Reserved
v1.1
Kernel updated to 4.4.125
Some XHCI commits reverted until i see what was killing USB Headphones
Wow great work thanks. Is it possible to make the finger print sensor unlock without having to push the button in, just using your finger print like most devices??.
parky169 said:
Wow great work thanks. Is it possible to make the finger print sensor unlock without having to push the button in, just using your finger print like most devices??.
Click to expand...
Click to collapse
I'll have a look at the driver for it and see if it's possible although it could be blocked via the OS.
I'm so glad you finally managed to release it, keep up this awesome work, this means a lot for the razer scene community!!!
eoghan2t7 said:
I'll have a look at the driver for it and see if it's possible although it could be blocked via the OS.
Click to expand...
Click to collapse
Any help is greatly appreciated thanks.
Thanks a lot
I couldn't get Magisk to ever install on partition B, like a few others, anyone in that boat tried flashing this?
kickassdave said:
I couldn't get Magisk to ever install on partition B, like a few others, anyone in that boat tried flashing this?
Click to expand...
Click to collapse
Why would it not install on partition B I have it installed on both A and B. Did you copy the recovery logs to see what causing it to fail installing?
eoghan2t7 said:
Why would it not install on partition B I have it installed on both A and B. Did you copy the recovery logs to see what causing it to fail installing?
Click to expand...
Click to collapse
I think you misunderstand me. I couldn't get Magisk to flash on partition B.
I haven't tried installing your kernel yet I think it will flash fine on partition A either way.
kickassdave said:
I think you misunderstand me. I couldn't get Magisk to flash on partition B.
I haven't tried installing your kernel yet I think it will flash fine on partition A either way.
Click to expand...
Click to collapse
Magisk will only flash to the currently active partition so if your on partition A it will flash to it and leave B alone and vise versa.
eoghan2t7 said:
Magisk will only flash to the currently active partition so if your on partition A it will flash to it and leave B alone and vise versa.
Click to expand...
Click to collapse
Everyone is misunderstanding me today
I know how to flash Magisk to both partitions. Previously tried it and despite following the guide to the letter, Magisk would fail to flash on partition B each time.
So my point wasn't that there is a problem with the kernel, it was that I was wondering if anyone who had had the same issue flashing Magisk, had tried flashing this kernel to either partition and what their results were.
I tried connecting a ssd via otg but phone got stuck and restarted. Can someone check and tell if you have similar issue.
Not only otg drive even while connecting USB C earphone.
new build up
oh my... Now I have to.... =|
silvercat said:
I tried connecting a ssd via otg but phone got stuck and restarted. Can someone check and tell if you have similar issue.
Not only otg drive even while connecting USB C earphone.
Click to expand...
Click to collapse
The new build fixes the USB C headphones. I'm unsure about otg as my otg adapter is missing somewhere so could test
eoghan2t7 said:
The new build fixes the USB C headphones. I'm unsure about otg as my otg adapter is missing somewhere so could test
Click to expand...
Click to collapse
It works now :good:
My magisk modules that I have installed break after installing this kernel. Anyone else have this happen to them?
RicardoSal24 said:
My magisk modules that I have installed break after installing this kernel. Anyone else have this happen to them?
Click to expand...
Click to collapse
No I don't have such problem. Is it any specific module or all the modules?
silvercat said:
No I don't have such problem. Is it any specific module or all the modules?
Click to expand...
Click to collapse
All. The only module that semi works is the ios emoji one. Idk if its also because there was an update to magisk manager

Categories

Resources