yashsingh1/xdaforums huggingface dataset:
[HTC Desire X] Leon:
We know man...But we already have few half working ports and I hope this wont be like them.

:fingers-crossed: to be finished this year

And like i said before , that will be leson for all ppls that bought this device...The problem is our cuz we bought unpopular mid-range device.Anyway its my first android phone and i will be more carefull with the next one.:D
[HTC Desire X] waza97:
I have a theory. As you are aware the huawaii acssend y300 is basically the same as the desire x hardware exacty the same. If we pick permissions from the y300 cm10.2 and put it into ours that may fix things such as WiFi also if we use the init.d from huawii and use it for ours ? Sorry if I am been annoying I have just been researching and am curious and willing to help
[HTC Desire X] nightwalkerkg:
Well i believed that is much better to use the device tree for Y300 as the base then Pico for example.

Just to fork it and then edit it for our device. But i am not a dev so i dunno. xP
[HTC Desire X] $îMpŁÿ_¢ØmPłİÇåŤęĎ:
Oh yeah! Just figured out that huawai ascend y300 has exactly same specifications as of desire x..seems quite interesting!

Can the roms of huawai be flashed on desire x?And then fixing the things which are not working on desire x..:)
[HTC Desire X] TheArc:
If you flash the Y300 ROM on the Desire X, you're asking to get your phone bricked.

But some files can be modded and used for the Desire X development and it would most likely fix stuff.

When I was building ROMs for the Huawei U8160 it was good, but it wasnt all that fast because the device was slow, I ended up pulling hardware libs and permissions from the HTC Wildfire without any modifications whatsoever and it worked :) It made the device faster. So really, it won't hurt anyone to try and attempt this.
[HTC Desire X] neXus PRIME:
What you are seeing matching is Soc, however other things are radically different in htc and Huawei.
[HTC Desire X] waza97:
I found this guide: http://xdaforums.com/showthread.php?t=2566056

And I asked the devs who made the guide if in our situation it is possible using his guide he said he highly believes we can do it. So am going try in the next few weeks when I have some free time.

I am going to change these with hauwaii files and hopefully WiFi will work.

/system/bin/netcfg

/system/bin/dhcpcd

/system/bin/ifconfig

/system/bin/hostap

/system/bin/hostapd

/system/bin/hostapd_bin

/system/bin/pcscd

/system/bin/wlan*

/system/bin/wpa*
[HTC Desire X] Tresox:
It's a good thing that you're trying, but you don't know how far greeneyes.

Yes, he could be just as far as you but he can also be almost done.

