yashsingh1/xdaforums huggingface dataset:
[HTC Pico (Explorer)] vaib:
Proximity Sensor Prob

Is the proximity sensor working fine for all in ateeq's build?

The screen light doesnt behave properly while on calls.
[HTC Pico (Explorer)] StefDrums:
hi,

I tried CM9 build 11 and 12, with kernel 3 by ateeq and kernel 3 by kangbang, but I have the same problem: when I try to power off the phone by clicking (long) power button, the "power off" menu doesn't appear and the screen turns off like when I want push the power button for a little time.
[HTC Pico (Explorer)] mmk.dr:
Ummm are you sure it isnt a hardware problem of your power button?

​
[HTC Pico (Explorer)] StefDrums:
PWR button issue

yes! it works perfectly after installing the ROM, but when I flash kernel 3 it stops to work.
[HTC Pico (Explorer)] xpmode:
Deathlike, nice catch. A logcat of the screen turning off would be worth looking.
[HTC Pico (Explorer)] Deathlike:
I'll try to get some logcats.

Another thing I notice, probably related to that, is that on kernel 2.6 if you turn the screen off and immediately on, it stays on. On kernel 3.0 if you do the same, the screen will turn off and on a second time. Same thing happens during a call. If you keep covering the proximity sensor to turn off the screen it won't always turn on as it should when you uncover it. Am I the only one getting this?
[HTC Pico (Explorer)] new to hacking:
Screen turning on after pressing power button is nt a kernel issue... Stop overcharging ur phone and it will be alright... Overcharging causes this trouble... If u don't stop it... Ur device IC will short and you'll need to visit service centre... I faced the same issue but stoped overcharging and now it'd do 99% correctly...

Sent via HTC Sense
[HTC Pico (Explorer)] Deathlike:
Yeah and as soon as I change back to kernel 2.6 it's fine. It's something in the kernel. I'll check the locats this weekend.

And the screen turning on when you press the power button is normal. What isn't normal is that when you press off and on quickly the screen turns off and on a second time.
[HTC Pico (Explorer)] new to hacking:
I am talking about same I guess...

U press power button to turn the screen off.... It does turn off and turns back on quickly....??? Is this wat u wanna say?? If yes.... It's related to only what I told earlier... I confirmed this from a software engineer and service centre personnel as well...

Sent via HTC Sense
[HTC Pico (Explorer)] dhrumangajjar:
Please make a flashable for cm10

