tf701 kernel development - Asus Transformer TF701

I'm trying to make a start to run linux on the tf701. Rooting the device with the SHIELD kernel was a hint that there is some kind of working linux kernel for the tf701.
I forked the SHIELD kernel github, and my first goal was to fix the messy display output. The SHIELD runs on a far lower resolution than the tf701. With a small change in the 'device tree' (dts file). I managed to boot a kernel with readable output (yay!!).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm not really familiar with kernel compilation and the concept of the kenel device tree is new for me.
Are the others who would like to help me getting linux on the tf701?
My github page with the framebuffer fix can be found here: https://github.com/Menollo/tf701-kernel

I'd like to help, but unfortunately I'm a total noob with development and I don't have a lot of spare time. The most I have done is compile CM for devices that had published guide and device tree.
I'm really interested in trying to compile CM for the TF701, but a good linux distro would be awesome too. If you can think of anything that I can do to help with my limited knowledge and experience, I'd be glad to try.

would you mind providing a binary? I'm out in the fields and believe this could solve the graphics issue on my root method...

I could to made something - I start linux with right configuration. But I couldn't made next step. I have problem with initialization rootfs.

Trel725 said:
I could to made something - I start linux with right configuration. But I couldn't made next step. I have problem with initialization rootfs.
Click to expand...
Click to collapse
Are you doing LFS(Linux from scratch)? Maybe something like that will give you ideas?

I'm sorry, I don't understand. Did you mean do I read linux for scratch? Not yet. But I read that soon. Maybe I really will have some ideas. Thank you.

Here http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=commit;h=af42f432f683430df34a2a2ba084492daaae0a5c is the linux4tegra project source. It precompiled for Dalmore develop board, but source also include a lot of macallan-specific files. Can anyone help me with .config to build kernel for tf701? I tried use Dalmore defconfig (tegra11_defconfig) but that isn't work. Also I tried change configfile to disable dalmore support and enable macallan support. Then kernel couldn't compile. Is it interesting for anyone except me?

Trel725 said:
Here http://nv-tegra.nvidia.com/gitweb/?...it;h=af42f432f683430df34a2a2ba084492daaae0a5c is the linux4tegra project source. It precompiled for Dalmore develop board, but source also include a lot of macallan-specific files. Can anyone help me with .config to build kernel for tf701? I tried use Dalmore defconfig (tegra11_defconfig) but that isn't work. Also I tried change configfile to disable dalmore support and enable macallan support. Then kernel couldn't compile. Is it interesting for anyone except me?
Click to expand...
Click to collapse
The cm11 kernel config wont work for this?

I haven't tried it, but I sure that will not work because there are pretty much difference between kernel for android and just linux kernel. Also there are some difference between CM source and nvidia's source, for example choice Asus board (Mozart or haydn or none).

Related

[Q] Help to compile kernel SGT7-P1000

Forgive me if annoying to open new thread..
Yes, theres awesome github source for P1000
But please can someone give proven tutorial to compile kernel for P1000 from samsung source ??
Kernel Source: update2 (opensource.samsung) & voodoo (github)
Initramfs Source: stock & cfroot (extract with unpack-initramfs on cygwin coz on linux always failed) , voodoo (github)
Toolchain: arm-2009q3-67-arm-none-linux-gnueabi gcc 4.4.1 , arm-2009q3-68-arm-none-eabi gcc 4.4.1 , arm-2011.03-arm-none-linux-gnueabi gcc 4.5.2
Trying combination source kernel, initramfs, and toolchain but still device cant booting
Thank you before for helping..
Still dont know what happen..
Compiling without problem but still not luck to booting..
Trying with alterbridge source..
Using old ubuntu8.04 Hardy Heron to build..
Is this one of problem even i have all tools??
At least can go to recovery now.. but still cant mount anything
Once you are successful, need you to help look at incorporating TWRP recovery into our tab. Their site seems to say easy to port to any device that already has cwm.
Sent from my GT-I9300 using xda app-developers app
Hello priyana..
Not yet mate.. to many home work to do since only google as my friend so only one way info direction to me.. 1st thing is booting..
Its more hard for noob like me even ive done this thing on other device..
Combination samsung update2 source + arm2009q3 + modified koxudaxi initramfs = can go to recovery but still cant booting (cant mount everything except usb storage)
Try to modified initramfs with alterbridge, chainfire and stock still dont know which part but one problem come internal mmc corrupt
I fix it yesterday after read and ask on other forum and now i know how to change size partition on internal mmc which use for /data /preload /sdcard
Thank you asvantypography
Trying to change linux from ubuntu8.4.0 to ubuntu12.10 to check out is this one of cause i cant compile kernel..
@mod: im sorry posting useless thing coz i dont know where should i ask and share my problem.. All refering ask in xda but still no solution for me till now..
Solved
Finally combination from all source that I have can booting
Even only basic kernel but it work..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I dont like open new thread so I wanna ask in this thread..
Why on recovery mode with overcome recovery adb shell not work with ubuntu12.10 but working well on window.. Whats wrong and what should I do?
Ps. Few hours ago still work

