yashsingh1/xdaforums huggingface dataset:
[HTC Pico (Explorer)] DanceOff:
Will do it.

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

It was a mess, leave it.
[HTC Pico (Explorer)] Adi_Pat:
Dude seriously? We are taking about porting Linux Kernel to a board here.And you are taking about numbers and integers here. -_- FYI no language is simple to master. AND C ISNT.

@Sarthak forking the repo, will help with whatever coding I can. Just to improve my programming skills more.

Did you guys give a thought about kexec? You could possibly boot a live kernel over your booted one (Google for it) I couldn't due to some **** with the bootloader on my OMAP. But give it a try on ur msm7k till you guys can get UART.
[HTC Pico (Explorer)] hell_lock:
I made a web browser in it..

No off topic now!!
[HTC Pico (Explorer)] hell_lock:
Hey op.. What exactly did u do to combine 2 sources together? Maybe u missed some file?
[HTC Pico (Explorer)] Adi_Pat:
Sent you another pull request, somehow trying to get rid of that **** error (Which should be a warning!) Defined but unused function. Will try to make it compile properly today. But rest is upto you :) i.e testing and debugging.. can help fix up stuff though
[HTC Pico (Explorer)] cute_prince:
The 'defined but unused function' errors are created by 'Wundef' and 'Werror' gcc flags in the kernel Makefile :) . To get rid of this remove '-Wundef' and '-Werror' options from KBUILD_CFLAGS (on line 373 of kernel Makefile)
[HTC Pico (Explorer)] Adi_Pat:
Have u tried it?

I tried removing -Wundef , didn't work. -Werror was set for implicit function declaration.. which was correct. I compared the Makefile with another Source(3.0.y, and I don't get error for unused functions in it) the flags were same. So I don't know why I get a fatal warning in this source.
[HTC Pico (Explorer)] cute_prince:
Yes dude, battery is fixed :)
[HTC Pico (Explorer)] sakindia123:
hey can u send me your config?(as usb is broken,cant pull it)

other bugs-->once the display timeouts,phone reboots :0
[HTC Pico (Explorer)] raystriker:
Great Work:highfive::good::laugh::D:D
[HTC Pico (Explorer)] cute_prince:
dude, I didnt mean USB storage . I was saying that both sdcard and sdext storage partitions were mounted and accessible from within the device ( See its wriitten in bracket )

USB storage and ADB is still broken
[HTC Pico (Explorer)] sakindia123:
yes,a couple of reboots fixed the internal sd-card

could u upload your defconfig?i will merge the cm9 caf kgsl drivers
[HTC Pico (Explorer)] cute_prince:
Ok bro, see attachment

Also I made many updations to our board specific file and other drivers .. Now I am commiting the updations to my git
[HTC Pico (Explorer)] lirokoa:
Cam shouldnt be hard to fix, since all we need is present in the kernel. Did you try to enable the sensor? (need CONFIG_MT9T013, CONFIG_MSM_CAMERA_SENSOR, CONFIG_QUP_EXCLUSIVE_TO_CAMERA)
[HTC Pico (Explorer)] Sachin Thomas:
Data service doesn't work really, it's worse than CM10 (with old kernel). The EDGE indicator appears but the signal bars never turn blue :)

This kernel may bring us stable mobile data in CM10 when it's fully fixed :highfive:

EDIT:

The other person can't hear me in phone calls. Low volume???
[HTC Pico (Explorer)] oblikas:
Gooood job,guys !
[HTC Pico (Explorer)] sakindia123:
camera works!

try lirokoa's patch for bt

https://github.com/lirokoa/htc_pico_kernel/commit/d330bf63695e1a960bbfe7c628a25b47f9dfc47d

https://github.com/lirokoa/htc_pico_kernel/commit/948c00d399c859f673b7f98f7895d34ccc026fb0#diff-2

boot.img uploaded.flash via fastboot

EDIT- guys,check this--> https://github.com/sakindia123/htc_...1c7377395e530acfd8e1e787b97fba9039759c#diff-1

will build board-bahama.c have any side-effects?works on pico,golfu builds it too
[HTC Pico (Explorer)] cute_prince:
I have committed all my updations to my git :)

@lirokoa,

Thanks man, camera works now
[HTC Pico (Explorer)] subh98:
Does it enable real project butter in cm10

Sorry devs for spamming, please don't be harsh cause i am a noob. I wanted to ask that whether flashing this kernel will enable true project butter or not. If it does, i am ready to forgo all other bugs.
[HTC Pico (Explorer)] ze0:
well our cm10 should also be updated to take full advantage of vsync triple buffer : project butter

