yashsingh1/xdaforums huggingface dataset:
[HTC Flyer, EVO View 4G] DooMLoRD:
its simple really

get the compiled kernel (zImage) and compressed ramdisk (ramdisk.cpio.gz)

and use the following mkbootimg command to get correct boot.img:

mkbootimg --kernel zImage --ramdisk ramdisk.cpio.gz --cmdline "no_console_suspend=1" -o boot.img --base 0x14400000
[HTC Flyer, EVO View 4G] Chaosz-X:
Wait, that base address...

We only made our Boot.imgs without a base address, or with something like 0x11100000. Aside from that, we did everything exactly the same way. So if we use your base address, it should work?
[HTC Flyer, EVO View 4G] DooMLoRD:
yes it should... unless ur ramdisk was incorrectly packed OR zImage contains code which has errors in booting
[HTC Flyer, EVO View 4G] Chaosz-X:
We tried it with using the exact same ramdisk file we got from the extracting, no modifications whatsoever. And we're also sure the zImage is fine, because using Anykernel Updater (which takes the current bootimage's ramdisk, and packages a new zImage with it) works fine with our kernel, so we're sure the kernel itself is fine, and the ramdisk file was also fine.

Hopefully your tip will help us :) The developer with the Linux box (can't use mine atm) is having dinner now, will try within an hour.

Thanks a lot in advance, you're awesome for this community! :D
[HTC Flyer, EVO View 4G] DonUber:
Yes, It worked, Thanks!! We are getting closer, so we hope we'll get there soon :)
[HTC Flyer, EVO View 4G] huemedia:
ICS kernel source released for 3 HTC phones

Hi All,

Apparently HTC released ICS kernel source for 3 HTC phones (HTC Sensation, HTC Sensation XE, and the HTC Vivid). Not sure if this is helpful but thought I would spread the word!

http://phandroid.com/2012/03/19/htc...xe-and-vivid-get-ics-kernel-source-published/
[HTC Flyer, EVO View 4G] killahrey:
probably wouldn't help much, all those devices have a different processor type. On the other hand if the sensation XL was included, that would very likely help as it has the same processor.
[HTC Flyer, EVO View 4G] lawguy:
DonUber's sig has changed. :)
[HTC Flyer, EVO View 4G] MadCobbler:
We have a leaked version of ICS on the SXL forum complete with an ICS kernel :) Don't know whether it will help...

I just need an AOSP kernel so I can try and port MIUI v4 over to the SXL
[HTC Flyer, EVO View 4G] DonUber:
We also have a working ICS Sense kernel, the ICS Sense Kernel from the SXL will not help us. We are in the same fight that you're in, trying to create a good working AOSP ICS Kernel ;)
[HTC Flyer, EVO View 4G] teorouge:
Pardon me, does that mean a Sense4+ICS ported ROM is in the work for Flyers too? Saw that Sense 4 should rock rosie landscape support, that would be great! :)
[HTC Flyer, EVO View 4G] Chaosz-X:
Nothing special today concerning ICS.

Oh, except this:

We already got it booting twice, but only if we modified permissions on the go (which means that we needed to ADB when we want to reboot it), but we sorted it all out, the device can boot on itself now like it should, and this is the result :) Touchscreen ain't working yet, so we can't get past this screen yet, but what we already do know that it works:

-Buttons are working

-Rotation is working (including landscape with the camera on the bottom)

-HWA, we're not sure, but we think that it's working

-Camera might be working, at least the logcat tells us that it does see the camera

Stay tuned people, this is going to be Legen...wait for it... Dary :)
[HTC Flyer, EVO View 4G] DonUber:
No, I haven't seen somebody working at the moment on Sense 4 ports from the One devices for Flyer. Also there is no Sense 4 tablet version at the moment as far as I know.
[HTC Flyer, EVO View 4G] teorouge:
Thanks for the reply. I don't think there's actually the need for a sense for tablets now, sense 4 has landscape (I saw some screens with home rotated landscape) and that should be enough... Isn't it?

