yashsingh1/xdaforums huggingface dataset:
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] wtanph:
is it necessary need to create 1 more user account to do tha trick, i can't find 'run as' on usb monitor
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] alharethi:
rachelm700

I followed all your steps but this step:

I don't know what to do... I have cingular 8525 which is already SuperCID/Unlock using the master POF method...

How would I apply this step to any of my available ROMs

My phone is

HERM100

IPL-1.01

SPL-1.09

Thank you guys for your help in advance
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] abob:
All was not lost

After "stupidly" restoring a backup from a wm5 onto my fresh wm6 install, I ended up with no activesync connection, and no boot past the htc screen.

Method 2b didn't work in its entirety, but it allowed the activsync connection, which allowed a reload of the wm6.

No more brick, and thanks to everyone on this site. The moral is not to give up!:)
[HTC Desire 601] patrik.KT:
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.4 (Kit Kat), which is designed to increase performance and reliability over stock Android for your device.

#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

This is only alpha build. Do not use it as a daily driver.

I have made this for UL, but anybody with CL could test it and post here if its working or not.

STATUS:

Working:

Wifi

Mobile data

GPS

Bluetooth

SD card

Accelerometer

...and everything else except

Not Working:

Sound

Camera

Video player (WORKAROUND: 3rd party players like MX player work well)

Some minor graphical issues

Before you begin:

- make a backup

- you must have unlocked bootloader

Installation instructions:

1. Factory reset

2. Install ROM

3. Install GAPPS

4. Reboot

Downloads:

ROM:

Build 1: https://mega.co.nz/#!Z8BkWDhY!tllTRsL6IBXdZTVXeuCPSQHlR3yJ39qfkhGx6K5Lktg

Build 2:https://mega.co.nz/#!VoIExToA!eE9e9HwioFqslDDEyIXKWDnaMzRErNrKV61O7KEYyTU

GAPPS: http://xdaforums.com/showthread.php?t=2397942

Credits:

Original developers of CM for HTC One Mini (for the device tree)

HTC for the kernel source (and device)

Sources:

Device Tree: https://github.com/PatrikKT/android_device_htc_zara

MSM8960-common: https://github.com/PatrikKT/android_device_htc_msm8960-common

Kernel: https://github.com/PatrikKT/android_kernel_htc_zara

The msm8960-common is the same as the one from CM but I changed temporarily the qcom_media variant. If I fix the errors from media-caf, we will use the CM one. We use the media-caf but we still need to use this because of the graphical glitches.
[HTC Desire 601] patrik.KT:
reserved
[HTC Desire 601] rajat836:
good work ......hope u will fix all the bugs soon...
[HTC Desire 601] Vency77:
Wonderful work, thank you!!!
[HTC Desire 601] Orizence:
Im having a hard time connecting to ADB
[HTC Desire 601] patrik.KT:
Yes, for now... Will fix that later

Sent from my Desire 601
[HTC Desire 601] patrik.KT:
Make sure you have the latest htc drivers or htc sync

Sent from my Desire 601
[HTC Desire 601] patrik.KT:
Some good news: Mobile Data is now fixed :cool:

EDIT: And GPS too! Now I will focus on sound, camera and video

Sent from my Desire 601
[HTC Desire 601] Orizence:
You're doing a great job! Keep it up!
[HTC Desire 601] patrik.KT:
Build #2

Changelog:

-no more need to use MultiROM

-data fixed

-gps fixed

-sdcard is now not mounting properly (a fix for that should be done later today or tomorrow morning)

Notes:

-sound, camera and media still not working

-sound: according to logcat errors, there is no /system/etc/mixer-paths.xml, which is now used instead of snd_soc_msm

-camera: the HAL actually loads after adding libwriteback.so to /system/lib, but it still says cannot connect to camera... I did not logcat after adding that, will try later

-the media and audio not working problem is maybe caused by using a combination of display-caf and audio-caf with media-legacy - I had to use that because meda-caf gave me errors

-sources are uploading now

Check first post for updated links