wait up a day im sure our splendid dev's will release this kernel and we will get fully working JB (CM10) or JB ports
[HTC Pico (Explorer)] Yannou90:
@cuteprince

Oufffff

Just open my eyes this morning and WHAT ?????

You never sleep :laugh:

I sync your git repo and try compiling too

Really good job !!
[HTC Pico (Explorer)] immortal_yash:
please update the 1st post :)
[HTC Pico (Explorer)] gnustomp:
Is it just me or does the kernel still not boot? I'm on Sense 4.0A Build 2. I haven't flashed yet, but that shouldn't make a difference.
[HTC Pico (Explorer)] cute_prince:
This is because Sense 4.0 Rom uses completely different ramdisk .. You need to unpack boot.img and replace the ramdisk with Sense 4.0's ramdisk :)
[HTC Pico (Explorer)] galaxyfreak:
THAAAANKSSSS! ALL OF YOU!
[HTC Pico (Explorer)] Yannou90:
For use with sense 4 base rom , someone could try this boot.img

don't flash just try ;)

fastboot boot boot.img
[HTC Pico (Explorer)] galaxyfreak:
2. Questions!

I'm really happy, this thread was dead, but when all devs come you see we can boot kernel in 2 days :D great work!

1) Does it work on CM10?

2) PLEASE focus to fix WiFi, its important to me :) My explorer is entering a new year with 3.0 kernel :D
[HTC Pico (Explorer)] Yannou90:
Please try the boot.img first

You must have the modules compiling with the kernel to have a full working system

This is the first one port kernel 3.x.x.x for pico , it cannot be full optimised

The dev have done a hard work well please be patient , thanks
[HTC Pico (Explorer)] shekhutanwar:
Tested it with Sense 4

Successfully booted upto Sense 4 lockscreen...

But power button and unlocking of device not working... Touch screen not responding. Only showing lockscreen. After screen OFF... No way to wake up device... Removed battery then booted with old kernal 2.xxx...
[HTC Pico (Explorer)] galaxyfreak:
Which one to try, sak's or cuteprince's?
[HTC Pico (Explorer)] chikanchilly:
saks
[HTC Pico (Explorer)] galaxyfreak:
I put boot.img in CM10B3 zip seems I'm in bootloop?? Does it work just on CM9?

EDIT - TRIED FLASHING VIA ZIP AND FASTBOOT SAME THING...WILL TRY ON CM9 now...4/10 bulid..have it already downloaded :)
[HTC Pico (Explorer)] ze0:
ADB Fastboot
[HTC Pico (Explorer)] cute_prince:
For testing:

If you are using Sense 4 based rom use boot.img posted by Yannou90

If you are using Cyanogenmod based roms (CM9/CM10) use boot.img posted by me or sakindia
[HTC Pico (Explorer)] galaxyfreak:
@cute_prince I'm using CM10B3 and it bootloops -.-
[HTC Pico (Explorer)] sakindia123:
Open cm9/10 boardconfig.See the line that says

"TARGET_USE_CUSTOM_LUN_FILE_PATH := "/sys/devices/platform/usb_mass_storage/lun0/file"

BOARD_UMS_LUNFILE := "/sys/devices/platform/usb_mass_storage/lun0/file""

change it to "TARGET_USE_CUSTOM_LUN_FILE_PATH := /sys/class/android_usb/android0/f_mass_storage/lun0/file"

Recompile android after a make clean(other boardconfig changes arent picked up)

i hope that fixes UMT!
[HTC Pico (Explorer)] galaxyfreak:
I know you will fix it soon, and im spamming now but ill post it :
[HTC Pico (Explorer)] lirokoa:
For audio you can try what I did in stock kernel, check this commit:

https://github.com/lirokoa/htc_pico_kernel/commit/bd46d5ab7b18db9c885681f67f0cbe0430e2e7e1

Especially modification board_pico.c other modifications are just backport from golf kernel to pico stock kernel. Maybe it will help for video recording.

This should work if you use audio HAL from my device tree (CM9 or CM10)
[HTC Pico (Explorer)] galaxyfreak:
Tested some features with CM9..

- Lag? WTF is that? SMOOTH!

- Camera (taking pics and panorama works video recording not, same thing as CM10 before b2, you press rec button, button blink but it doesnt start recording)

- Video playback works

- WiFi doesnt work

- Power button doesnt work