Inviato dal mio HTC Flyer P510e usando Tapatalk
[HTC Flyer, EVO View 4G] :
"Hi, I am part of the Andromadus team from the HTC G2 and I was wondering where the kernel source is currently located as the current repo seems to be 20 days old and I would like to help you with this."

This is a message relayed from Darkspadez, though I am close to the Andromadus team.
[HTC Flyer, EVO View 4G] jsloth:
Hi guys, first of all I would like to thank you for the effort you are putting into getting ICS for our Flyer's.

I would also like to help with the development, I have a great deal of programming experience in C/C++ (embedded development), andI have some Linux kernel experience, so I think I can contribute with something. I also have a couple of coworkers in our android department, that might be willing to help me from time to time.
[HTC Flyer, EVO View 4G] Chaosz-X:
Damn you obscure touchscreen...

There are no binaries or anything for the Ntrig Touchscreen at all, and the files from the HC/GB releases do not work. This is going to be a tough nut.
[HTC Flyer, EVO View 4G] jmz:
Any chance you could update github for the kernel? Us Evo View guys are trying to get it too. So any help would be greatly appreciated. Thanks
[HTC Flyer, EVO View 4G] LorD ClockaN:
as far as I know touchscreen has been fixed ;)
[HTC Flyer, EVO View 4G] Chaosz-X:
Indeed, it is! Thanks to a lot of help from LorD ClockaN and DoomLord, the Flyer runs ICS now! We know that audio, HWA, touchscreen (pen not tested, but should be easy to get that running too), rotation are all working, and it should be a 5-minute job now to get WiFi running too. We still have to optimize some stuff to make it run better, but it looks very promising so far :)

Oh, and guys, the thanks should all go to the 2 Lords here ;p DoomLord was the guy who helped me to fix a lot of ramdisk stuff and some bits and pieces for the touchscreen, and LorD ClockaN has made the excellent base for the Desire HD, upon which this ROM is based. I didn't fix all the HW myself: it was entirely the excellent work of LC, we just have the luck that our tablet has so much in common with the Desire HD :)

Stay tuned guys, we're going to make the Flyer much more awesome :)
[HTC Flyer, EVO View 4G] freak4dell:
WOW! That's great news!

Hopefully you guys can get your sources out, too, so that the View guys can share in your excitement.
[HTC Flyer, EVO View 4G] LorD ClockaN:
Well I really hope that you'll get this up and running
[HTC Flyer, EVO View 4G] hoatienii:
i'm very happy about this news! Thanks Chaosz-X , LorD ClockaN and DoomLord
[HTC Flyer, EVO View 4G] Chaosz-X:
If anyone could write a script we need, it would be appreciated, as it would make some things much easier.

What it should do, is:

chmod 777 /cache

mkdir /cache/dalvik-cache (if it doesn't exist yet)

echo '1' > /sys/android_touch/event_google

If someone could turn this into a init.d script or something, it would help us a lot :)

I already tried it, but for some reason my script always errors and it doesn't tell me what's wrong -.-
[HTC Flyer, EVO View 4G] LorD ClockaN:
#!/system/xbin/bash