EDIT: I decided to call this build "Build#1" :D So there will be no more links for MROM. And since I began developing MROM, I will edit the GUI and release it when there will be more than 1 custom ROMs :)
[HTC Desire 601] TehFlash:
Zara_CL?
[HTC Desire 601] patrik.KT:
I made this for UL but you or somebody else could try this out and tell if modem is working.

Sent from my Desire 601
[HTC Desire 601] TehFlash:
It won't even flash, saying that the devices are incompatible
[HTC Desire 601] patrik.KT:
Then try this:

-unpack the zip

-open /META-INF/com/google/android/updater-script

-remove first lines 2 or 3 lines so that the line beginning with "mount" is the first and save it

-repack

This will bypass the model check.
[HTC Desire 601] Vency77:
Got the time to install and try it, and everything except the bugs works like a charm (zara_ul)! There are some minor resizments and artifacts, plus some apps not working because of the sound and media problems, but overall its great. I will need my phone now so going back to sense, but will definately use it and help with whatever I can, till its perfect :)

P.S. Priatel, it's would be better to remove the device check of the updater-script or add zaracl as one of the options. I have zara_ul but the KK recovery by Diur is with device name zaracl, so even I had to edit the script, cheers!
[HTC Desire 601] patrik.KT:
Thanks for testing. I will remove the lines from future builds and also reupload the current one.

And the mobile data is also working fine?

Odoslané z môjho Desire 601
[HTC Desire 601] Vency77:
I think you misunderstood me, my phone is zara_ul too :D
[HTC Desire 601] patrik.KT:
Oh, I'm sorry :D now I get it, you meant you have the CL recovery...

So could anyone with CL test this?
[HTC Desire 601] Hedied4me:
Ill give it a test when I get time, may take a few days though. I tried to download from my phone, dumb question is having the Mega app the only way to download it?

Sent from my Virgin Mobile CDMA HTC Desire 601 zara_cl
[HTC Desire 601] patrik.KT:
No, you don't have to. If you have chrome, just open the link and then in menu select request desktop site or something like that. It will work, I just tried that :)

Odoslané z môjho Desire 601
[HTC Desire 601] Orizence:
Dayumm this anticipation is killing me :P Are you still using the Sense 5 kernel?
[HTC Desire 601] patrik.KT:
No. I use the htc kernel source to build it while compiling. Sense has different ramdisk which causes laggy bootanimation and constamt rebooting after few seconds.

Odoslané z môjho Desire 601
[HTC Desire 601] Orizence:
Oh that makes more "sense" now... Haha get it?
[HTC Desire 601] patrik.KT:
Please someone flash this kernel and let me know if SD card is now working.

https://mega.co.nz/#!B0pQEJZR!a-EsFrGJFUKwhOnjM3gNh7wBspsg3jhOIyWLf1W3FbI
[HTC Desire 601] mrplowdan:
yes it works!

---------- Post added at 03:08 PM ---------- Previous post was at 03:05 PM ----------

cell service isn't working for me (zara_ul telus upgraded to kitkat) want a catlog?
[HTC Desire 601] mrplowdan:
http://pastebin.com/si7rmeFi
[HTC Desire 601] patrik.KT:
Yes, I am aware of that. I changed the q6 and radio fw mounting paths to get rid of kernel panic. Just open /system/etc/init.qcom.q6_links.sh and replace every "firmware_q6" with "firmware/q6". Do the same with init.qcom.radio_links.sh, replace "firmware_radio" with "firmware/radio".

And I think I will abandon this for now and try to make aosp. The sound and video could be caused by using media-legacy, but when I try to use -caf, it gives me lots and lots of errors.
[HTC Desire 601] mrplowdan:
darn, thanks for trying
[HTC Desire 601] Vency77:
Its really sad to quit this, as it started pretty pretty well (I dont know if it was hard to make it boot, but however-great job).

We can ask for help on this one, there are plenty of devs capable and I hope ready to help for the remaining bugs..