Sent from my HTC Explorer A310e
[HTC Pico (Explorer)] Rishik999:
This is an hardware problem & have been reported by many HTC explorer users :(

The only way out is using third party apps or Google play apps

Awesome on/off is an app u can try

Or if u are on cm9/cm10 rom u can use the volume rockers to turn on the screen :D

I hope this is helpful :thumbup:
[HTC Pico (Explorer)] #define:
There is a soln...

But it involves opening up your phone down to its board...

I tried it and haven't faced the power button problem since...

Sent from my Nexus 7

---------- Post added at 01:35 AM ---------- Previous post was at 01:30 AM ----------

I can make a tutorial(pics and all), if you guys want...

Sent from my Nexus 7
[HTC Pico (Explorer)] oblikas:
Make it bro,it will be useful for explorer users
[HTC Pico (Explorer)] Deathlike:
So, the kernel 3.0 doing this while the 2.6 doesn't is a hardware problem? Lol. Perhaps I'm not explaining correctly... Here is a step by step:

The screen is on. Press the power button to turn off the screen. Right after, you press it again (less than a second after, as quickly as possible) to turn it on again. Result: the screen will turn on, off and on and it stays on after that. IF you wait 2 seconds between the turning off and turning on, it doesn't behave like that.

In the kernel 2.6 you can do this and the screen doesn't go mad. I'll post 2 videos with the difference. It's not a hardware fault!

Edit1: Here are the videos:

Kernel 2.6

[YOUTUBE]aIu_qeFUKGQ[/YOUTUBE]

Kernel 3.0

[YOUTUBE]nWblltRB_5A[/YOUTUBE]

Edit2: This isn't a big bug, I know that. The problem is that this also happens during a call, if you keep covering and uncovering the proximity sensor, the screen eventually stays off. On kernel 2.6, if you keep doing that, the screen goes off when the proximity sensor is covered, and on when it's not, all the times, it doesn't "bug".
[HTC Pico (Explorer)] Hpsgill:
Guys turn off

Screen off animation

It works for me
[HTC Pico (Explorer)] new to hacking:
Buddy.... Now I got ya... I'd suggest you not to fiddle with power button so much.... It will make it behave weird and will make it unresponsive later... It's very delicate in HTC explorer... Still if u want to go ahead and fix it up... I wait atleast for a second in pressing it twice.. rather when I try wat u do in my device it works like a charm nothing like you tell us... It happens only when I do this thing at lockscreen and this happens in my brother's Desire C and One X+ as well...

Sent via HTC Sense
[HTC Pico (Explorer)] #define:
My bad..

I thought you were referring to the multiple presses registered on the buttons, even though you press once...

I have a solution for that...

Sent from my Nexus 7
[HTC Pico (Explorer)] BleedingIris:
Post it anyway. Some are having hardware problems as well.

New to forum?

cm10 htc a310e Smoother than butter and broke Cam/corder
[HTC Pico (Explorer)] #define:
Me??

The hardware tutorial??

Sent from my Nexus 7
[HTC Pico (Explorer)] BleedingIris:
Yup... I'm sure many are having similar problems.

New to forum?

cm10 htc a310e Smoother than butter and broke Cam/corder

---------- Post added at 04:18 PM ---------- Previous post was at 04:17 PM ----------

With rooting and recovery I'm sure even more will break thier power key sooner /later.

Post it.

New to forum?

cm10 htc a310e Smoother than butter and broke Cam/corder
[HTC Pico (Explorer)] #define:
Ok...

Underway...

Sent from my Nexus 7
[HTC Pico (Explorer)] zgintasz:
I can confirm it, same on sense 4 build #6, there is no screen off animation. But not a big problem, I don't need to press that button so often.
[HTC Pico (Explorer)] Deathlike:
I know it's not a big problem. The thing is, as I reported a few weeks ago, on kernel 3.0 when you turn off the screen (most of the times anyway) only the backlight stays off. If you point a flashlight or put it against sunlight you are able to see the lock screen. It will eventually turn off, but not as fast it did on 2.6 (sometimes it stays like that quite a few minutes). It probably isn't anything special, but it's worth mentioning as it's a bug. It is probably related to the screen turning off like I showed in the video. And it certainly isn't good for battery life. :P
[HTC Pico (Explorer)] droidblade:
Err.. Can anyone please provide a download link ?
[HTC Pico (Explorer)] BleedingIris:
New to forum?

cm10 htc a310e Smoother than butter and broke Cam/corder
[HTC Pico (Explorer)] BleedingIris:
??????

New to forum?

cm10 htc a310e Smoother than butter and broke Cam/corder
[HTC Pico (Explorer)] #define:
The tutorial is ready, i'm looking for hq cam to take good pics...

Will post soon... In a couple days max...

Sent from my Nexus 7
[HTC Pico (Explorer)] Cristian_berme:
Maybe a stupid question... There's any way to add BLN support to this kernel? Just asking, I don't know almost nothing about Android Kernel development.

PS: In case you don't know, with BLN support we can use the touch buttons' leds as notification led.
[HTC Pico (Explorer)] russelldias:
Kernel Compiled with Latest Source's

Hey Guy's.

Plz Hit thanks!
[HTC Pico (Explorer)] BatsDroid:
Can I flash this Kernel on any ROM?
[HTC Pico (Explorer)] chikanchilly:
Dude, I already made. Check in cm10 thread

Sent from my potato with a microchip
[HTC Pico (Explorer)] akshay4:
so what difference does it make ...? does it fix wifi toggle problem...?:confused:
[HTC Pico (Explorer)] russelldias:
For Cm10

---------- Post added at 08:36 PM ---------- Previous post was at 08:30 PM ----------

Like i said "THERE IS NOTHING NEW IN THIS KERNEL JUST COMPILED WITH LATEST SOURCES" -_-
[HTC Pico (Explorer)] BleedingIris:
Clocked?

CM10 HTC A310E ?>? & ??

▶LâTêS†↭ⓛⓘⓝⓚⓢ™◀
[HTC Pico (Explorer)] russelldias:
Nope
[HTC Pico (Explorer)] BleedingIris:
Clockable?

CM10 HTC A310E ?>? & ??

▶LâTêS†↭ⓛⓘⓝⓚⓢ™◀
[HTC Pico (Explorer)] russelldias:
Why not :)
[HTC Pico (Explorer)] Sachin Thomas:
Some guys are trying to overclock the Defy Mini (MSM7225A)