And audio problems is confusing me, Vol down works but Vol up does not! **** LOGIC! And why audio playback works but its quiet? Im not a dev, but this seems like easy-to-fix problem?
[HTC Pico (Explorer)] deepsagarj:
you sir made my day

booted and volume - button barely worked for me but was more than happy to see it boot

:thumbup:
[HTC Pico (Explorer)] lirokoa:
There is audio routing problem. Easy to fix, see my previous post, that should work.
[HTC Pico (Explorer)] galaxyfreak:
You try. I'm that unlucky that big truck cut internet cables outside:( Using 3G WiFi thetering, 1GB traffic limit, so I cant download anything large now (kernel source in this case)
[HTC Pico (Explorer)] sakindia123:
tried that,however doesnt work,breaks the lower volume button as well(though audio quality is excellent and quite loud)

On a side note,am i the only one who has observed that the kernel is highly unstable?reboots after about 1 min of booting up :(
[HTC Pico (Explorer)] galaxyfreak:
it doesnt reboot! tried for 5-10mins
[HTC Pico (Explorer)] cute_prince:
Yes, the kernel is very stable for me too ... I am using the kernel for more than 3 hours...Still not a single reboot :cool:

@galaxyfreak,

For testing with CM10, if you are using my boot.img then you need to unpack boot.img and replace the ramdisk with CM10 ramdisk. Otherwise it may bootloop

@sakindia,

dude, compile kernel from my git and see if your phone still reboots after 1 min
[HTC Pico (Explorer)] sakindia123:
did that .same result,even flashed the kernel u posted,same result...screen locks up after 1 min and phone reboots after 2-3 sec
[HTC Pico (Explorer)] cute_prince:
WiFi is actually fixed in kernel ..I have already enabled support for bcmdhd module :)

---------- Post added at 06:54 PM ---------- Previous post was at 06:53 PM ----------

Which ROM are you using ?
[HTC Pico (Explorer)] sakindia123:
CyanogenMod 9 Build#9
[HTC Pico (Explorer)] galaxyfreak:
Tried with sakindia's boot.img, But nevermind. Ill try kernel again when you guys fix WiFi or/and power button. :D I hope you will fix it very soon.
[HTC Pico (Explorer)] immortal_yash:
i flashed boot.img by sarthak and yes it rebooted after 1 min of use.... :(
[HTC Pico (Explorer)] cute_prince:
dude flash my boot.img and tell if it is rebooting after 1 min
[HTC Pico (Explorer)] Nihar.G:
Hey, cute_prince! Awesome work! :D

Can I use your kernel source as it is and compile a CM10 build ? (Full android build, not just kernel)

Or I need to make any changes ?
[HTC Pico (Explorer)] acedexplorerABL:
Congratulations to all the developers sweating on Linux kernel 3 first of all.

What is the approx size for the sources of the kernel? 1GB? I really want to compile it and test. I'm a but impatient to wait for new boot images.

Also who is having the latest sources without any problems like one sakindia is reporting?

Thanks again.

:)
[HTC Pico (Explorer)] immortal_yash:
ok downloading now :)
[HTC Pico (Explorer)] cute_prince:
Yes, you can :)

No changes are required. The kernel source is fully compilable.

Also when creating boot.img make sure you are using CM10 ramdisk :)
[HTC Pico (Explorer)] Nihar.G:
I'll be using inline kernel building! So everything is done automatically by the compiler! :D

So, where and how to put the CM10 RAMdisk in boot.img ?

(Forgive me if I asked a noobish question, I am a beginner )
[HTC Pico (Explorer)] immortal_yash:
Ok flashed boot.img by cute_prince it rebooted much faster then the sarthak's kernel :( highly unstable on CM9 build 11 :(
[HTC Pico (Explorer)] Hpsgill:
Can we use this kernal on sense 4 from????
[HTC Pico (Explorer)] immortal_yash:
use the boot.img by yannou70 for sense4 it is compatible :)
[HTC Pico (Explorer)] himanshugupta2k9:
Yes you can.
[HTC Pico (Explorer)] cute_prince:
Well, that sucks ..

The boot.img file uploaded by me contains AOKP ramdisk ... Change that ramdisk with ramdisk from your rom and try again bro :)
[HTC Pico (Explorer)] bulletproof136:
So this mean its stable in aokp rom :rolleyes:
[HTC Pico (Explorer)] galaxyfreak:
Tried both, your and sarthak's boot img and stuck at "Turning on WiFi..."
[HTC Pico (Explorer)] cute_prince:
Yes, the the boot.img uploaded by me is stable in AOKP ROM ( I am using AOKP M6 Build 8 from Flowish ) .. Also I am not using any memory increasing scripts. Its been more than 4 hours I am using without a single reboot.