Do you think aosp will be fixed easier? If you need something I would be really glad to help :)
[HTC Desire 601] patrik.KT:
It was not that hard, I just had to sort things out. I just want to try if in aosp will be easier to fix audio and media. And I'm not saying that I am completely abandoning CM.

And if anyone wants to help me and has a powerful HW (and good net speed), you can. Any help is appreciated.

I have Intel Celeron G1610 dualcore ivybridge and 4gb ram :D And HDD space is not an issue for me...
[HTC Desire 601] Vency77:
I only have 32 bit ubuntu machine, which prevents me from building JB or KK... This week I will find time to search for solutions to suggest you to try, only if you can provide me with the logcat from camera/media/sound errors because I constantly need my phone now and cant test it myself. And it doesnt matter CM or aosp, I hope you will continue the work :D
[HTC Desire 601] patrik.KT:
Logcat: http://pastebin.com/jBMEx5H6

I cant provide you the whole build output but I remember this line: include/linux/msm_vidc_vdev.h: error: variable or field "__user" declared void

This only occurs when I use media-caf. With media-legacy the build completes with no errors at all. I have searched everywhere but I did not find any solutions. But if you find anything, just say and we will try :)

Odoslané z môjho Desire 601
[HTC Desire 601] for811:
Maybe i will install ubuntu for help you to finish this rom! :)

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

hummm someone have the stock rom...? because i delete my backup -.-
[HTC Desire 601] conductive:
I have a 32 bit squeeze, 64 bit wheezy, and a bunch of SOCs running SID.

If somebody had a good cross compile setup, config.gz, changes, source and a good x-compile setup I could give it a go. I am a little behind on things but my OS should be ready to go. If ubuntu works debian should work too...or perhaps I can borrow a 32bit laptop running ubuntu.

I guess I will need a good *ux adb too at some point.
[HTC Desire 601] mrplowdan:
I have a twrp backup of stock in my sig
[HTC Desire 601] for811:
thankss!! hahah :D
[HTC Desire 601] patrik.KT:
Okay, so I am getting even more errors in aosp than in cm... What other rom would you recommend to build? Maybe in that one it will pass the media-caf errors :cowboy:
[HTC Desire 601] lowsum:
What about Omni ROM, Slim ROM or my favorite Liquid smooth.
[HTC Desire 601] patrik.KT:
I was also thinking about omni... I'll give it a try when I have time

Odoslané z môjho Desire 601
[HTC Desire 601] lowsum:
Good to hear, wish you luck!
[HTC Desire 601] Vency77:
http://xdaforums.com/showthread.php?t=2059939&page=86 here the guy at post #853 have similar problem? Here is what another one suggested and this, too. Can it be some help with the media-caf building?

I couldnt find anything useful for the errors that occur with media-legacy...

What we can try, as I assume this is kernel related problem, is to somehow use more stock-like kernel? Or build AOSP kernel only, besides from the CM build?

Also, you can give AOKP build a try, but I doubt something would be easier than CM...

P.S. I read for htc one minies unexpectedly dying while using CM11, really dont want to fork this issue from their CM :D
[HTC Desire 601] patrik.KT:
I saw that already, but he has to use media-legacy instead of -caf. And we have to use -caf instead of -legacy. And what I really dont understand, is that htc_msm8960 kernel has the same msm_vidc_venc.h and msm_vidc_vdec.h as our does. Take a look here and https://github.com/PatrikKT/android_kernel_htc_zara/blob/master/include/linux/msm_vidc_dec.h#L69 here. The code is almost the same, including that part where the errors occur. Also I have an idea... I will try to build this with qcom_media (not media-caf or -legacy) and see if that one gives me errors.

And about that one minies... Like seriously? Now I am afraid to test this since we use their device tree :D

EDIT: Nope, didnt work neither...
[HTC Desire 601] Vency77:
Damn it, thought it could be some help. I'm really puzzled what to suggest... Is it really as I understand it a kernel problem and maybe using the stock zImage with the ramdisk from your kernel wont work out?

And for the minie, yes pretty scary :D Some motherboard failure after some time of using CM, but it may not be something in the code that we yse, I hope atleast :D

