yashsingh1/xdaforums huggingface dataset:
[HTC Salsa] benjamingwynn:
Propitiatory libs are the same for the Wildfire S and Salsa. It should all be working, but for some reason my OWN device tree has stopped working, so I'm trying to fix that and apply the changes from that to the Salsa.

I'll probably finish the Wildfire S port, delete the current Salsa port and try from the latest Wildfire S stuff, as that'll be easier instead of playing with git for it to merge.

Also, (I think I've stated this before) as soon as CM10 is working, I'll maintain Project Llama for this device, that's my own ROM and will be supported on a few devices, it's built from source. Here's the XDA thread for that: http://xdaforums.com/showthread.php?t=1896483
[HTC Salsa] benjamingwynn:
Marvel repo is fixed. I'll start working on recreating the icong repos soon :)
[HTC Salsa] benjamingwynn:
Experimental build for you guys:

http://goo.im/devs/benjamingwynn/icong/CyanogenMod10/CyanogenMod10-benjamingwynn-20121122.zip
[HTC Salsa] BigBearEvo:
Cool downloading now will test asap before I leave for my military weekend tomorrow.

BigBear is using Xparent Tapatalk Purple
[HTC Salsa] Go.Bin:
Wow, i thought your marvel lost and not gonna helping us again. But thanks for this thing ben :thumbup:

HTC Salsa with Unofficial CM7
[HTC Salsa] BigBearEvo:
assert failed: ==getprop ("ro.product.device") =="icong" I I getprop("ro.build.product") == "icong"

(status 7)
[HTC Salsa] razer1224:
Check ur build. Prop

And the updater script
[HTC Salsa] yuva0103:
Wow... Jb finally...:):):) hope u ppl solve build prob very soon....

Thx ben..
[HTC Salsa] benjamingwynn:
Remove the line from the script again.
[HTC Salsa] meswar:
Thanks Ben. I did already, no luck, struck with HTC white screen.
[HTC Salsa] benjamingwynn:
Then that doesn't make sense, the device name is icong, so it should work :confused:
[HTC Salsa] Darkorn:
Any news? :D
[HTC Salsa] razer1224:
Name it Icong

caps I

Maybe u guys would have enabled assert verification in the recovery;
[HTC Salsa] benjamingwynn:
Can somebody screenshot hboot for me?
[HTC Salsa] karanparikh:
Is this what you want ? :confused:
[HTC Salsa] razer1224:
Am I talking to the wall...

@BB..is there a update for boot

Cauz each HTC needs a hboot update for the new android version

Ex:my sis one x needed a update of boot for "sense jellybean" running on it :p
[HTC Salsa] BigBearEvo:
Only to 1.8 hboot. That's it.

Ben icon_g is the correct spelling

BigBear is using Xparent Tapatalk Purple
[HTC Salsa] razer1224:
I guess icon_g is typically wrong..anyways trail and error
[HTC Salsa] benjamingwynn:
First I used icon_g and it didn't work, now I try and use icong and that doesn't work either...

Can somebody get this to boot to the boot animation by using a sense boot.img?
[HTC Salsa] Go.Bin:
Since everyone talking bout hboot, ifound this on my laptop :)

HTC Salsa with Unofficial CM7
[HTC Salsa] yuva0103:
I googled abt this error, some says its coz of lower version of clockworkmod recovery... It may be wrong too, nt sure...

--using unofficial cm7
[HTC Salsa] vigoos:
Try Icon_G
[HTC Salsa] Go.Bin:
This forum seems had same problems

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

http://xdaforums.com/showthread.php?t=1845106
[HTC Salsa] benjamingwynn:
It's not the clockworkmod recovery error. That's a failed script it doesn't like because Clockworkmod will only install the ROM if the device name installed in clockworkmod matches that of the zip file.

The reason why it doesn't boot is because HBOOT looks for a certain file in the ramdisk (that's inside boot.img) called init.DEVICENAME.rc. Since I don't know the actual name of this device, the phone can't boot because the compiler builds with the wrong name for the phone.