Otherwise it just be a waste of your time.:D
[HTC Desire X] greeneyes2910:
Will upload new version later, so that all , who are asking only dumb questions for progress and details could test by themselves. To all others : Thank you for submitting ideas and thoughts - Lol , it's just same way I do & best way to understand how android works!
[HTC Desire X] vikkolts:
What is new/fixed? (I know that is noob question)
[HTC Desire X] greeneyes2910:
Now after working exactly 7days on building & compiling, and testing , with only few hours of sleeping (I was ill, so don't need go to work) my head is really disturbed & ****ed up ( in Germany we like to say ; Man sieht den Wald vor lauter Bäumen nicht) :D ...

But after studying so many devices and threads I've got many questions and hopefully some dev could try to give me answers. I 've contacted Cyanogen, but get no answer so far.

So here my thinkthanks: What we know is, that our device is Qualcomm/HTC provided. When you extract stock Boot.img there will be two qcom files inside - init.qcom.rc & init.qcom.sh. Also there are 4 files included in system/etc...

Has any one of you read into this files ? So I've done - these files are really not needed to run stock htc rom or even boot up stock kernel.

No, if read into these files, you must come to the conclusion, that these files are especially to boot up or better to keep all functions like wifi bt fm etc, withoit any HTC-Files.

In Comparison to HTC One S : They already have general caf-kernel running with only caf init files. So it can't be soooo hard & it must be a way to get general caf kernel working for Desire X.

Hope I will get some good ideas (and hope everyone will understand what I'd like to say e.g. mean) ...
[HTC Desire X] Tresox:
I think greeneyes will post it when he releases the new rom.
[HTC Desire X] greeneyes2910:
[MENTION=4619039]Victor[/MENTION]... Just for such people like you, I will upload. So if you like know if, or what works you will have to test by yourselve! I'm not willing in answering dumb questions like such one... You can be sure, that I will open a own Thread if general Rom Parts are working at a stable level... Look in such threads if you want flashing a full functionabel custom ROM but don 't mess up threads with this...

The reason why I say this in such an ugly way , is that so many perople (equal if here on our device, or in other threads/devices) are not following to xda rules, which are clearly said , that XOU HAVE TO READ A THREAD COMPLETLY, before you start to ask questions, which would be answered several times again & again...
[HTC Desire X] Victor:
Wrong Mention

Hey man you mentioned the wrong dude :p I never saw this thread before ?:D please put the correct username next time :p

Cheers

Sent from my i9300 4.4.2 Supernexus rom
[HTC Desire X] Tuchkata:
[MENTION=2822370]greeneyes2910[/MENTION] , why don't you commit your work in assembla or github so that all of us can take a look of your code :) I think it will save you time thinking about not working features and their fix.
[HTC Desire X] greeneyes2910:
lol it's more than easy explained. Most reason is because I am not really confirmed in using github . second reason is because for example last days, I´ ve changed so many files, configs etc on-the-fly , in my work directory. If I would provide this to github and have to commit everything I try out, I had been more committing , than even testing an compiling the last days, You could be sure, that I will do this, if it would have get at least as daily usable rom.

I know that I have to learn this stuff , because after 4 years android, I just don´t know how to merge files via git . My develops are all be done in rewriting source code files to get them work - and I know that this could be much easier done with merging...

So If someone like to give an example in step by step guide :)
[HTC Desire X] Tuchkata:
I will do this for you in the next days. I hope till Sunday I will be ready :)
[HTC Desire X] greeneyes2910:
That sounds like a greatful help & will do much for become easier devlopement (at least for me)
[HTC Desire X] waza97:
Have you worked on WiFi or other stuff may I ask ? Or have you been working on everything
[HTC Desire X] JoseluSpark:
And is there any way to implement init.qcom.rc and init.qcom.sh instructions on CM boot.img?

As init.qcom.sh must be an Unix shell's script maybe use init.qcom.rc as resource file and it points to these 4 files included in system/etc or the filenames or anything are stored in it (as .rc extension definition says that are used to hold statements for different files that are going to be compiled into a binary resource file, this is one thing that I'm wondering)...

There isn't another thing like this in AOSP & CM boot.img? :confused:
[HTC Desire X] waza97:
I am uploading a build wit the changes with huawii ascend WiFi files to see whether it works be ready to tes people :P

---------- Post added at 10:52 PM ---------- Previous post was at 10:31 PM ----------

http://d-h.st/QW6

Here you go test it for wifi provide me with a logcat plz and use the steps nightwalker posted a few pages back to boot it and use the boot.img greeneyes provided a few pages back with his test rom to boot thanks.
[HTC Desire X] neXus PRIME:
Considering it's your first time, Test yourself first... You might damage others phones.
[HTC Desire X] waza97:
Cba to ahaha

I only replaced WiFi bin files I highly doubt it could break a phone I used greeneyes test Rom a few pages back as well
[HTC Desire X] vezir020:
Don't boot :/
[HTC Desire X] waza97:
Did you use the steps nightwalker posted a few posts and ensure you do a full wipe

---------- Post added at 12:39 AM ---------- Previous post was at 12:37 AM ----------

Try.

What i did :

1. Copy the rom zip to sd.

2. Reboot into recovery (TWRP).

3. Wiped data,system,dalvik and cache.

4. Flashed the zip.