Can we use another device tree? Moto G has pretty similar architecture and has better dev support, we may have better luck with it.
[HTC Desire 601] patrik.KT:
Actually, I think I could use the htc msm8960 kernel (which is for m4, m7 and other msm8960 devices) to finish the build but use a prebuilt kernel for the boot.img. Maybe I will learn C later and integrate zara configs into that kernel. I dont know if this will work or not, but it is worth a try :D I will try this tonight because I am not home at the moment.
[HTC Desire 601] patrik.KT:
Just finished the build with htc_msm8960 kernel source. So I flashed it and I think this is even worse than the original zara kernel... The graphics are extremely glitchy and buttons are not working properly. And of course the audio is not working neither. We have to stick to our "zara only" kernel source and somehow fix that problem...

BTW I also noticed that the accelerometer is not working.
[HTC Desire 601] Vency77:
I'm back to the good old google then... I'll try also to contact some other devs working on similar devices to see if they have an idea.

We'll eventually work it out someday, I'm sure :D
[HTC Desire 601] conductive:
I may be stating somethings that may be obvious or not, but it seems to me that if we could seporate out all the different firmwares at source level, we could modify/swap as needed and would have more options. I can crunch a few if I could get the proper xcompile configuration from somebody.

It seems to me that there should be some audio configuration in the boot config file (on board bios) which would allow the setting of different audio outputs. There should also be some type of graphics configurations here.

Is the audio chip driver loading @ startup, switches in the build, ....modprobe snd_chipname perhaps... Can a snd file be echoed to the chip to bypass any audio program snaufs?

Are there any old udev rules.d that need to be blown away and repopulated at boot?

----------------

Just read the log cat...

E/AudioHardwareALSA( 198): Device open failed

"libdashplayer.so" not found is this our problem?
[HTC Desire 601] patrik.KT:
I dont know and I dont really have time to test anything (we are painting my room) I will upload the latest changes I made to the device tree in few minutes and you can try it out.

Odoslané z môjho Desire 601
[HTC Desire 601] patrik.KT:
libdashplayer.so is not made during the build process because we are using media-legacy instead of -caf where the file is included... In htc_msm8960-common/BoardConfigCommon.mk edit qcom_media_variant to caf to see the errors and possibly fix them... This could fix video player and maybe the camera too.

Good luck :)

And the device tree is updated
[HTC Desire 601] patrik.KT:
[MENTION=4579733]Vency77[/MENTION] Please add me on FB, my PMs are not being sent somehow :confused:

https://www.facebook.com/patrik.zakhar2
[HTC Desire 601] Hedied4me:
Has any CL user tested this rom yet to verify if it works? Only curious because I wanted to try it out this weekend. Thanks

Sent from my Virgin Mobile CDMA HTC Desire 601 zara_cl
[HTC Desire 601] patrik.KT:
Not yet, but you could try and tell me :)

Odoslané z môjho Desire 601
[HTC Desire 601] xXminiWHOOPERxX:
The M4 is almost identical to the zara so why don't you try porting our cm11 kernel to this device.
[HTC Desire 601] patrik.KT:
You mean m4's kernel to zara?
[HTC Desire 601] xXminiWHOOPERxX:
Yes they are simular, minus screen res and camera
[HTC Desire 601] patrik.KT:
Yes, I tried it, but there were even more issues and I dont know C to edit the source

BTW you can add this thread to the index :p
[HTC Desire 601] xXminiWHOOPERxX:
I will add as soon as I get some rest .. IC has been released for zara_ul users, but flash both zips before first boot
[HTC Desire 601] patrik.KT:
Anyone with CL, please install the ROM and the boot.img (fastboot flash boot CL_boot.img) provided below. This should fix the mobile network.

ROM: https://mega.co.nz/#!UxRR0DrA!NASNgdFriL3DcDAQMsbPOkk6OB-YHD0Grz7UzbQQN3M

boot.img: https://mega.co.nz/#!wh4WBTzS!mY6C3dk0RXebOlavLwvVQweBMLc91oKVrPrfTO1M_Ys
[HTC Desire 601] Hedied4me:
^^^^