[Q] Menu and Back keys not working with custom kernel

Hi !
I've been trying to build a kernel from samsung's sources. I included an initramfs extracted for a stock ROM.
Everything seems to work fine except for the sensitive buttons (menu and back keys).
I also tried to repack the initramfs by included the drivers that were compiled alongside the zImage but I get the same result.
I haven't found any topic about this here, but I see a lot of people building their own kernel. What did I do wrong, or if someone stumbled upon the same problem, how did you solve it ?
Thanks !
have same issue with custom kernel.... I guess you are using m3_00_defconfig?
ErGo_404 said:
Hi !
I've been trying to build a kernel from samsung's sources. I included an initramfs extracted for a stock ROM.
Everything seems to work fine except for the sensitive buttons (menu and back keys).
I also tried to repack the initramfs by included the drivers that were compiled alongside the zImage but I get the same result.
I haven't found any topic about this here, but I see a lot of people building their own kernel. What did I do wrong, or if someone stumbled upon the same problem, how did you solve it ?
Thanks !
Click to expand...
Click to collapse
Try
Code:
*#2663#
to see your touch key firmware my firmware is 0x6
I am using the m3_00_defconfig.
It seems that Samsung's kernel sources are note quite up to date for the I9305. However it works perfectly if we use the latest I9300 kernel sources with the m3_00_defconfig found in the I9305 sources.
I found it easier than trying to fix the I9305 sources by comparing the two.
ausdim said:
Try
Code:
*#2663#
to see your touch key firmware my firmware is 0x6
Click to expand...
Click to collapse
custom kernel
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Stock

[KERNEL] HTC First CM-based Kernel

CM-based kernel for the HTC First
The JB Kernel source released by HTC is lacking, to say the least, for anything aosp or cm-based. This port of the CM-maintained MSM8960 kernel should future proof the HTC First for at least 1-2 more Android releases.
The kernel is used in my current CM11 port.
Proof:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Source: https://github.com/CMyst/android_kernel_htc_msm8960
A prebuilt image will not be provided. Use of this kernel assumes knowledge of compilation of kernels. I recommend using gcc 4.7 toolchain to compile the kernel.
Misc notes:
- Holding power key will not reset phone anymore as this functionality isn't implemented in gpio_input and I have no intention of doing so. Instead, the phone can be hard reset by holding power+vol up+vol down simultaneously
Feel free to report any bugs in this thread.
I am so happy to see someone still working on our First !!!!!!!!! Thank you so much for doing this ^^
When do you think you can share your cm 11 for our HTC first ??? ^^ No push just asking. Take you time.
There is no ETA, and I will not make any promises. Currently, the mic does not work in calls, and I will not be releasing it until that is fixed. You may check github.com/CMyst for any bugfixes/updates and once the mic is fixed, an update will be available very soon. However, unlike a previous port of CM11 that another member posted, the graphics are fluid and Wi-fi/BT works. Unfortunately, the camera does not work (almost working) and NFC seems to be broken due to some missing firmware.
It must be a lot of work for you to do by your self. But BIG BIG thank you for doing this. I hope you can release it soooon ~. Thank you again
Any progress update ?? ^^;; I hope you still working on it..
hohosanta said:
Any progress update ?? ^^;; I hope you still working on it..
Click to expand...
Click to collapse
Sorry i've been busy with midterms and such (yeah yeah excuses). I promise an update sometime during thanksgiving.
i just happy to hear that you are still working on it thank you.
jianC said:
Sorry i've been busy with midterms and such (yeah yeah excuses). I promise an update sometime during thanksgiving.
Click to expand...
Click to collapse
Happy Thanks giving
Are you planing to upload cm this Thanks giving???
Numerous fixes have been added to the kernel. The resulting problems with camera (at least I think) and audio amp are userspace.