http://translate.google.co.in/translate?hl=en&sl=de&u=http://www.android-hilfe.de/motorola-defy-mini-forum/391550-defy-mini-ubertakten-bzw-snapdragon-s1-auf-standarttakt.html

Let's hope that they can find a method that doesn't burn NANDs
[HTC Pico (Explorer)] cornholio_rules:
Guys, are you sure this kernel can handle ext4 sd partitions? :confused: Is it tested?
[HTC Pico (Explorer)] sherif_linkin:
Yeah
[HTC Pico (Explorer)] BleedingIris:
Here's the statement:

Mount2SD /s2e/link2SD+kernel 3+ext4=bootstuck

If you exchange "any" of the above 3,it works

『Moved by touch™』 ?

LâTêS†↭ⓛⓘⓝⓚⓢ™CM10 HTC A310E
[HTC Pico (Explorer)] thewisenerd:
I saw some 7x27a v4l2 camera update patches here: https://www.codeaurora.org/patches/quic/le/

Is there any way they would be useful in helping with the ION/PMEM hackery?
[HTC Pico (Explorer)] galaxyfreak:
Looks like MT9T013 was kicked out during V4L2 update (and there is no other sensor we can port from - cute_prince)
[HTC Pico (Explorer)] thewisenerd:
Ok, why not try booting the CAF kernel (msm-3.0)?

Our current kernel is quite stable :fingers-crossed:
[HTC Pico (Explorer)] kirmaniarslan:
if our LCD driver is supported mipi_novatek_cmd_hvga_pt.c :rolleyes: or we can use from our source ..!!
[HTC Pico (Explorer)] thewisenerd:
Maybe its possible... The whole branch is around 800 MB, so, cloned it, squashed it, uploaded it as a single commit here (now around ~100 MB) for easier access. Let's try getting it booted, if possible :)

Tag all the developers!
[HTC Pico (Explorer)] thewisenerd:
Short term pains, long term gains?
[HTC Pico (Explorer)] shyamSGY:
[MENTION=1890630]Nitish[/MENTION]_cbe
[HTC Pico (Explorer)] mirhl:
I love necroposting, and I can not lie

Well, well, well..

It might have flown under the radar of everybody, but since years we always had a candidate *from mainline*.

If I understand properly the Rosetta Stone of micron imaging namings, MT9T112 should be the second revision of MT9T111 - in turn, supposedly, their SoC solution integrating MT9T013 sensor.

I first had some suspicion of this, after I noticed their specs matched (let alone, they started shipping one shortly after the other)

But the total proof imo, was finding among just about anything else different, the same identical init registers of the old dream drivers.
[HTC Pico (Explorer)] sakindia123:
Also does anyone have the time to diff stock HTC sources against 2.6.38.6 stock CAF sources?it will help Us to find out what exactly HTC changed
[HTC Pico (Explorer)] cute_prince:
@sakindia123

Can you provide download link to vanilla 2.6.38.6 CAF kernel source?
[HTC Pico (Explorer)] sakindia123:
https://www.codeaurora.org/gitweb/q...it;h=f5412be599602124d2bdd49947b231dd77c0bf99
[HTC Pico (Explorer)] vrshivashankar:
Welcome bro
[HTC Pico (Explorer)] cute_prince:
Is it possible to download this particular directory only without downloading the entire git ?
[HTC Pico (Explorer)] cdesai:
Huh?

You should be able to get just that commit as a patch which you can then apply via git am.

Sent from my GT-P1000
[HTC Pico (Explorer)] cute_prince:
Ok guys, here I am uploading an archive that contains diff between vanilla Linux 2.6.38.6 kernel and Pico 2.6.38.6 kernel :)

For convenience I have created a seperate folder (PATCHED_FILES) that contains individual patch files per changed files ..