Will do on Sunday

Sent from my Virgin Mobile CDMA HTC Desire 601 zara_cl
[HTC Desire 601] kairi_zeroblade:
not similar..audio driver and some MSM specific stuff are different..this was pointed out during my port of KK kernel when the source was not available yet..thanks to mplowdan for testing with me unfortunately we can only boot upto HTC logo lolz..audio and some Graphics related stuff are different..thats why the kernel needs heavy porting..also the device tree needs some specific tweaking as what i have observed OP based heavily on M4 device tree..
[HTC Desire 601] conductive:
I wanted to see what this animal looks like so I started flashing it to an SD and ended up with a few random observations.

I kept flashing and bumped what I had on /dev/sdb to /dev/sdc with an iffy partition table. Zara ended up on /dev/sdg

Probably how some of the partitions were lost in the beginning.

The CL boot image was

/dev/sdg1 ext4 6.97GiB 4.48 used

/dev/sdg2 extended 356MiB

/dev/sdg5 swap 356MiB

Low priority but Is the extended partition needed and would it improve the performance to reduce the swap to 200MiB+/-

I have a full device file but as far as the audio goes

# Qualcomm MSM Audio ACDB device

/dev/msm_acdb u:object_r:msm_acdb_device:s0

/dev/ks_hsic_bridge u:object_r:kickstart_device:s0

/dev/efs_hsic_bridge u:object_r:kickstart_device:s0

/system/bin/qcks u:object_r:kickstart_exec:s0

/system/bin/efsks u:object_r:kickstart_exec:s0

/system/bin/ks u:object_r:kickstart_exec:s0

/data/nfc(/.*)? u:object_r:nfc_data_file:s0

/system/bin/hci_qcomm_init u:object_r:hci_exec:s0

/system/bin/bdAddrLoader u:object_r:hci_exec:s0

#line 1 "vendor/cm/sepolicy/file_contexts"

/cache/dalvik-cache(/.*)? u:object_r:dalvikcache_data_file:s0

build.prop too
[HTC Desire 601] TehFlash:
The APN settings for the Zara_CL ROM and Boot you released are for Sprint, and not for Virgin Mobile. the APN settings im putting in aren't sticking.
[HTC Desire 601] patrik.KT:
Then what device has the same audio as our zara? Maybe that device has some roms already...

So no CL for now. We have to fix at least the audio and then I can do for CL. And, of course, I will need some testers...

Odoslané z môjho Desire 601
[HTC Desire 601] conductive:
Wi-Fi

log cat

I/wpa_supplicant( 680): Successfully initialized wpa_supplicant

D/Atlas ( 591): Found best atlas configuration in 0,02s

I/wpa_supplicant( 680): rfkill: Cannot open RFKILL control device

D/Atlas ( 591): Loaded configuration: null

D/dalvikvm( 591): JIT started for system_server

D/WifiController( 591): DEFERRED_TOGGLE handled

E/WifiConfigStore( 591): Error parsing configurationjava.io.FileNotFoundException: /data/misc/wifi/ipconfig.txt: open failed: ENOENT (No such file or directory)

E/WifiConfigStore( 591): Enable network failed on 0

-----------------------------------------------

# dhcpcd configuration for Android Wi-Fi interface

# See dhcpcd.conf(5) for details.

# Disable solicitation of IPv6 Router Advertisements

noipv6rs

interface wlan0

# dhcpcd-run-hooks uses these options.

option subnet_mask, routers, domain_name_servers, interface_mtu

-------------------------------------------------------------

-------------------------------------------------------------

Not sure if we need to blow away are and reset some of the hooks?

/system/etc/dhcpcd/dhcpcd-hooks/

find /generate the folder file? permissions?

/data/misc/wifi/ipconfig.txt

or if ifconfig generates a wlan0? and heck ppp0 and/or run a rundis?
[HTC Desire 601] patrik.KT:
But wifi is working fine. At least for UL.
[HTC Desire 601] conductive:
oops sorry dataover load or something here
[HTC Desire 601] patrik.KT:
Actually, I don't think you have data overload... Are you connecting to a secured WiFi? I have a non-secured WiFi so maybe that's why it works for me.