You can check the stability by downloading AOKP M6 Build 8 from Flowish and boot it with my boot.img

Do not put boot.img in zip file. Use fastboot boot boot.img command instead

Also let the old kernel to perform first time booting of ROM .. There after you can test with my boot.img
[HTC Pico (Explorer)] Hpsgill:
why we cant put ur boot.img in rom and flash it

does it will cause damage???
[HTC Pico (Explorer)] sakindia123:
Insmod bcmdhd.ko :P
[HTC Pico (Explorer)] galaxyfreak:
adb shell insmod? how when USB doesnt work? Terminal Emulator?
[HTC Pico (Explorer)] #define:
You can do it in recovery... or you can make a flashable zip...
[HTC Pico (Explorer)] raystriker:
i really need to know, does wifi work? I am going to use cute_prince's kernel.

And btw devs gr8 work! Especially cute_prince.
[HTC Pico (Explorer)] derefas:
Guys , try this https://github.com/savvas1/htc_pico_kernel_3.x/commit/379115e9c0c75036c0ff638ddad531ab083dc4b0, i created small patch
[HTC Pico (Explorer)] DanceOff:
What's changed?
[HTC Pico (Explorer)] cute_prince:
Now compiling with your patch..

UPDATE: USB still not working ..However, dmesg shows that USB driver is loaded successfully and platform devices are registering fine.. So actually some minor problem is preventing us from using USB
[HTC Pico (Explorer)] derefas:
@What's changed? @

I added usb diag
[HTC Pico (Explorer)] cute_prince:
UPDATE: USB still not working ..However, dmesg shows that USB driver is loaded successfully and platform devices are registering fine.. So actually some minor problem is preventing us from using USB
[HTC Pico (Explorer)] thippesh:
Some one tell which one can i flash through recovery mode

Im in cm9 build 11
[HTC Pico (Explorer)] Hpsgill:
Good to see derefas here

Now all Pico developers are working great

Good teamwork guys

Sorry for spamming :o
[HTC Pico (Explorer)] immortal_yash:
no not yet stable test on build 11 :( wait for a stable release :)

:good: for every developer working for this kernel :)
[HTC Pico (Explorer)] zgintasz:
One more tester here. Tried Sarthak's build in post #190 on cm9 build #11 with mounts2sd. I was waiting for a ~20mins, no random reboot.

BTW, I think it's a lot smoother!!

You guys did really amazing job, I'm glad we have developers like you :).
[HTC Pico (Explorer)] acedexplorerABL:
Who is having the latest repos from where i can compile one for cm10 b3?

+1 to the following

cute_prince

sakindia123

lirokoa

derefas

every one else who helped!

BTW, whats the git size?

i think i posted this before but i cant find it... -_-
[HTC Pico (Explorer)] Yannou90:
News

Sorry I have no time today

BUT

Some news for sense4 users , I've made a new boot.img and now adb work :laugh:

Acces to sim menu but just vol- work , no bootloop but no phone too:crying:

On cm9 audio camera work now but usb made reboot

Someone want to test and post log to confirm

For jaggy rom 3 boot ok , data ok , some trouble with photo and cam

I ve made all test with all modules

PS:

ICS.7z->zImage+all modules

LOG.7z->sense4 mtd+partitions+mount+lsmod+dmesg

sense_ICS_boot.img->sense4 boot.img

jaggy_boot.img->sense3 boot.img

That's all
[HTC Pico (Explorer)] gnustomp:
We need to fix USB first to debug, it will make fixing everything else a LOT easier.
[HTC Pico (Explorer)] akashpatel:
If Usb is fixed will we be able to use Usb otg on our awesome pico??
[HTC Pico (Explorer)] raystriker:
I don't think so, because first the dev's have other problems to fix.
[HTC Pico (Explorer)] shekhutanwar:
Thanks man...

i tested sense 4 boot.img on my device, successfully booted...

1.Sound is not low, its very good...as was in kernal 2.xxx.

2.Successfully booted upto lockscreen...

3.Lockscreen is GOING CRAZY...can't unlock my fone.

4.USB adb is working...
[HTC Pico (Explorer)] chikanchilly:
Usb fixed on sense 4???

Sent from my potato with a microchip
[HTC Pico (Explorer)] shekhutanwar:
Not yet, only ADB is working...Its shows that USB is connected...but phone not responding.