5. Rebooted into bootloader, flashed the boot.img and rebooted.

And it booted in two,three minutes.

You can try to reflash or redownload the zip.
[HTC Desire X] Tresox:
Did it work on your side?
[HTC Desire X] Leon:
Im stuck on cyanogenmod logo ?...But cant get logcat cuz im with win 8.1 and i dont have all files for that.
[HTC Desire X] greeneyes2910:
http://d-h.st/X3g

---------- Post added at 06:11 AM ---------- Previous post was at 06:09 AM ----------

http://d-h.st/Jh9
[HTC Desire X] Will_Xda:
O.T. Alert!

But can people just hit subscribe for the thread, instead a load of Blank or Garbage posts that are Cluttering up this thread
[HTC Desire X] hell_lock:
Am I the only one confused here? :p I really don't know what you all are aiming for.. somebody kind enough to brief me up?
[HTC Desire X] dansou901:
Confusing are just all the posts between the different devel versions of cm posted here. Everyone here is looking forward to a good working CM, but it takes time. Last version by greeneyes2910 is posted just a few posts above yours, that's the one to test and report about now. I will definitely try it as soon as I get some time / as soon as I get home today (too much to do at work).
[HTC Desire X] nightwalkerkg:
It boots.

ADB is working.

Sound is working (i can here the system sounds as i get media process fc so i am unable to play a song (sd probably )).

It's fast.

Screen is glitched a lot,but everything is back to normal when i click on Disable HW overlays in Developer Options.

I'll give you the logs,if you need them,as soon as i get from school.
[HTC Desire X] greeneyes2910:
If you open cm filemanager and grant Su Access for it you will See that All storages like emmc and sdcard are wprking just fine . Media crashes because of msm7x27a camera and Audio,we have to use msm7627a .

---------- Post added at 12:07 PM ---------- Previous post was at 11:55 AM ----------

Also if you go into settings you will See that you can t choose a ringtone alltough they are included .i think they ll have to be symlinked to New Media rw Directory which i enabled in New ramdisk for mounting sdcard in kitkat behavior for future. Already Updated ueventd.target.rc too ,to Match aosp uevented.rc and to be used for building real aosp Kernel.this can be done with caf Kernel Source msm7627a. For next build i decided to Update Kernel Board Files ,get rid of htc WiFi and use only 7627a WLAN ,because it is already used but only disabled
[HTC Desire X] nightwalkerkg:
Great work,if you need any help please tell me. I have synced the AOKP repo for 4.3 and i am just waiting for your trees to start compiling.
[HTC Desire X] soak:
It's actually a really easy task.

Just checkout the basic CM guide here -wiki[dot]cyanogenmod[dot]org/w/Doc:_porting_intro#Put_your_device_folder_in_github.2C_and_use_a_local_manifest_to_automatically_sync_it_with_repo_sync

And also this stackoverflow thread - stackoverflow[dot]com/questions/8775850/how-to-add-files-and-folder-to-github-repo

Just spend 15 minutes and you will be able to push the device, vendor and kernel sources quickly.

Happy gitting! :o
[HTC Desire X] greeneyes2910:
I need tutorials about merging sources into sources Not how to upload to github. I have github alreqdy but because of commits which have to be done for each testing , Not time to Do this
[HTC Desire X] Tuchkata:
http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging here is a good guide about it. If you want, I'll do another guide for you this weekend, but I think it will be just like the one that I posted :)
[HTC Desire X] dansou901:
That one's great, when I start compiling ROMs one day in the future I'll make good use of it. I'm experienced in using svn, but git is kind of new to me too...
[HTC Desire X] Tresox:
I'm getting some heavy graphical glitches, but everyhing gets normal when you hold the power button to shut off or restart.

But if you go away from that menu everything glitches again.
[HTC Desire X] Mr.Jay:
What about WiFi and 3G?

HTC Desire X || Android 4.1.2 || mySENSEdx5 RC4.0
[HTC Desire X] Tresox:
If I try to turn on wifi nothing happens, so that will need some fixing.