[WIP][KERNEL] Andy_Kernel[Feature-Port]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
A Kernel For MOTO E based on Cm14.1 Branch​
I will not be responsible for any damage to phone.
Click to expand...
Click to collapse
I CLEARLY STATE THAT THIS PROJECT IS A WIP AND I WILL TRY TO PORT AS MANY FEATURES AS OTHER 600-800 SOCS HAVE... CLARITY KERNEL IS BEEN USED AS A BASE BECAUSE I DON'T WANT TO COMPETE WITH ANYONE FOR BEING THE TOPPER AMONG THE KERNELS.. You may use the kernel and feel free to report bugs.. Features will be added as and when possible.. And branch will be stuck to the lineage OS. .
Click to expand...
Click to collapse
Don't try this on any other rom other than lineage OS based branch
Features:
-Fully ported features from clarity Kernel
-dtw
-State notifier Driver
-Rq stats hotplug enables tool
-Msm limiter. (will. Be functional when you will have synapse. Soon to be ported)
- Bricked Hotplug
-Msm Hotplug
-Intelli Hotplug
DISABLE MSM_MPDECISION AFTER BOOT FROM KERNEL ADUITOR
Credits
cyanogen team
@ak
@Megatron007 ( A good Friend of Mine. Helped me however, whenever I wanted. Because Of him this became possible )
@savoca for kcal
XDA
@franciscofranco for. His flawless. Job
@faux123 for his kernel. Commits... 
 @rainforce279 this guy whose kernel I have used it as a base..
Please Let Me know if someones missing out there
Bugs
None
Clearly no credits to me.. I do this for my hobbie and I won't mind if you press thanks button on clarity thread instead of me. I just made it for myself but felt to share with you. I don't even have that much time to pick up all the commits which already other devs have made.. So I will stick to my procedures.. If the clarity owner has any problem please do post here. I clearly mention I need no credits for this. I even have kept the name on kernel as it is and won't change till I feel it is different than clarity..
Thanks
Source code -
PHP:
[URL="https://github.com/Andy1911/AndyKernel_MotoE_Condor"]here! [/URL]
Download links -
20170118- Grab it here
-Initial release.
PROCEDURE
Flash the kernel as a boot img..
-Twrp
-INSTALL FROM SD
-select img
-Select boot img and hit install
-REBOOT
THANK YOU FOR YOUR WORK! will test ASAP.
I am still on lastlat nightly from cyanogenmod, can I still flash this?
and which clarity version is it based on?
the latest hybrid 1.6?
It works with latest nightly... 2512 I am too on that..
Regards
Andy
kernel dead ?
any updates
I think the kernel is dead?
Daman5202 said:
I think the kernel is dead?
Click to expand...
Click to collapse
Going through exams. Other Devices work is also in progress. I Have currently got ukm working on this device. Soon an update will come forward
Regards
Andy
please add aosp support too....
can anyone suggest me a kernel for mmbased on cos13.1 ..which has d2w feature !!!

Lineage 16.0 unofficial TESTING

This is an early build current bugs:
audio is not great
youtube does not play
fingerprint sensor is broken
encryption untested
avb disabled
selinux in permissive
eng build for ease of debugging and logging will cause slow downs and red boarders
etc
This is incompatible with the modem from Android Q it will break sensors and cause boot to fail. If coming from Q flash a different modem via fastboot
This is for testing and demonstration only
https://www.androidfilehost.com/?fid=6006931924117882490
Device tree:
https://github.com/randomblame/android_device_xiaomi_cepheus
build instructions: you need my tree, my kernel, and you need the sm8150 hals. https://review.lineageos.org/c/LineageOS/android/+/248513 you also need my modified media hal : https://github.com/randomblame/media-caf_sm8150.git
Kernel source:
https://github.com/randomblame/android_kernel_xiaomi_sm8150
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
That's awesome, thanks for your hard work mate, any flashing instructions, cheers.
Thanks for your work
Audio can be fixed by deleting soundfx folder in /vendor/lib .
And i'm noticed broken in call audio
Download and trying now. Thanks
Superb! =D
extremegreat said:
Thanks for your work
Audio can be fixed by deleting soundfx folder in /vendor/lib .
And i'm noticed broken in call audio
Click to expand...
Click to collapse
interesting thanks I need to fix building vendor inline it's not working correctly and then I can solve it
new build up with updated kernel and vendor image built in
woow! That was fast. thank you so much for this .
Thank you very much!
one giant leap for mankind.
thank you.
That's amazing! I think it won't take a long time and the other devs will start building too. Let's see what happens in future! Im very happy now.
Thank you Kelsi for your hard work. I guess this will be the new thread I press reload every hour.
Wonderful news! Thank you!
Thank you! :good:
Best DEV four our mi9 EVER !
At last Great job, keep it going!
Great to read !
It's great to see some action as GSI will probably never fully work on our special chinese friend !
Cant wait for unlocking my phone.
Hopefully I can help to you if its needed.
can't wait to see this project evolving in to somewhat official.
Nice attempt! Keep on that development and progress
I've seen you here before, thanks for opening the development up.
has anyone tried to flash the build?

Categories

Resources