I've tried it non-case-sensitive, but I shall try again (case sensitive)
[HTC Salsa] BigBearEvo:
don't you remember you had this issue on the dot-sense rom you made....took you ages to work it out.
[HTC Salsa] Darkorn:
It's init.icong.rc.
[HTC Salsa] benjamingwynn:
So I wonder why this doesn't work...

https://raw.github.com/benjamingwynn/android_device_htc_icong/jellybean/init.icong.rc
[HTC Salsa] Darkorn:
Uhm, it's a blank file to me. Anyway this weekend if I'm not busy studying I'm going to try your latest build and I'll report you as many log and informations as I can. Because I know it's not easy if you haven't access to the phone.
[HTC Salsa] Darkorn:
Uhm, removed the check on Clockworkmod and now it's white screen on htc, no logcat. Just for fun I tried switching the kernel with cm7 one and stock but still white screen uhmm.
[HTC Salsa] theschneidi:
Maybe this thread for the HTC Legend will be useful: http://xdaforums.com/showthread.php?t=1905588 They got CM10 working for the Legend. :)

Besides of that, where can I find the Device-Tree and other important sources for the Salsa? I try to compile it by myself or want to compare the non running Salsa version with the working Legend version.

Can somebody do a seperate thread where successes and problems in building CM10 will be put?
[HTC Salsa] BigBearEvo:
i actually tried porting that lol.....again it didn't boot up
[HTC Salsa] Darkorn:
Benjamingwynn, even in the boot.img of your rom init.icong.rc it's just an empty file, you've probably made a mistake during the compilation.
[HTC Salsa] benjamingwynn:
Your right, I just looked at it here and it seems to be empty.

Strange tho, as on my home PC it has files in it. I don't use my home pc to build roms as I use XDA's buildbox server, but it works like this.

My computer -> GitHub -> Buildbox

So I guess I have to fix that :)
[HTC Salsa] BigBearEvo:
lol im guessing this might solve the issue or part of it
[HTC Salsa] Darkorn:
I hope benjamingwynn Is preparing an Xmas gift ahah :laugh:.
[HTC Salsa] vigoos:
Any progress mates?? I won't be online round the clock because of second set of exams.
[HTC Salsa] Darkorn:
Nothing new under the sun I guess.
[HTC Salsa] benjamingwynn:
I've been busy with exams
[HTC Salsa] theschneidi:
Is there a way to have look on the source code of the CM ported to the Salsa (or to know the modifications in CM which made the marvel version work on salsa)? Maybe with "github" etc.? As an engineering student like me it could be useful to unterstand it better how to build a specific kernel.
[HTC Salsa] BigBearEvo:
best way i found was to do a xda wide search on how to build a kernel. there tons of info, ive spent days reading lol. if you have the technical ability then feel free to have a play. so far we have a working kernel with some governors built in. ext4 support added but no OC. this kernel currently only works on CM7. if you can advance this to work on other stock based roms...or even Give OC on the CM7 one...
[HTC Salsa] Darkorn:
Marvel and Salsa are almost identically, no real modification except changing every reference of marvel to icong at least for CM7. You can find alquez's github for marvel (CM7) and benjamingwynn's github (CM10). As kernel side we have htc's kernel source (Remember to uncomment TOUCHSCREEN COMPATIBILITY or something like that to make the touchscreen works) and marvel's kernel. The real problem is that some part are proprietary and you can just hope that copying some old library it will works or understand how things works and try to fix it.
[HTC Salsa] benjamingwynn:
I'll do some more work on it tomorrow or saturday.
[HTC Salsa] zeon321:
Any progress? What's the status?
[HTC Salsa] benjamingwynn:
I did a few local changes to it but I've been on holiday so I haven't had a chance to commit, and build or push.
[HTC Salsa] gagan313:
Im a nub.... but if it helps i have a HTC Wildfire S (aka Marvel)