Bluetooh works.

Camera cant connect, so that doesnt work

Also 3G doesnt work.

This is for the SD card:

but if i open cm filemanager it says: try to change to rootmode.

I dont get a message from SU I would like to give CM Filemanager root permission.:crying:

But it's faster, for my feeling, then the previous build.

Edit:

Flashlight doesnt work

Connecting with USB to PC doesnt work

And it says that we only have 586 mb of Ram.

Edit 2:

Forgot to say that if you disable HW overlay there are no graphical glitches.

Thanks for that Nightwalkerkg!
[HTC Desire X] AkumDX:
Not Again!!! -_-
[HTC Desire X] waza97:
Sorry i was going to say something but I realised it was irrelevent. I would have removed it if sea gave me the option so I just put -- so it doesn't look as distracting sorry
[HTC Desire X] nightwalkerkg:
Distracting ? No. I just believed that my browser broke again. xD
[HTC Desire X] galaxyfreak:
For camera, you may need some hacks in frameworks/av. Could you give me logcat?

For audio, try using this https://github.com/Dazzozo/android_device_huawei_u8833/tree/cm-11.0/audio
[HTC Desire X] Leon:
I was tinking i have problem with broswer or some addon on browser :silly:
[HTC Desire X] Tresox:
I'm sorry that I forgot to mention but audio is working but I couldn't test it because of the Sd card problem.

When you turn your volume down, you also hear the sound decreasing.
[HTC Desire X] greeneyes2910:
What SD Card Problem? There aren´t any Problems with SD Card so far...
[HTC Desire X] Tresox:
I tried to do your method with cm filemanager but that doesn't work. Su does nothing when cm says that it needs root.
[HTC Desire X] greeneyes2910:
It seems you are the only one who has problems with su ..l. have flashed boot.img one post after rom? you should do flash this one not the one included
[HTC Desire X] Tresox:
Yes I did.
[HTC Desire X] greeneyes2910:
have u flashed something like superSU? Cause, for me, when I opend file manager settings and stick to root permission, a tick later SU access pops up and asked for given access. after a reboot , every directory is shown up like in other file managers, e.g root explorer...
[HTC Desire X] Tresox:
No, i didn't.

I thought it came standard with CM.:silly:
[HTC Desire X] dansou901:
Nvm...
[HTC Desire X] Tresox:
I will try it then with SU flashed.
[HTC Desire X] greeneyes2910:
No !"" Don flash SU ... It breaks... Root is included... Update: At least flashlight now works like charming
[HTC Desire X] Tresox:
:laugh:

Thank you for the quick response:D

I will try it again but without flashing SU.

Btw I did a full wipe and wiped dalvik cache, just that you now.

---------- Post added at 10:23 PM ---------- Previous post was at 10:15 PM ----------

Well I've flashed cm with the boot.img you posted under the link for CM again.