---------- Post added at 12:34 PM ---------- Previous post was at 12:30 PM ----------

But giving lots of errors...on booting.

Power button not working...
[HTC Pico (Explorer)] raystriker:
Any more updates coming out?:confused::victory:

Have you devs fixed anything new?:fingers-crossed:

Sorry for spamming.

and one more thing, does wifi really work?
[HTC Pico (Explorer)] galaxyfreak:
Can you make it work for CM9/CM10 :)
[HTC Pico (Explorer)] Yannou90:
For now :

just add qdsp5 driver patch by lirokoa -> sound work now with camera

add usb diag by savvas

add debug usb in configuration

add more debbug info from kernel

make new kernel and tweak init to load wifi driver

I'm compiling now , I test it and come back for a full repport

No real news ...
[HTC Pico (Explorer)] subh98:
Sorry for spamming and for being impatient but I want to ask that how will you fix USB and power button. Plz at least fix power button so that we can try it.
[HTC Pico (Explorer)] galaxyfreak:
Tried to replace bcmdhd.ko and kinceto_gan.ko in cm9 zip with ones from your zip then tried insmod bcmdhd.ko and i got exec format error. Please fix power button, its a basic thing and upload ready-to-use WiFi img (for CM10). Tired of flashing CM9 then restoring CM10.
[HTC Pico (Explorer)] Yannou90:
You must use zImage with modules

You can't load modules made with an other kernel

You don't have to flash your device !

Just use :

fastboot boot boot.img

Like this your device boot with new boot.img and when reboot is done , this is like you don't do anything
[HTC Pico (Explorer)] galaxyfreak:
I know that for kernel but i must flash CM9 it bootloops in CM10
[HTC Pico (Explorer)] sakindia123:
Move your lazy ass and change ramdisk for whatever ROM u want
[HTC Pico (Explorer)] Yannou90:
+1 :p
[HTC Pico (Explorer)] galaxyfreak:
No. As I said im lazy to download kernel tools

Yannou did you tested?
[HTC Pico (Explorer)] sakindia123:
Then don't test kernel. Lol.its just 2 mb and u just need to copy paste 2-3 commands to split boot.img
[HTC Pico (Explorer)] Yannou90:
I'm compiling , do some change , recompiling , tweak init , make boot.img , change file sysstem for sense3 , sense4 , cm9 , give log ...

My brain is out , please be patient ...
[HTC Pico (Explorer)] Yannou90:
big news

adb fixed for cm9

I know something wrong in init wen I see adb working for sense4

Made some tweak in ramdisk from cm9 and it work :cool:
[HTC Pico (Explorer)] Hpsgill:
tested adb works in cm9
[HTC Pico (Explorer)] raystriker:
this means usb now works?

Any info of wifi? :oand since adb is running, debugging's gonna get easier right?? :D
[HTC Pico (Explorer)] Yannou90:
lunfile problem for mass storage