chmod 777 /cache
mkdir /cache/dalvik-cache (if it doesn't exist yet)
echo '1' > /sys/android_touch/event_google
[HTC Flyer, EVO View 4G] Aerogriff:
Awesome news! Can't wait for what's to come :D
[HTC Flyer, EVO View 4G] DooMLoRD:
Ideally this should all be going into ramdisk init.rc file

If u create init.d scripts, the time of execution might be delayed, also we assume that the init.d support is indeed working... That might not be the case as specific busybox binaries are required for HC/ICS OS else busybox doesnt correctly work and will mess up everything... There is a generic way to get init.d support provided /system/etc/install-recovery.sh gets called by ramdisk... Check my Sig for links to Jetstream/Xperia S, I have created generic init.d support toolkit for them... Just add the corresponding files and set correct permissions and that's it!
[HTC Flyer, EVO View 4G] DigitalMD:
CM9 is really pretty neat with its additions to ICS and the Trebuchet launcher. It's running great on my Nook Color now. I'm sure you will have it sorted for the Flyer shortly.
[HTC Flyer, EVO View 4G] DonalDuck47:
Keep up the great work guys! We're really close! Thanks to all of you! I hope you can get this running soon!

DD
[HTC Flyer, EVO View 4G] gamefreakgcb:
WooHoo!! I have the Galaxy Nexus and I dislike using the older versions of android now. Now my Flyer will soon get ICS too. Waiting patiently for AOSP ICS experience.
[HTC Flyer, EVO View 4G] lawguy:
I assume that no news is good news . . .

We know that Chaosz-X is not permitted to take weekends off. :D
[HTC Flyer, EVO View 4G] killahrey:
Let's get this ported over to the view :D.
[HTC Flyer, EVO View 4G] DigitalMD:
Cm9 is not exactly AOSP, in fact is quite a bit better. It has an enhanced launcher "Trebuchet", and extra settings and performance controls.
[HTC Flyer, EVO View 4G] DonUber:
No, we had a party, cinema and chilling here at night with some friends ;), but there is progress, together with LorD ClockaN he fixed some important errors, now their is a problem with the graphic buffer (As far as I know). So it boots, it shows the first startup settings thing and the launcher etc but after some time it goes wrong with the graphics buffer and it crashes. Andeverything is buggy, so if this error gets fixed it will be more stable but I think it still needs many hours of work until it is stable enough for release. But we made great progress again thanks to the great help of LorD ClockaN!
[HTC Flyer, EVO View 4G] DooMLoRD:
in the logcat do u get errors/does the OS complain about inadequate pmem?
[HTC Flyer, EVO View 4G] DonUber:
pmem is fixed, I think EGL_BAD_ALLOC is the problem now, but Chaosz-X will definitely come with more details today ;)
[HTC Flyer, EVO View 4G] Chaosz-X:
The ROM is almost ready, but InputDispatcher kills apps for some reason (probably because the N-Trig driver is not written properly).

We have to apply some patches concerning that driver, which is kinda difficult because we don't have an updated version of the driver.

After that is done, a 1-minute fix will enable 32-bit colouring, and it will be up and running ;)

Edit: this is the error: http://www.google.nl/search?hl=nl&redir_esc=&client=ms-android-htc&source=android-browser-type&v=133247963&qsubts=1332679877166&action=devloc&q=inputdispatcher+consumer+closed+input+channel+or+an+error+occurred&v=133247963
[HTC Flyer, EVO View 4G] glgehman:
Generally keeping quiet here because I sure ain't no developer, but is it possible to use the N-Trig drivers from either HTC Jetstream or Lenovo Thinkpad?

glg
[HTC Flyer, EVO View 4G] LorD ClockaN:
32bit fix is in my kernel also... + 60FPS refresh

but I think that after my kernel fix, there was a fix in frameworks also about 32bit colors...

about input dispatcher.. as I told you.. you need properly modded kernel driver.. I tried to mod your driver with a quick view, but there were bigger differences that I thought it would be comparing with DHD touchscreen driver.. + I don't have time.. so you could try to patch it by looking at my kernel git..

links to changes:

atmel is for Inspire 4G, synaptics is for DHD and elan is for htc vivo.. but you can compare and see that changes are similar..

also in these links there are my changes and than I transfered to Kali-'s changes (official kernel master for CM) to be in line with CM, nothing else

atmel_ics is file that was compiling if I remember correctly prior Kali's fix.. because ICS touchscreen fix doesn't work on ginger

https://github.com/LorDClockaN/LorDmodUE/commits/ICS/drivers/input/touchscreen/atmel.c

https://github.com/LorDClockaN/LorDmodUE/commits/ICS/drivers/input/touchscreen/atmel_ics.c

https://github.com/LorDClockaN/LorDmodUE/commits/ICS/drivers/input/touchscreen/synaptics_3k.c

https://github.com/LorDClockaN/LorDmodUE/commits/ICS/drivers/input/touchscreen/elan_ktf2k.c
[HTC Flyer, EVO View 4G] jamus28:
They ported CM9 with working ntrig support to the thinkpad tablet. You may want to contact jon2555 or koshu about this:

http://xdaforums.com/showthread.php?t=1490831
[HTC Flyer, EVO View 4G] LorD ClockaN:
thinkpad uses hid driver for touchscreen, not input driver in kernel.. so not the same.. but maybe can be looked at..
[HTC Flyer, EVO View 4G] Chaosz-X:
Touchscreen seems to be fixed, but now the screen is messed up, of which I think is related to the framebuffer. I have a test to study for which will take about 3 hours, but if anyone could check this logcat and know what's causing it, it would really help!

http://pastebin.com/wpPkunUZ

The part from line 3507 until 3711 seems to be the problem...

Come on guys, if we fix this issue, it should be completely up and running :)
[HTC Flyer, EVO View 4G] Gumby63:
You could try using the adreno drivers that Qualcomm released specifically for ICS to see if that helps
[HTC Flyer, EVO View 4G] DooMLoRD:
those require specific patches in kernel sources (newer adreno drivers)
[HTC Flyer, EVO View 4G] Chaosz-X:
Wait, but this ROM is already using the ICS drivers?

So we can either modify the kernel to adapt it for those drivers, or we need old Adreno 205 drivers to use (where do we take them from?)
[HTC Flyer, EVO View 4G] Gumby63:
Ill link them to you if you want, it's worth a shot. But if it requires more kernel patches it might not be ideal
[HTC Flyer, EVO View 4G] LorD ClockaN:
well you can use gpu patches from me or kali if it's adreno205...

but we had those patches for a long time before new libs came out

there is also fix for 32bit color and refresh rate
[HTC Flyer, EVO View 4G] Chaosz-X:
Great progress, but screen is still glitching
[HTC Flyer, EVO View 4G] lawguy:
Those pictures make me happy. :)
[HTC Flyer, EVO View 4G] killahrey:
is it like blue flickering? We had that problem over on the rezound with the ics leaks. Seems to have gone away for the most part with the newest leak. Not sure what they did but it probably is gpu related.
[HTC Flyer, EVO View 4G] zummer22:
Good work guys! ;)
[HTC Flyer, EVO View 4G] DooMLoRD:
Release it already, fixing may be faster if there are many ppl working on it ;)
[HTC Flyer, EVO View 4G] mcord11758:
I like the way you think:rolleyes:
[HTC Flyer, EVO View 4G] :
Just was thinking that..or update github
[HTC Flyer, EVO View 4G] lawguy:
As much as I want it, I think that Chaosz-X should release it when he feels it is ready to be released.
[HTC Flyer, EVO View 4G] YOSEFE:
Did you mean to say you have released it? Where are the links gone/going up?

That will be something big.
[HTC Flyer, EVO View 4G] :
Missed the point.. If you have a github with all your updated stuff development will go faster, and better because of multiple people working on it.
[HTC Flyer, EVO View 4G] lawguy:
No. I get that. I think that he deserves the right to release it when he wants to.

I know this is unpopular and I want it too.
[HTC Flyer, EVO View 4G] DonUber:
Chaosz-X told me today that everything will be uploaded so everybody can work on it. Also because of the upcoming examweek we will not have that much time. And my ISP is trolling me so I do not have internet for some days (not able to use complinig machine etc.). So I it will be available soon ;)
[HTC Flyer, EVO View 4G] nickiberli:
I would really appreciate it if it's accessable to everyone on github :)
[HTC Flyer, EVO View 4G] Chaosz-X:
Uploading the ZIP and the prebuilt kernel at the moment, and will upload the kernel source to GitHub within 8 hours. Expect a new topic within about half an hour I think ;)
[HTC Flyer, EVO View 4G] DooMLoRD:
i believe this thread has served its purpose... we can now shift our attention to the current work-in-progress ICS build:

http://xdaforums.com/showthread.php?t=1569060

so i will now close this thread...

incase anyone takes interest in CM9, let me know i will re-open the thread for dev discussions...
[HTC Flyer, EVO View 4G] Dexter_nlb:
I have tried out some things here, and i tested the DesireHD and sensation ICS releases, i got both up and running, but both have touchscreen problems, so i could not test anything or confirm if anything else worked but that i got display and a lock screen.

i cannot see what makes "ntrig_touchd" communicate with X in the 3.21 release. and i tried to investigate any input devices and framework but without luck.