But when i open cm file manager, SU does not appear.:(

Edit: [MENTION=2822370]greeneyes2910[/MENTION] do you think I didn't do something you did?
[HTC Desire X] greeneyes2910:
you have to enable this in settings of filemanager
[HTC Desire X] Tresox:
I think i just searched the whole app out, but i can't find any settings..
[HTC Desire X] nightwalkerkg:
That is also one of the problems i forgot to mention.

Go into settings > buttons and sett home button long press to open menu.

Then go into filemanager and long press the home button and then you will get the settings option. Open it,and find access mode (or something like that) and there you can select root mode.
[HTC Desire X] Tresox:
Thank you for the advice:laugh:
[MENTION=2822370]greeneyes2910[/MENTION], It worked like a charm.

If you need some other things to test just say it:D

---------- Post added at 11:27 PM ---------- Previous post was at 11:24 PM ----------

But not today anymore, I'm gonna get some sleep
[HTC Desire X] Tresox:
greeneyes is working on it, give him some time.

I know that you're inpatient but also are the rest of us, just keep this thread clean of post like this.
[HTC Desire X] MightyBear007:
Guys can I know who is working on CM

Am a new dev for this device

PM Me sir
[HTC Desire X] Mr.Jay:
[MENTION=2822370]greeneyes2910[/MENTION] its working on it
[HTC Desire X] greeneyes2910:
PROGRESS

No Progress... I have bricked my device....
[HTC Desire X] waza97:
Can you send it to HTC centre or we could test for you ?
[HTC Desire X] dansou901:
Can you share your sources at least with [MENTION=5421177]MightyBear007[/MENTION] so he can continue the work?
[HTC Desire X] hell_lock:
how?? :rolleyes:
[HTC Desire X] nightwalkerkg:
My pc is in the service,i can't do anthing now. :P

Looks like i'll have to try again with the cm. Can you guys get some exp. devs to help us ?

[MENTION=4449607]InfinityShooter[/MENTION] can you remember how you fixed wifi in cm9 ?
[HTC Desire X] atis112:
He fixed with this configuration:

# Wifi related definitions
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
WPA_SUPPLICANT_VERSION := VER_0_8_X
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
BOARD_HOSTAPD_DRIVER := NL80211
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd
BOARD_WLAN_DEVICE := bcmdhd
WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path"
WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/bcmdhd.ko"
WIFI_DRIVER_FW_PATH_STA := "/system/etc/firmware/fw_bcm4330_b2.bin"
WIFI_DRIVER_FW_PATH_AP := "/system/etc/firmware/fw_bcm4330_apsta_b2.bin"
WIFI_DRIVER_FW_PATH_P2P := "/system/etc/firmware/fw_bcm4330_p2p_b2.bin"
WIFI_DRIVER_MODULE_NAME := "bcmdhd"
WIFI_DRIVER_MODULE_ARG := "firmware_path=/system/etc/firmware/fw_bcm4330_b2.bin nvram_path=/etc/calibration iface_name=wlan0"
WIFI_BAND := 802_11_BG
BOARD_LEGACY_NL80211_STA_EVENTS := true
[HTC Desire X] nightwalkerkg:
Hmm,well we are using that on all our roms,and the wifi is not working. On my builds i was getting "Unable to load (start) wifi driver",or something like that. When i asked for help on #cyanogenmod-dev i got an answer from on of they guys who had the same problem to use wpa_supp. 8 from other source. Can't remember wich one as i don't have my pc here. But it didn't work with it,mybe i did something wrong. :(
[HTC Desire X] atis112:
When I worked on JB, I recompiled ics rom with this configuration just to check that wifi is working or not. It worked, so I used this for JB too with the same calibration file and with the same configuration in ramdisk, but it didn't work. I have no idea that why.
[HTC Desire X] nightwalkerkg:
Maybe we need something like this,they use the same driver for the wifi :

https://github.com/Dazzozo/android_...common/blob/cm-11.0/BoardConfigCommon.mk#L131

https://github.com/Dazzozo/android_...n/blob/cm-11.0/libhardware_legacy/wifi/wifi.c
[HTC Desire X] dansou901:
[MENTION=4804114]nightwalkerkg[/MENTION], what's wrong with your PC? Just curious...
[HTC Desire X] nightwalkerkg:
Cpu fan broke and the pc started to overheat and shutdown. And i the fan on the psu is buzzing like crazy on the first boot. It's 10 days in the service shop now. Like the damn moderboard got broken and they have to order a new one. -.-
[HTC Desire X] dansou901:
Maybe an accident while changing the cpu fan :p (did happen to me as well in my job training...)
[HTC Desire X] greeneyes2910:
Have successfully reanimated my device from a hard brick,,, now i will go on :)

---------- Post added at 08:16 PM ---------- Previous post was at 07:55 PM ----------