Also another folder (NEW_FILES) that contains new files added by HTC into vanilla Linux kernel :)

EDIT : Note that, for diff'ing I have used vanilla Linux kernel (the one you could download from kernel.org) INSTEAD of CAF Linux kernel .
[HTC Pico (Explorer)] sakindia123:
If u diff'ed it against msm7627a_surf,it would have been better....ported to our architecture
[HTC Pico (Explorer)] sakindia123:
Hey,observed something today while "casually" browsing

The Andromadus team have ported the HTC One V (primou) 's kernel 3.x to older(abandoned by htc) msm7x30 devices(desire s/desire hd/desire z/mytouch 4g).They have it fully functional,and enjoying the real project butter(unlike us,where TARGET_NO_HW_VSYNC is set to true,otherwise display is ******)

Now going to the point,their stock .35 kernel has MTD enabled in the defconfig,with no mention of YAFFS(https://github.com/mdeejay/msm7x30-gb-kernel/blob/master/arch/arm/configs/ace_defconfig) (partitions mounted as ext4) .Now see this commit-

https://github.com/Flemmard/htc7x30-3.0/commit/2ff9eb1723c388db8d5c4c085a94cd2d9a2c04b2

On their 3.x port,they disabled MTD,only ext4 enabled,still no yaffs.

What i am wondering is,how the hell can u do away with MTD?

This might be something stopping the pico kernel from booting
[HTC Pico (Explorer)] #define:
I thought the NAND storage has yaffs2 file system.. And someone said the partitions werent mounting correctly... Whats the progress exactly?? Last i remember you gave some commits for usb.. have they worked??
[HTC Pico (Explorer)] cute_prince:
Goddamn usb :screwy: .. tried every way to make it work but still a no go ..
[HTC Pico (Explorer)] #define:
Tried an emulator to debug?? That's our last resort now before dissecting the phone for jtag.../uart...
[HTC Pico (Explorer)] cute_prince:
I haven't tried that yet ... Actually I am not quite familiar with debugging kernels via Emulator . I know goldfish kernel can be debugged via emulator but is it possible to debug an MSM kernel via emulator ?
[HTC Pico (Explorer)] #define:
Well, we can try... qemu-arm or qemu-system-arm can help... we'll specify the cpu as 'cortex-a8'.. I know ours is cortex a5, but that platform isn't available.. so we take the next one, as it'll be backwards compatible...
[HTC Pico (Explorer)] cute_prince:
Ok bro ... But what about peripheral devices like USB controller, gpu etc specific to our architecture ? How can qemu emulate them ?
[HTC Pico (Explorer)] #define:
It can't... but we only need to run specific lines from the kernel code right?? For instance, the first few lines need to run so that we can figure out why it isn't initializing properly... after that, we can probably single step the code and hope to skip references to some peripherals.. we can emulate an sd card, usb, pflash, bluetooth even, mtdblock(related to NAND probably) a cdrom, hdd, etc with qemu.. just have a look at the qemu help file and "man" qemu.. there's a lot of features.. I can't make sense out of all of them, but you probably will.. :)
[HTC Pico (Explorer)] Lokesh02426:
U r the guys who make little pico alive.;):)
[HTC Pico (Explorer)] sakindia123:
Yo,what do u guys think about this.

Golfu didnt seem to have a hard coded band partition,but its worth a try
[HTC Pico (Explorer)] BleedingIris:
Just had a crazy idea for logs rolling out fast:well I think you can take a video(or a fast burst camera[if you have another Android phone even apps like ucam might come in handy]) when it goes with the log... then slow them to read it on computer:rolleyes::p
[HTC Pico (Explorer)] derefas:
Why you can't try to use clean golf kernel with small changes like memory banks , MMU, and other ? I think golf board config can be boot with changes
[HTC Pico (Explorer)] sakindia123:
We are already using clean golf kernel,and have already ported most things from golf board to pico

Main problem is that golf is formatted as emmc and pico as mtd
[HTC Pico (Explorer)] cute_prince:
Hm.. sounds gud.. I'll try to hardcode our partition layout as they suggest :)

I tried to compile the kernel without mtd nd yaffs support as per your previous post .. still it doesn't mount partition correctly..
[HTC Pico (Explorer)] galaxyfreak:
I already said this but sakindia replied that you need cam with amazing FPS for this
[HTC Pico (Explorer)] siddharth1102:
It was me LOL