mainly i just wanted to share that it can be loaded, but touchscreen is a problem, and i hoped the sensation 4.0.1 port was close enough to work, but ntrig devices is integrated in a vierd way. (not if anyone else tries, the XXX.msm8660.so needs to benamed to msm7x30.so to make it load, but its probably what cripples the touchscreen function.)
[HTC Flyer, EVO View 4G] DooMLoRD:
i know how to sort out touch screen issues :)

did u manage to get it to boot?

i will give u correct kernel...
[HTC Flyer, EVO View 4G] Dexter_nlb:
yes , both images runs and shows lockscreen.. if you got a boot.img to that fixes it, i can test during today maybe?

its not fun to upload 500MB+ images when its still in dev. but as soon as i got touchscreen ok, i can post both for dev purposes, if they also show apps working fine.

DesireHD release: 4.0.3 stock

Sensation release: 4.0.1 RcMIX sense edition (lock screen is actually wrong res but works)
[HTC Flyer, EVO View 4G] Dexter_nlb:
a snapshot of 4.0.1 RcMix

the lockscreen on Flyer

and in 160dpi mode
[HTC Flyer, EVO View 4G] DooMLoRD:
give me some time... i will post a zImage for u... that should accept touches on ICS...

though u will have to check ramdisk...

if u want u can upload the rom to private site and send the links to few devs that way testing will be faster :)
[HTC Flyer, EVO View 4G] cirian75:
I'm not a Dev

but is not the HTC Sensation XL scarey close to the Flyer 32GB 3G

The XL is getting ICS

http://www.gsmarena.com/compare.php3?idPhone1=4161&idPhone2=3829

could be a source?
[HTC Flyer, EVO View 4G] nickiberli:
The flyer has another cpu. it's not the one you see in that comparison. it only has a single core processor.

btw: i really want to help (and i think i could) with porting ics to the flyer. but i just have no time :(
[HTC Flyer, EVO View 4G] YOSEFE:
I am not a DEV, but am following the progress being made in the right direction. It will be great if you can be kind as always to find time for this and lend a hand.
[HTC Flyer, EVO View 4G] nickiberli:
Yeah, I'll see what I can do.. ;)
[HTC Flyer, EVO View 4G] schnem:
The Sensation XL does only have a single core. The Sensation and Sensation xe have the 2 core cpu.

sorry not trying to prove you wrong just clearing it up in case the XL ics thing could work.
[HTC Flyer, EVO View 4G] cirian75:
I thought it was neigh on the same same specs bar the ram
[HTC Flyer, EVO View 4G] Dexter_nlb:
here is a very early dev edition (not for daily use at all) of Flyer 4.0.3 (based on RcMix v20 for sensation).. link is here md5sum: 4ef623e10d7e17f89bc3d9ad31653aca

its a clockworkmod backup image of Boot.img + system.img..

remember to wipe after installation.

it boots

and this is tested and working: multitouch, audio,wifi,compass, rotation, 2d/3d(i think)

not working: camera,Bluetooth, h/w codecs (like youtube)

but maybe some other person can continue this and make it better, or least it is booting and working.

Feel free to do with it what you want, just remember to give creds to the right persons for this, i did some fixing to make it run on flyer, but the RcMix team got the leak :-) and they deserve credits for that..

i have included HTC sense launcher, but its not working in 160dpi resolution, so to use it, you need to change build.prop to 240dpi, but then the stock launcher is just a dialer edition.

Phone function might work, if you port this to a 3G flyer, cannot test it..

Kernel used is LeeDroid v2.1.0 for HC.
[HTC Flyer, EVO View 4G] Gumby63:
Made a flashable zip for it :)
[HTC Flyer, EVO View 4G] lawguy:
Great! Can someone make a video showing what it's like? I would do it myself but I left my Flyer at work this weekend (of course).
[HTC Flyer, EVO View 4G] mcord11758:
Not much of one but take a look

http://www.youtube.com/watch?v=lDMQDLxirXc&sns=em
[HTC Flyer, EVO View 4G] :
Thanks mcord!