I have talked to pic and one s devs. they said it is because of the wifi drivers used in our kernel source. they mentioned me to change them to aosp wifi drivers from caf source. that should fixes the wifi problem
[HTC Desire X] MightyBear007:
Hmm Check Here for wlan patches:

https://www.codeaurora.org/cgit/quic/la/kernel/msm/

Do this

git remote add caf git://codeaurora.org/quic/la/kernel/msm

git fetch caf

It might take some time (depends on the internet speed)

and git cherry-pick whatever commit you need in order to fix wifi

moreover cherry-pick very carefully

---------- Post added at 09:12 PM ---------- Previous post was at 09:10 PM ----------

Use some legacy commits in-order to fix the broken stuff

github.com/vigor (Use Only Hardware)
[HTC Desire X] nightwalkerkg:
[MENTION=5421177]MightyBear007[/MENTION] will you do a build of MightyROM for our device ?
[HTC Desire X] hell_lock:
He needs a working tree for that.
[HTC Desire X] MightyBear007:
Hmm yeah

I poses the Dual Sim verison

Its protodug
[HTC Desire X] dansou901:
Then you're wrong here... We only have the single sim version. You should go in the dual sim version thread in General section, there you'll find the other owners of the dual sim device. Also, there is no device tree for dual sim version yet as nobody is working on CM for that device.
[HTC Desire X] neXus PRIME:
Same kernel, almost same rom... You keep working, it might be good for single sim guys as well
[HTC Desire X] MightyBear007:
I need to pull the fstab

But first letmme unlock my bootloader Today :)

I might try to bring S-Off for protodug
[HTC Desire X] MightyBear007:
Just remebered this

You have to build the wifi-driver once again after building the kernel...until then Wi-Fi wouldnt work I guess
[HTC Desire X] hell_lock:
Not the case here..
[HTC Desire X] waza97:
The stock 4.4 updates is out for desire 300 and I was wondering greeneyes said he has a stock kernel which can boot sense 4.2 could you boot 4.4 for us as well so we have sense 5 4.4. The desire 300 has the same specs as our device and mostly everything will probably work once booted could you plz give it a go. Thanks

http://uselessweaponry.blogspot.sk/2013/10/upgradeupdate-htc-desire-300-to-44.html?m=1
[HTC Desire X] waza97:
http://xdaforums.com/showthread.php?t=2512742

We could port this system dump HTC one sv to desire x same resolution however processor and adreno is different
[HTC Desire X] dansou901:
[MENTION=4413037]krishneelg3[/MENTION]... Please post the link when you're posting such a picture, here it is: http://htcsource.com/2014/01/will-your-htc-handset-be-updated-to-android-4-4-heres-what-we-think/

But it's the only source I found information about the update for that particular phone, and it's also not sure if it will really get the update, so we'll have to wait for that.
[HTC Desire X] nightwalkerkg:
[MENTION=3834787]atis112[/MENTION] i remembered that you tried to use precompiled files from the stock 4.1 to fix CM10,how did it go ? Since i can't compile now maybe i can help you with that. :P
[HTC Desire X] hell_lock:
So I am going to finish my 1 year in dx forum and from what I have witnessed till now forget about any development :p Yep, I said it openly now. No eta no crap.. its just the straight talk from my side. If you want development go sell ur phone and maybe buy a nokia x. It will get alot of dev attention and u can easily buy it at half the price of dx..

edit: maybe im out of my mind.. my mom woke me when I was sleeping and then I typed all that..
[HTC Desire X] Uizz.UW:
[MENTION=4449607]prototype-U[/MENTION] you should put these in the first post so it would be easier to see and access . Also editing the title a little to something like "Developers unite - the future DX development - iRC - potatoes - etc" - something like that would help xD
[HTC Desire X] oddoneout:
Agreed, the link to the spreadsheet should be added as well.
[HTC Desire X] azraelcelt:
Pity I have a halfway decent pc good net but sweet f all time, hell I dont even have enough time to remove this windows 8 crap from my pc nor even chop and change roms on my phone so gutted