Does anyone else have this issue?

Sent from my Desire 601
[HTC Desire 601] patrik.KT:
Build 2:

Changelog:

-fixed accelerometer

-fixed SD card

Download: https://mega.co.nz/#!VoIExToA!eE9e9HwioFqslDDEyIXKWDnaMzRErNrKV61O7KEYyTU (link is also in the first post)

Sound is still not fixed, I am trying hard, I dont know what is the problem

Also I need someone with access to a secured wifi to provide me a full logcat, so I can take a look and try to fix it. I have only non-secured wifi, because my ISP uses internal MAC address filtering (or whatever it is).
[HTC Desire 601] lj50036:
What device are you using for the proprietary vendor ?

Thx Josh
[HTC Desire 601] patrik.KT:
Zara UL. But it's messed up a bit, I will clean that up later. Why are you asking?
[HTC Desire 601] lj50036:
Just asking as I would not know without asking ... :D

I am trying to find a Zara UL on git but have come up empty ..

Just trying to build and test myself.....

Thx Josh
[HTC Desire 601] bijgu:
any progress? :) looking forward to some vanilla goodness for this phone
[HTC Desire 601] patrik.KT:
I am doing some stuff to the kernel. I need to add CAF support so the audio will work fine. It also should fix the graphical glitches and video player.

Odoslané z môjho HTC Desire 601
[HTC Desire 601] fmarky:
Well, you use the 8960 tree but on wiki (http://en.wikipedia.org/wiki/Snapdragon_(system_on_chip)#Snapdragon_400) it says that we have the msm8930AB.. maybe there are some minor differences between them and that's why some elements don't work?

Maybe I'm wrong I'm not a pro with that. What you think?
[HTC Desire 601] patrik.KT:
MSM8930AB is the SoC and MSM8960 is platform. For example, the HTC One M7 has APQ8064T as the SoC but it also uses the msm8960-common tree. The HTC One Mini too, MSM8930AA SoC and MSM8960. :) You can also take a look in /system/lib/hw/, there are some files with msm8960.so suffix
[HTC Desire 601] fmarky:
Oh ok! Thank you now I understand! It's like AM3+ is the socket (platform) and MSM8930AB would be like fx6300 (processor/SoC) in computer term?
[HTC Desire 601] patrik.KT:
Basically, its something like that
[HTC Desire 601] bunyan69:
Is this Rom still being developed?
[HTC Desire 601] patrik.KT:
Yes, we are working on it with [MENTION=5090417]fmarky[/MENTION]

Something prevents it to boot. We have to find that commit and revert it. Maybe it will boot then and I also have a possible solution for the audio so...

Odoslané z môjho HTC Desire 601
[HTC Desire 601] Hedied4me:
The thought of having cyanogen on this phone is really cool. Had all but given up hope we would continue to see development. Would be willing to test for sure.

Sent from my cdma Virgin Mobile HTC Desire 601 zara_cl
[HTC Desire 601] patrik.KT:
I got aosp to boot but the sound is not working on it neither. And I will need some cl testers if I get cm to boot...

Odoslané z môjho HTC Desire 601
[HTC Desire 601] Hedied4me:
Count me in.

Sent from my cdma Virgin Mobile HTC Desire 601 zara_cl
[HTC Desire 601] bunyan69:
I could test for ul if any testers are needed.
[HTC Desire 601] fmarky:
You won't find specifically zara ul on github but only zara.. look for htc_zara in the search box

I'm currently building a paranoid android rom, but like patrik i got some problems booting up the device.
[HTC Desire 601] lj50036:
What kind of boot issues ? Does the boot animation even come up ? Do you get adb on boot ?

Thx Josh
[HTC Desire 601] fmarky:
Stuck on HTC Logo. Doesn't even reach the bootanimation. No adb available so no logcat but still visible under devices in ubuntu.