I'm wondering why you guys chose to port a de-sensed ICS rom and not just a ICS rom, or even better yet try to get something from source. I've been told if you build from source it's easier to fix things =]
[HTC Flyer, EVO View 4G] Gumby63:
It's hard to build from source when you don't have the proprietary files to build for our device ;)
[HTC Flyer, EVO View 4G] DooMLoRD:
proprietary files r pulled from device...
[HTC Flyer, EVO View 4G] Gumby63:
Yeah but its a matter of knowing which files to pull and such since we dont have the script to do it for us

---------- Post added at 10:51 PM ---------- Previous post was at 10:49 PM ----------

And i always get an error when i try to build for the flyer
[HTC Flyer, EVO View 4G] DooMLoRD:
use other HTC device scripts as reference
[HTC Flyer, EVO View 4G] Dexter_nlb:
get me the ics 4.0 flyer reference files and ill pull'em out and use those :)

---------- Post added at 09:30 AM ---------- Previous post was at 09:24 AM ----------

- its original by HTC as an early release of sensation ICS 4.0.3, which means we get latest EGL adeno200 included.

- building from source require source reference drivers, we havent got.. if you compare this to CM7/9 , it was originally built upon something that was already there, ie. 2.3 became CM7, so proprietary files existed, so easy to create a script to copy files from a working build and use it.

here you got nothing that actually is built yet for flyer, so nothing really to reference. I hope you understand the justification of

1. using another build.

2. not compiling anything, when you got no original 4.x files to use.

3. you get h/w acceleration. If you use AOSP and no refererence files you get software rendering.
[HTC Flyer, EVO View 4G] jamus28:
Since this is a sense ROM, is there a good chance the scribe pen functions and apps could eventually be ported as well?
[HTC Flyer, EVO View 4G] Dexter_nlb:
my original intention were to get stock android working. Since sensation is a wrong resolution, alot of graphics needs fixing and i do not even think portrait graphics are included. if we copy from our 3.2.1 it might work, but i personally do not wish to go down that road..

It might be that with the pen apps from 3.2.1 you might already get some early support as framework do have stylus support, apps just needs to utilize it.
[HTC Flyer, EVO View 4G] mcord11758:
Dexter have you been able to gain root access. Super user denies access even to itself
[HTC Flyer, EVO View 4G] DooMLoRD:
U need new superuser app/binary...

Here: http://xdaforums.com/attachment.php?attachmentid=845777&d=1325923361

Flash via recovery
[HTC Flyer, EVO View 4G] YOSEFE:
My thanks to you devs and helpers for a good start.
[HTC Flyer, EVO View 4G] lawguy:
Thanks to those who worked on this. Is this just a proof of concept or is it still an ongoing project? Because of the limitations in how this was done is it not possible to fix those things that need fixing to get a working AOSP build?
[HTC Flyer, EVO View 4G] DigitalMD:
Yes those are true statements. It's a demo port and its impossible to fix somethings because there is no source code and the hardware pieces from the original ROM don't match our hardware.
[HTC Flyer, EVO View 4G] mcord11758:
Thank you, will google before post next time:-)
[HTC Flyer, EVO View 4G] mcord11758:
Yes but this is good enough to get the feel of what ics will be like on the flyer.
[HTC Flyer, EVO View 4G] DigitalMD:
Therefore the words "demo" It's good enough to get an idea of the differences between the HC look and the ICS look, but not representative of speed or hardware function. Nice to see, appreciate the effort.
[HTC Flyer, EVO View 4G] Dexter_nlb:
pretty much like our 3.2.1 comparing 3.2.1 on other hardware platforms, as a demo but not really up to date with concurrent products :eek:
[HTC Flyer, EVO View 4G] YOSEFE:
Can't flash this.

It returns error and stops.

Have you tried cwm flashing the zip?
[HTC Flyer, EVO View 4G] mcord11758:
What is posted here is a back up for recovery. Take the folder inside the zip and place it in your clockwork folder, then restore in recovery
[HTC Flyer, EVO View 4G] Gumby63:
Do you guys want me to post a link for the flash able version?
[HTC Flyer, EVO View 4G] kool2zero:
Yeah... I was stuck on boot...