Sorry to spam :-p
[HTC Pico (Explorer)] cute_prince:
[UPDATE]

Good news guys, I fixed the partition mounting problem :)

The problem was missing NAND Controller driver.

Now the most exciting part is that kernel got past HTC splash screen and I can see the AOKP bootanimation :cool: ... But just before showing the home screen, phone restarts ..

Well, guys we are very close to getting a working 3.x kernel :)
[HTC Pico (Explorer)] sakindia123:
but i cant u cant debug as usb is still broken? :(

i will try porting golfu board now

dont forget to push our changes to git,cuteprince :)
[HTC Pico (Explorer)] ngoralph:
good progress:cool: have you tried using stock rom??? maybe stock rom would work :)
[HTC Pico (Explorer)] oblikas:
Yeah,good job cute prince ! I want my Pico Alive:(
[HTC Pico (Explorer)] cute_prince:
Yes bro... I am desperately trying to fix USB, Because once the bootanimation starts showing fbcon becomes useless

We must fix USB for further debugging .. The main problem is Desire C uses ChipIdea USB controller (CI13xxx) where as our Pico uses MSM72K USB controller .. So Desire C kernel source is missing the required driver files for Pico .. We must port it and have to change several options in defconfig .
[HTC Pico (Explorer)] sakindia123:
yo,i found a device with linux 3.x and that uses the msm72k controller,Htc Desire S

https://github.com/Andromadus/htc7x30-3.0/blob/andromadus/arch/arm/configs/saga_defconfig

what say about porting it's usb driver?

of course we will have to recompile android with approriate changes to vold configuration
[HTC Pico (Explorer)] #define:
Hey guys.. If the kernel lets us reach the bootanimation now, could we try using ADB??

Make a flashable zip, boot from a recovery, start a logcat, and the flash the kernel.. Would that work??
[HTC Pico (Explorer)] sakindia123:
le usb.broken :D

btw,cute_prince,developer cdesai says "Since it executes init already, you can debug it by adding a service in init to log somewhere, sdcard would be a nice place to log to."
[HTC Pico (Explorer)] cute_prince:
Yes bro, definitely we can use its USB driver ... I'm gonna try that now :)
[HTC Pico (Explorer)] sakindia123:
done

https://github.com/sakindia123/htc_pico_kernel_3.x/commit/0cb32864d7a9193658ac8ba363df36149025037d

thought drivers/usb/gadget/android.c needs more porting for msm72k specific changes

edit: oops.your changes conflict with mine,will have to revert mine...
[HTC Pico (Explorer)] cute_prince:
Guys, I have commited my git with all updates :)

Besides correcting partition mount issues, this update also contains some other major changes.
[HTC Pico (Explorer)] sakindia123:
hmm compiled and flashed the kernel on a neighbour's pico running cm10.

it barely passes the htc splashscreen,and reboots another time before bootanimation,then reboots into recovery.

Usb still is broken with desire s msm72k usb controller.

however ,the scenario is just like cm7 in its earlier days :)

try what cdesai said, "Since it executes init already, you can debug it by adding a service in init to log somewhere, sdcard would be a nice place to log to."
[HTC Pico (Explorer)] galaxyfreak:
WTF?
[HTC Pico (Explorer)] cute_prince:
It wont work with CM10 because this is stock 3.0.16 kernel which was designed for ICS ..where as CM10 is JB based

Test this kernel with CM9 or AOKP . It will run upto bootanimation :)
[HTC Pico (Explorer)] sakindia123:
Um our ICS kernel ran on jb without any changes
[HTC Pico (Explorer)] cute_prince:
ok bro .. lemme check this kernel with CM10
[HTC Pico (Explorer)] flowish:
nice to hear that , now we can start a new kernel development. congratulations cute_prince :good: good job !
[HTC Pico (Explorer)] acedexplorerABL:
+1

I was reading this thread, and the main problems i think we are facing are that golf is formatted in emmc while explorer in in mtd...

cant we reformat the pico in emmc? im not sure about this, but i guess we can format from yaffs2 to ext4. :/

USB is not working... :crying:

ill do a search for the same boards of pico but running a linux kernel 3... :)