if u need me to do some **** with it lol:laugh:
[HTC Salsa] theschneidi:
I tried to flash the CM10 ROM from November, but got the HTC whitescreen too. How can I help to get this issue solved? Is there something new with the CM10, CM7 development? I wonder why nobody posts in Project LLama thread and the project web site is down. :(
[HTC Salsa] BigBearEvo:
There is something wrong with the main files. Ben has a lot on these days and its hard to complete everything lol. I would not flash cm10 until we confirm its wise to do so.

BigBearEvo is using Xparent tapatalk 2 ICS on CM7
[HTC Salsa] vigoos:
Or how about trying to port sense 4 with a few mods as you told bb.

Sent from my HTC Salsa running Farrago! v2 by vigoos using Xparent Cyan Tapatalk 2.
[HTC Salsa] BigBearEvo:
at the minute im working a lot. spare time is taken with my family, however i do work on stuff at late night just for us....i don't normally open discuss what im trying out though... sense 4 is a work in progress
[HTC Salsa] vigoos:
Never mind mate,

All are busy in their own worlds. Family does need some time....

No pressure on you, I hope everyone is atleast satisfied a bit with our ROM's....
[HTC Salsa] vigoos:
Can anyone try to flash the latest version of cm10 and tell which is the error we are getting.

90% the issue must be with kernel.

Sent from my HTC Salsa running Farrago! v2 by vigoos using Xparent Cyan Tapatalk 2.
[HTC Salsa] BigBearEvo:
kernel, build, basically everything. it needs a full strip down and rebuild from ground up. if using the kernel from bens version it has a 50/50 chance of working.

Best take it and modify it to match ours.

No point asking for someone to flash it...not much u will get from it lol.

Make me one. fix it best u can, include a new kernel built for us then ill try it! till then im not fudging my phone up lol
[HTC Salsa] Darkorn:
Ben's kernel had a file missing, but there's way more to fix since it's more than a month from his latest rom. It's strange that marvel's rom don't boot either. No errors, If I remember right. There's no way to use logcat from the rom and I'ven't managed to install other cm10 rom to try.
[HTC Salsa] BigBearEvo:
Since earlier I had an hr to spare so I thought I'd have a play. It won't let me get a logcat since it won't boot. But I have reviewed the build.prop and few other areas. It needs cleaning up and making right for our device.

Well spotted darkorn. Seems his build is ahead so would need a fresh build from him to carry it on. :(

BigBearEvo is using Xparent tapatalk 2 ICS on CM7
[HTC Salsa] vigoos:
So what I see is that we need to compile from source again and get a better kernel. I've asked my friends to help me out. We are 3 of us here now. I hope my birthday gift (cm10) will be great.

Sent from my HTC Salsa running Farrago! v2 by vigoos using Xparent Cyan Tapatalk 2.
[HTC Salsa] Darkorn:
Basically yes, but it's a bit too general. Kernel don't boot, but it could be something in the rom other than kernel (probably one of the first steps since logcat isn't avaible).

http://www.androidenea.com/2009/06/android-boot-process-from-power-on.html

Anyway, I think we missed "lib/libOlaEngine.so" in extract.sh. It's needed somehow by the front camera original library. Marvel has only a rear camera so its extract.sh has not that library.
[HTC Salsa] vigoos:
So why not try getting it from like a Galaxy S and mod it to our needs.(might be noobish)

Sent from my HTC Salsa running Farrago! v2 by vigoos using Xparent Cyan Tapatalk 2.
[HTC Salsa] theschneidi:
Hi, I've built my own CM10 with benjamingwynn's description in the Wildfire S forum with the icong hardware specifications. It took to build 4 hours, but got a whitescreen unfortunately :( But I try to find out what stops my device from booting. Maybe I post the things I had in the local_manifest.xml .
[HTC Salsa] vigoos:
Check the link darkorn gave a few posts ago. Secondly what did you do with the main files? Thirdly didn't you get updater script error?

Sent from my HTC Salsa running Farrago! v2 by vigoos using Xparent Cyan Tapatalk 2.
[HTC Salsa] theschneidi:
Ok, I will read it. Updater script got same error like before, so I removed the line. This is how my local_manifest.xml looks:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_htc_common" path="device/htc/common" revision="refs/heads/gingerbread" />

<project name="benjamingwynn/android_device_htc_icong" path="device/htc/icong" />

<project name="benjamingwynn/android_kernel_htc_msm7227" path="kernel/htc/msm7227" />

<!-- Fix display -->
<remove-project name="CyanogenMod/android_hardware_qcom_display" />
<project path="hardware/qcom/display" name="WinSuk/android_hardware_qcom_display"/>

<!-- Fix msm7k -->
<!-- <remove-project name="CyanogenMod/android_hardware_msm7k" />
<project name="ProjectLlama/android_hardware_msm7k" path="hardware/msm7k" />-->
</manifest>

There were lines in the xml which describe that the msm7k kernel should be patched. But I haven't found that patch on ProjectLlama, so I uncommented it.

I patched also bionic.

git fetch http://review.cyanogenmod.com/CyanogenMod/android_bionic refs/changes/31/14631/1 && git cherry-pick FETCH_HEAD

For the display I used this advice: http://xdaforums.com/showpost.php?p=36790232&postcount=33

and had to patch the hardware/qcom/display/liboverlay/overlayRotator.h, because of an compiler error.

.. maybe we should look in that post in wildfire s-forum http://xdaforums.com/showpost.php?p=36173783&postcount=31
[HTC Salsa] Darkorn:
Good to see someone trying and sharing his results.

Anyway benjamin public repo hasn't an update in 4 months, so you recompiled the exact same rom that he gives us and don't work. Anyway now that you have a base to work you can try fixing the rom.

https://github.com/benjamingwynn/android_device_htc_icong

init.icong.rc is one of the cause (the only that I know) of why the rom doesn't boot. As you see it's a blank file... Try write your own from marvel's one (it doesn't recompile all, so don't worry). It won't magically work but it's a step forward.

When you reach the point logcat works it should be much easier.

I can't help you more, let us know.
[HTC Salsa] BigBearEvo:
@theschneidi send me what you got and ill have a look as well. more eyes the better. send me as much info as u can.
[HTC Salsa] benjamingwynn:
I made these ages ago, just had to mess with them to get them to commit correctly:

https://github.com/benjamingwynn/an...mmit/6b2ceb572af8b9cb19f3aaf9bd84b4face04db77

https://github.com/benjamingwynn/an...mmit/7f9e712160964ce2c7846c3e36be1eeae9e20d8b

Also note that my source is intended for cm-10.0 and not cm-10.1. Just in case you're trying to compile it you'd need to set your repos to use the jellybean-stable branch as this is the one I like to work on for ports, so my work is based around that. jellybean might work too, but it might not, so watch out.

Edit: You might want this code:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_htc_common" path="device/htc/common" revision="gingerbread" />
<project name="benjamingwynn/android_device_htc_marvel" path="device/htc/marvel" />
<project name="benjamingwynn/android_device_htc_icong" path="device/htc/icong" />
<project name="benjamingwynn/android_kernel_htc_msm7227" path="kernel/htc/msm7227" />
<!-- Fix framework -->
<remove-project name="CyanogenMod/android_frameworks_av" />
<project name="Ganster41/android_frameworks_av" path="frameworks/av" />
<!-- Fix bionic -->
<remove-project name="CyanogenMod/android_bionic" />
<project name="ProjectLlama/android_bionic" path="bionic" />
<!-- Fix display -->
<remove-project name="CyanogenMod/android_hardware_qcom_display" />
<project name="ProjectLlama/android_hardware_qcom_display"
path="hardware/qcom/display" />
<!-- Fix msm7k -->
<remove-project name="CyanogenMod/android_hardware_msm7k" />
<project name="ProjectLlama/android_hardware_msm7k" path="hardware/msm7k" />
</manifest>

Long live the icong!

- Benjamin
[HTC Salsa] Darkorn:
I hope that will boot, no rom? :D.
[HTC Salsa] theschneidi:
Thank you Benjamin, I try in the late afternoon to build that like your setup. :D
[HTC Salsa] theschneidi:
ProjectLlama/android_bionic doesn't exist, I have used benjamingwynn/android_bionic.

ProjectLlama/android_hardware_qcom_display is also missing, I took WinSuk/android_hardware_qcom_display.

Hopefully they work too.

I try to build this evening, keep fingers crossed ;)
[HTC Salsa] BigBearEvo:
Good luck :thumbup:

BigBearEvo is using Xparent tapatalk 2 ICS on CM7
[HTC Salsa] theschneidi:
I have found out CWM recognizes ro.product.device and ro.build.product as "marvel", because I used the ui_print command to print get_prop. ;)

Still got a whitescreen, maybe something I am doing wrong -.-
[HTC Salsa] Darkorn:
I don't know, the rom seems fine now...maybe it's our CWM? I read something about certain version of CWM that don't let CM10 boot.
[HTC Salsa] BigBearEvo:
If its cwm that could be stopping it, how about swapping to the other recovery program we can uuse. Its outdated but still works fine.

If someone has what they think is a working version ill be happy to swap recoverys and try it. Just need a copy of the rom u want testing

BigBearEvo is using Xparent tapatalk 2 ICS on CM7
[HTC Salsa] theschneidi:
If somebody wants to see, what CM10 ROM I have build. See this link: https://dl.dropbox.com/u/8541272/CM10/cm-10-20130224-UNOFFICIAL-icong_theschneidi.zip

On my Salsa it doesn't work in the moment and gives a whitescreen.

Use this at your own risk, I am not responsible for damages of your device or something else.
[HTC Salsa] BigBearEvo:
ok flashed it.

On install it comes up with ro etc as marvel. is this making it believe its a marvel device to install it?

apart from the extremely long time to install lol it went fine.

White screen as per say, tried wiping data etc again and rebooting, same issue. so i've had a look inside it...what did you modify in the update script/s as im thinking of using my own in there and changing the boot animation as sometimes this can damper the boot process. it did on my wife's wildfire s first time around and had to change it for a lower one.

I've not got time tonight to reflash so will do it tomoz. any extra info etc of what you have done will help matey.
[HTC Salsa] theschneidi:
No, I deleted the lines to check which phone type it should work with. I printed only what version CWM needs, so maybe CWM is ported from marvel and nobody changed the settings to icong .. nothing serious. Best workaround is to delete the first line in updater-script.

ui_print("ro.product.device=",getprop("ro.product.device"));
ui_print("ro.build.product=",getprop("ro.build.product"));

Only thing I changed in updater-script is the check for the phone name.

Changes I have done with the local_manifest.xml:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_htc_common" path="device/htc/common" revision="gingerbread" />
<project name="benjamingwynn/android_device_htc_marvel" path="device/htc/marvel" />
<project name="benjamingwynn/android_device_htc_icong" path="device/htc/icong" />
<project name="benjamingwynn/android_kernel_htc_msm7227" path="kernel/htc/msm7227" />
<!-- Fix framework -->
<remove-project name="CyanogenMod/android_frameworks_av" />
<project name="Ganster41/android_frameworks_av" path="frameworks/av" />
<!-- Fix bionic -->
<remove-project name="CyanogenMod/android_bionic" />
<!--<project name="ProjectLlama/android_bionic" path="bionic" />-->
<project name="benjamingwynn/android_bionic" path="bionic" />

<!-- Fix display -->
<remove-project name="CyanogenMod/android_hardware_qcom_display" />
<!--<project name="ProjectLlama/android_hardware_qcom_display" path="hardware/qcom/display" />-->
<project name="WinSuk/android_hardware_qcom_display" path="hardware/qcom/display" />

<!-- Fix msm7k -->
<remove-project name="CyanogenMod/android_hardware_msm7k" />
<project name="ProjectLlama/android_hardware_msm7k" path="hardware/msm7k" />
</manifest>

Then I changed in BoarConfig.mk from icong the value, because I've found that in specs from HTC Chacha

#BOARD_FLASH_BLOCK_SIZE := 262144
BOARD_FLASH_BLOCK_SIZE := 131072

I look in the device/chacha .. maybe there are some useful hints for salsa.
[HTC Salsa] BigBearEvo:
OK nps will have a look. I know its probably me but what kernel is this cm10 loaded with?

BigBearEvo is using Xparent tapatalk 2 ICS on CM7
[HTC Salsa] Darkorn:
HUGE IMPROVEMENT GUYS, I went from white screen to black screen lol. I switched boot.img with the one of htchacha, using Zimage of the schneidi rom of course.

edit: I DON'T BELIEVE IN MY EYES IT'S WORKING.

https://dl.dropbox.com/u/33680627/boot.img

FLASH WITH THIS

edit2: it's slow, probably 3D driver don't works. But's it's a huge step forward.

edit3: logcat from boot to dashboard.

https://dl.dropbox.com/u/33680627/latest kernel/logcat.log

Adreno has some problems and libwvm.so is missing.

edit4: http://xdaforums.com/showthread.php?p=24202792

checkout this thread.

edit5: theschneidi, bigbearevo any idea?

Benjamin how do you solved in your rom?
[HTC Salsa] BigBearEvo:
In this case then the kernel needs to be modified and have the adreno files from ours added when compiling it. Good effort matey. Ill have a look later on

BigBearEvo is using Xparent tapatalk 2 ICS on CM7
[HTC Salsa] Darkorn:
Uhm anyway the cpu scale on this rom only if I set smartass as default scheduler. So since we need to recompile the kernel I suggest to set smartass as default.
[HTC Salsa] theschneidi:
AW: CM 7/9/10 Dev discussion

Oh cooooool, thank you Darkorn for the big step in right direction ;) I will try that in my current setup. I have to check how to enable those features in the icong device files.
[HTC Salsa] Darkorn:
Good work, I extracted the boot.img for you, so you don't have to mess with the kitchen. If you made made any change to the kernel and rebuild with these files it should still boot. I tried with benjamin's kernel too but his still doesn't work. I haven't figured which file was missing or wrong before. Let us know.

https://dl.dropbox.com/u/33680627/BOOT-EXTRACTED.tar.gz

edit: in the thread I posted above I think they made hwacceleration works with this patch http://xdaforums.com/showpost.php?p=24237942&postcount=303

I think we should try patching our kernel with it, I don't know if the patch is obsolete but

it means our kernel have an outdated version of kgsl with no TIMESTAMP feature.

I hope that the other errors of adreno are just consequence of this one.

edit2: I tried to apply the patch to benjamin's kernel but it's already patched, so I don't know why the error is still there.
[HTC Salsa] BigBearEvo:
Woohoo guys lol. I've not had time today to try this out so will do it tomoz at somepoint. If buy any chance u do manage a fix post it up in a boot.img so I can add it to the current build for a test run. Hopefully we may have a working ish cm10 for people to play with lol.

BigBearEvo is using Xparent tapatalk 2 ICS on CM7
[HTC Salsa] BigBearEvo:
Well ive installed it.

Bugger me guys! what a transformation!

On first using, gallery seems to keep stopping on me...don't know why.

Incredibly slow but it does process things after time lol

Notification bar seems to be hiding itself lol (get a solid blue line)

No WiFi

No Blue Tooth

No Gsm Network so phone is disabled right now

No Ability to reboot to Recovery from inside the rom. have to remove battery to get there

but its slowly usable. No screenshot facility available lol

Damn impressive!
[HTC Salsa] Darkorn:
Thescheidi you may have built the wrong kernel...

This one works, I rebuilt benjamin's kernel:

https://dl.dropbox.com/u/33680627/latest kernel/boot.img

Config file if anyone want to edit the configuration of this kernel:

https://dl.dropbox.com/u/33680627/latest kernel/configCM10

Wifi module if anyone want to use wifi lol (not tested but it should work)

BROKEN, I'll post it later when is fixed.

GSM works now, and it's fast as CM7.

Bluetooth as usually I don't know how to fix it.

Camera doesn't work

Gallery crashes, it may be broken the pkg.

No acelerometer.

GPS may work or may not, not tested.

Settings - System - Power menu to enable screenshot button ;) (I don't know where it saves the screenshot or if it doesn't work)
[HTC Salsa] meswar:
SD card/pictures/screenshots
[HTC Salsa] Darkorn:
Thanks, it works.
[HTC Salsa] Darkorn:
https://dl.dropbox.com/u/33680627/latest kernel/boot.img

https://dl.dropbox.com/u/33680627/latest kernel/bcm4329.ko

Can't fix wifi :'(. I compiled bcm4329 with -fno-pic flag as usual but even if it loads fine it doesn't create the wlan0 device.