D/Vold ( 104): Volume sdcard state changing 4 (Mounted) -> 5 (Unmounting)
D/MountService( 187): sendStorageIntent Intent { act=android.intent.action.MEDIA_EJECT dat=file:///mnt/sdcard (has extras) }
I/Vold ( 104): /mnt/secure/staging/.android_secure sucessfully unmounted
I/Vold ( 104): /mnt/secure/asec sucessfully unmounted
I/PackageManager( 187): Updating external media status from unmounted to unmounted
I/Vold ( 104): /mnt/secure/staging sucessfully unmounted
I/Vold ( 104): /mnt/sdcard unmounted sucessfully
D/Vold ( 104): Volume sdcard state changing 5 (Unmounting) -> 1 (Idle-Unmounted)
D/MountService( 187): volume state changed for /mnt/sdcard (mounted -> unmounted)
D/VoldCmdListener( 104): volume share /mnt/sdcard ums
D/DirectVolume( 104): Checking for bad partition major number
E/Vold ( 104): Unable to open ums lunfile /sys/devices/platform/usb_mass_storage/lun0/file (No such file or directory)
E/Vold ( 104): Unable to open ums lunfile /sys/class/android_usb/android0/f_mass_storage/lun/file (No such file or directory)
E/Vold ( 104): Unable to find ums lunfile for LUN 0
W/Vold ( 104): Returning OperationFailed - no handler for errno 22
E/MountService( 187): Failed to share/unshare
E/MountService( 187): com.android.server.NativeDaemonConnectorException: Cmd {volume share /mnt/sdcard ums} failed with code 400 : {volume operation failed (Invalid argument)}
E/MountService( 187): at com.android.server.NativeDaemonConnector.doCommandLocked(NativeDaemonConnector.java:281)
E/MountService( 187): at com.android.server.NativeDaemonConnector.doCommand(NativeDaemonConnector.java:241)
E/MountService( 187): at com.android.server.MountService.doShareUnshareVolume(MountService.java:574)
E/MountService( 187): at com.android.server.MountService.access$200(MountService.java:92)
E/MountService( 187): at com.android.server.MountService$UmsEnableCallBack.handleFinished(MountService.java:334)
E/MountService( 187): at com.android.server.MountService$MountServiceHandler.handleMessage(MountService.java:445)
E/MountService( 187): at android.os.Handler.dispatchMessage(Handler.java:99)
E/MountService( 187): at android.os.Looper.loop(Looper.java:137)
E/MountService( 187): at android.os.HandlerThread.run(HandlerThread.java:60)
D/MountService( 187): sendStorageIntent Intent { act=android.intent.action.MEDIA_UNMOUNTED dat=file:///mnt/sdcard (has extras) }
D/MediaScannerReceiver( 284): action: android.intent.action.MEDIA_UNMOUNTED path: /mnt/sdcard
I/StorageNotification( 257): Media {/mnt/sdcard} state changed from {mounted} -> {unmounted} (primary = true)
D/VoldCmdListener( 104): volume shared /mnt/sdcard ums
D/VoldCmdListener( 104): storage users /mnt/sdcard
[HTC Pico (Explorer)] cute_prince:
Hey guyz, I updated bcmdhd drivers :).. Will commit to my repo now

Meanwhile, I start porting CAF MSM 3.4 kernel to Pico .. :cool:

@Yannou,

You need to recompile the ROM with modified lunfile path for mass storage to work properly
[HTC Pico (Explorer)] galaxyfreak:
Make 3.0 bug free then 3.4

---------- Post added at 02:33 PM ---------- Previous post was at 02:33 PM ----------

I know but lazy
[HTC Pico (Explorer)] sakindia123:
I will start 3.6 then(or 3.8 ,if caf has it)once USB works
[HTC Pico (Explorer)] Yannou90:
BIG News !!

usb isn't broken :silly:

The rom that we use (based on android<4) must use a kernel<3

BUT

The explorer don't have (not now) this kernel

Well all dev who cook some rom have to make working "vold" with kernel 2.6.x.x

BUT

This kernel don't use the same path for lunfile

I've made some test to mount with adb the sdcard AND IT WORK :laugh:

I've made a lot of test to tweak vold.fstab but it's dead :crying:

My wife have a DHD with kernel <3.x.x.x and it use the same lunfile path like our kernel ...

IT WORK !!!!!!

Or some dev must rebuilt the rom for a full ICS system , or they can tweak it with a vold build for ICS

For test only , to use with my last boot.img:

1) Reboot in recovery

adb reboot recovery

2) In recovery

adb shell
mount system
mv /system/bin/vold /system/bin/vold.bak
exit

3) Push vold

adb push /path/to/vold /system/bin/vold
adb shell chmod 0755 /system/bin/vold

4) Reboot in bootloader

adb reboot bootloader

5)Flash last boot.img

fastboot boot /path/to/boot.img

The device reboot and usb work : adb + sdcard + mass storage

Back from your vold :

1)Reboot in recovery

adb reboot recovery

2) In recovery

adb shell
mount system
rm /system/bin/vold
mv /system/bin/vold.bak /system/bin/vold
chmod 0755 /system/bin/vold
exit

3) Reboot

adb reboot

That's all for now ...
[HTC Pico (Explorer)] immortal_yash:
so can we now say usb is fixed totally?
[HTC Pico (Explorer)] Yannou90:
Usb isn't broken

We must have a real rom based on ICS or tweak vold

I'm going to build an update zip with last kernel , include wifi module and vold on a cm9 rom for test only !!

Just vol+ and power button but I think it could be resolve with the ramdisk

FOR TEST ONLY
[HTC Pico (Explorer)] Hpsgill:
wow usb works!!!!
[HTC Pico (Explorer)] bulletproof136:
really did you test it :D
[HTC Pico (Explorer)] mmk.dr:
Thanks man! You're a lifesaver! Yes USB works in CM9. :thumbup:

Wondering if this method might also make USB work in Sense 4.0 Rom? Anyone tried?