thats the best noobs like me can help.

Cheers to all!
[HTC Pico (Explorer)] Adi_Pat:
Off topic, but this was needed.

Go read about flash memory.
[HTC Pico (Explorer)] cute_prince:
Guys, I forgot to include an update in the previous commit. So if you want to test the kernel you can now download source from my github

OR if someone already dwnloaded from sakindia's repo then replace drivers/mtd/devices/Kconfig with the attached one ..

NOTE: rename Kconfig.txt to Kconfig

@sakindia123: bro, compile kernel with this change. It should run upto bootanimation of CM10 as well.
[HTC Pico (Explorer)] immortal_yash:
Difference???
[HTC Pico (Explorer)] galaxyfreak:
epic as always!

---------- Post added at 04:57 PM ---------- Previous post was at 04:55 PM ----------

https://github.com/cuteprince/htc_pico_kernel_3.x/commit/a909354ff13eefd2639f0e06aca8b8bebb049a96
[HTC Pico (Explorer)] cute_prince:
The old Kconfig file contained an unnecessary dependency which prevented the NAND Controller driver ( msm_nand.c ) from compiling.

That was the reason why sakindia123 couldn't get upto bootanimation in CM10 :)
[HTC Pico (Explorer)] sakindia123:
It enables msm_nand file to compile
[HTC Pico (Explorer)] Adi_Pat:
As per my knowledge, you may have to change the lunfile paths as per new kernel for sdcards to work.

Recompile the ROM with the change.
[HTC Pico (Explorer)] sakindia123:
i still cant get upto bootanimation in cm10 :(

msm_nand compiles but same result
[HTC Pico (Explorer)] cute_prince:
Thats strange bro :confused: ... I can get upto bootanimation in CM10 as well

Looks like your repo is completely messed up ... Download the kernel source from my git and compile bro

Make sure you are using proper ramdisk and tell me the result :)
[HTC Pico (Explorer)] acedexplorerABL:
Most probably you age trolling. And if not, I really don't care. The one thing I understand now is that recognized developers read books while in stomach. And then expect the dance from others too. That's it.

Nice pics btw
[HTC Pico (Explorer)] Santo_Rock:
You You You You You You You You You You You You Are Just Amazing... :D :D

I think If We Get This Kernel..Half of the Problems will be Solved... Waiting ... For It Eagerly :D :)
[HTC Pico (Explorer)] DarkWebster:
Wow this is great news guys.

Tell me, what kind of problems can now be tackled with this kernel on Android >4.0? I guess APIs?
[HTC Pico (Explorer)] AmalD:
wil it work with pico o_O

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

ext4 converter that we used for SGY :D
[HTC Pico (Explorer)] Sachin Thomas:
Of course, and the other half will be solved if you stop spamming in a dev thread :p
[HTC Pico (Explorer)] derefas:
to cuteprince, about restarting - it could be battery problem dude, i get same experience oh htc hd mini while porting kernel

battery always show 0% cause battery driver don't work properly

also it might pm problem
[HTC Pico (Explorer)] Santo_Rock:
Lol okay!
[HTC Pico (Explorer)] sakindia123:
:(

i use your repository cuteprince without any changes but still not able to get to bootanimation :(
[HTC Pico (Explorer)] lirokoa:
Hi there, if you still get those kind of warning:

You can try a different toochain. That was happening to me with cm10 prebuilt toolchain but not with CM9 one even if they were the same version.
[HTC Pico (Explorer)] Yannou90:
Recovery

Hi everybody

I successful compil your kernel and made a custom recovery with the zImage : it boot :laugh: , stay alive maybe 1 minutes and reboot.

I can go in recovery an select some item but a lot of there is a lot

of error like can't find cache partion , can't find misc , ...

It 's maybe init in ramdisk that's not compatible with the kernel , the key don't work propely

I mode the recovery to add fstab and a script in /system/etc/init.d to have log on sdcard but it don't work

I have a boot.img based on 2.6.38.6sav@savva#9 for this rom http://xdaforums.com/showthread.php?t=1986910

Boot but no boot animation->reboot

I do the same with an original boot.img and rom and the same

The only thing I can see is with recovery , maybe more simple to boot ?

I update your repo and try new change

Thanks for your hard work !