[ROM][03.23.13] CyanogenMod 10 on HTC DNA; Audio WIP) - HTC Droid DNA

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
[ Unofficial CyanogenMod 10 Build on HTC DNA ]
git @ https://github.com/drewx2/android/ (Updated to download all necessary repos)
..CURRENT BUILD NOTES/HISTORY..​
03.24.13: CM10 doesn't include support for csd-client enabled phones (which we need). I have built a work around for it to utilize our csd-client lib; hopefully it brings audio one step closer.
My audio changes can be found at a separate git repo @ https://github.com/drewx2/android_hardware_qcom
03.23.13: Current Audio Status
I have some time to look at things, so here just getting started and thought I would post the first strace for those interested. Looks promising and not too difficult.
Code:
writev(4, [{"\4", 1}, {"AudioHardwareALSA\0", 18}, {"ucm instance opened: 1082445752\0", 32}], 3) = 51
writev(4, [{"\6", 1}, {"AudioFlinger\0", 13}, {"int android::load_audio_interfac"..., 103}], 3) = 117
writev(4, [{"\4", 1}, {"AudioFlinger\0", 13}, {"loadHwModule() error -22 loading"..., 49}], 3) = 63
writev(4, [{"\5", 1}, {"AudioPolicyManagerBase\0", 23}, {"could not open HW module primary"..., 33}], 3) = 57
writev(4, [{"\6", 1}, {"AudioPolicyManagerBase\0", 23}, {"Not output found for attached de"..., 47}], 3) = 71
writev(4, [{"\6", 1}, {"AudioPolicyManagerBase\0", 23}, {"Failed to open primary output\0", 30}], 3) = 54
writev(4, [{"\6", 1}, {"AudioPolicyManagerBase\0", 23}, {"getDeviceForStrategy() speaker d"..., 74}], 3) = 98
clock_gettime(CLOCK_MONOTONIC, {205, 684889413}) = 0
writev(4, [{"\6", 1}, {"AudioPolicyManagerBase\0", 23}, {"getDeviceForStrategy() speaker d"..., 74}], 3) = 98
writev(4, [{"\6", 1}, {"AudioPolicyService\0", 19}, {"couldn't init_check the audio po"..., 54}], 3) = 74
ioctl(3, 0xc0186201, 0xbe961a28) = 0
Complete strace available here: http://bit.ly/Xx3M0v
-------------------------------------------------------------------------------------------------------------------------------------
There won't be any builds posted until one of the "not working" items has been fixed. I mostly likely will focus on audio this weekend.
If you have something meaningful to share, please visit http://webchat.freenode.net/?channels=CM10DNA
03.04.13 @ 03:29AM: Wifi *now* really working
03.04.13 @ 03:29AM: Wifi now working.
Enable 3 dot menu: Settings -> Hardware keys -> Show action overflow [check]
Working:
Radio/RIL (no sound, so can't hear yet), SMS / MMS, 3G / 4G Data, Display, Orientation, Sensors, Lights, NFC, Torch, GPS (not tested), Wifi
Not working:
Camera, Audio, Bluetooth
To Do list
I plan to do bionic/kernel optimizations once all features working.
Click to expand...
Click to collapse
..INSTALL INSTRUCTIONS..​If you do not have S-OFF, you need to unzip the file and flash the boot.img inside via fastboot.
Install Instructions:
1) Download http://bit.ly/W0RAY8
2) Reboot to recovery of your choosing; wipe system/data/dalvik-cache/cache.
3) Install downloaded zip
4) Reboot.
5) Enjoy.
Google Apps @ http://goo.im/gapps/gapps-jb-20121011-signed.zip
Click to expand...
Click to collapse
Click to expand...
Click to collapse
.SPECIAL THANKS FOR DONATING.
RuinedByMTV, drmp3z
kronikings, danahern, karn101, Majik Mushroomz, Matt P., Matt B., pio_masaki, Droidika, Wheelchairmitch, MrIcky, liquidhaste, jamiethemorris, rainabba
.SPECIAL THANKS.
Flyhalf205, x3demond3x[debugging]
dsb9938 [cmdline boot option]
x3demond3x [egl fix]
Jarocks [resized bootanimation/debugging], pio_masaki [debugging],
jcase [unlock], dees_troy [twrp], beaups, jcase, Dr_Drache, dsb9938 [S-OFF]
.... and of course the CyanogenMod team and those who laid the foundation for the DNA....
..WANT TO HELP? HERE ARE SOME DEBUGGING TIPS..​1) Flash boot.img
2) On cmdline do "adb logcat"​
Click to expand...
Click to collapse
If you're ever in the mood to donate, don't forget about the others that have helped advance the HTC DNA to new levels (e.g. dsb9938, jcase, Dr_Drache, beaups, CM team, or XDA for bringing us all together!). Although, I may be working on CM and it may seem like a completely different project, in many ways we all rely on each other to help make the DNA better.
Click to expand...
Click to collapse

I can't help you with specifics but the guys over on the nook color forums have great guides on building and may be amenable to questions if no one here gives you anything useful
sent from my unlocked and rooted droid DNA

jamesbra said:
I can't help you with specifics but the guys over on the nook color forums have great guides on building and may be amenable to questions if no one here gives you anything useful
Click to expand...
Click to collapse
Thanks. Brings me back to the days when I was writing some early scripts for the Nook Color... when you had to flash the "harder" way. Anyhow, it reminded me of just mounting each partition separately (/dev/block/mmcblk0pXX). Found kernel/system logs, just what I wanted.

What about radio??
Sent from my HTC6435LVW using xda premium

typeriz said:
What about radio??
Sent from my HTC6435LVW using xda premium
Click to expand...
Click to collapse
That's a whole separate issue. We can have a Rom booting and usable without the ril working. Granted, this booting will most likely help with ril advancement.
Sent from outer space...

drewX2 said:
I've successfully built CM 10 on the DNA, however I'm stuck with debugging after booting in standby (assuming). For those that have built new roms on unsupported devices, how did you debug the boot process? Yes, I understand to use logcat/ddms/etc. I boot into standby with a black screen (no boot loop). Sdcard mounts once I get to black screen, however I built kernel from source as well so no hacks have been applied yet.
Also, when taking any kernel available right now, pulling it apart and remerging with no changes (just verifying process), I go into a boot loop on a working Rom (genome/ukb)
This is what I am doing to recreate boot.img:
Code:
(boot.img taking from DNA cubed kernel, I've renamed kernel and ramdisk)
unbootimg boot.img
mkbootimg --output boot.img --kernel kernel --ramdisk ramdisk.cpio.gz --cmdline 'console=ttyHSL0,115200,n8 androidboot.hardware=dlx user_debug=31' --board '' --base 80600000 --pagesize 2048
Any tips would be great so I can finish up and share. Seems so silly that I can't even remake a working boot.img after spending 20+ hrs working on CM10. It seems I'm a bit slow to get back into the swing of things since taking a hiatus from programming for several years.
Click to expand...
Click to collapse
I have gotten to the same point as you in my AOSP venture with the DNA. From my findings, without the correct kernel drivers being administered from the gate, the USB (debugging) features are not going to work properly. I am in the process of finding a kernel developer who is familiar with Sense (HTC) devices to build the proper kernel to make this possible. With the help of Dr_Drace I was able to put together a working DLX build tree and have successfully compiled FactoryROM (which is 4.2 AOSP based) but am stuck at the end of the boot process. And like you, I am unable to gather any logs due to the lack of USB access. We need a reliable kernel developer to get us past the hurdle. Unfortunately I am not one of them. As far as RIL, it's anyone's guess as to its functionality once we get things booting correctly. We have all of the drivers, it's just making them work together. :fingers-crossed:

MyComputerDoctor said:
I have gotten to the same point as you in my AOSP venture with the DNA. From my findings, without the correct kernel drivers being administered from the gate, the USB (debugging) features are not going to work properly. I am in the process of finding a kernel developer who is familiar with Sense (HTC) devices to build the proper kernel to make this possible. With the help of Dr_Drace I was able to put together a working DLX build tree and have successfully compiled FactoryROM (which is 4.2 AOSP based) but am stuck at the end of the boot process. And like you, I am unable to gather any logs due to the lack of USB access. We need a reliable kernel developer to get us past the hurdle. Unfortunately I am not one of them. As far as RIL, it's anyone's guess as to its functionality once we get things booting correctly. We have all of the drivers, it's just making them work together. :fingers-crossed:
Click to expand...
Click to collapse
I'm just going to try stripping as much away as I can to boot and then slowly add things back in. On a side note, I've made a working version of touch clockworkmod recovery. I am going to modify it to add some additional options before sharing (unless someone gets around to it before I do).
What I suggest doing is mounting /dev/block/mmcblk0p24 manually via working recovery. This is the log partition; system.log and kernel.log are written to it.

Please keep us updated on your progress. It would be greatly appreciated. And yes you may be part god.

Please try to keep this thread focused on development and free of clutter. The Thanks button still works just fine.

Do either of you have the device/vendor posted to Github by chance? I actually started putting one together but haven't had much time to actually make progress.
Which kernels have you used with source built Rom? Tried the stock kernel by chance? I always feel its a good starting point. Have either of you uploaded the zip? I can flash and take a look... They say two heads are better then one so if we're all working on the same thing I'm sure progress will be made! Lol
Sent from my HTC6435LVW using Tapatalk 2

Ill try to get it up or post a zip tonight (not workable, but see if you can troubleshoot ). I was off for a bit bit but now working four long shifts in a row.

I contacted cayniarb.. most familiar will remember him from all the tiamat htc kernels.. not sure if he will help but i sent him a link to the forum for him to take a look..
---------- Post added at 08:35 PM ---------- Previous post was at 07:53 PM ----------
since i am not versed in helping you guys ill will post cayniarbs comments in hopes something might give you a idea.. we talk breifly and when i say breifly it was only a few lines... " ok this isnt a unexpected problem the devs should try to straight up disabling problem drivers--- turning off usb means no debugging , but it might also make it boot---- as far the actual kernel changes for that it will consist of of rippin gour the sense usb drivers and replacing them with google driver.. by disable i mean just cut the init references out of the ramdisk"
hope this gives someone and idea that maybe they didnt have before.. sorry i can be no help- my skill dont lend to being this early in the project.

leech2082 said:
I contacted cayniarb.. most familiar will remember him from all the tiamat htc kernels.. not sure if he will help but i sent him a link to the forum for him to take a look..
---------- Post added at 08:35 PM ---------- Previous post was at 07:53 PM ----------
since i am not versed in helping you guys ill will post cayniarbs comments in hopes something might give you a idea.. we talk breifly and when i say breifly it was only a few lines... " ok this isnt a unexpected problem the devs should try to straight up disabling problem drivers--- turning off usb means no debugging , but it might also make it boot---- as far the actual kernel changes for that it will consist of of rippin gour the sense usb drivers and replacing them with google driver.. by disable i mean just cut the init references out of the ramdisk"
hope this gives someone and idea that maybe they didnt have before.. sorry i can be no help- my skill dont lend to being this early in the project.
Click to expand...
Click to collapse
Thanks for helping out anyway you can. Now that I've completed my work stretch, I can go back to working on this a bit. What he is saying is essentially what I am doing, however, the simple fact of taking a working boot.img, splitting it up, then remaking with zero changes and it it not working anymore has eluded me.

drewX2 said:
Thanks for helping out anyway you can. Now that I've completed my work stretch, I can go back to working on this a bit. What he is statins is essentially what I am doing, however, the simple fact of taking a working boot.img, splitting it up, then remaking with zero changes and it it not working anymore has eluded me.
Click to expand...
Click to collapse
Wink, wink!
D
.

dsb9938 said:
Wink, wink!
D
.
Click to expand...
Click to collapse
Haha judging by the amount of thanks I think we are all hoping that aosp is coming really soon for xmas and you guys are just playing us, haha. Thank you for your amazing work bringing the world of real android closer to reality

leech2082 said:
I contacted cayniarb.. most familiar will remember him from all the tiamat htc kernels.. not sure if he will help but i sent him a link to the forum for him to take a look..
---------- Post added at 08:35 PM ---------- Previous post was at 07:53 PM ----------
since i am not versed in helping you guys ill will post cayniarbs comments in hopes something might give you a idea.. we talk breifly and when i say breifly it was only a few lines... " ok this isnt a unexpected problem the devs should try to straight up disabling problem drivers--- turning off usb means no debugging , but it might also make it boot---- as far the actual kernel changes for that it will consist of of rippin gour the sense usb drivers and replacing them with google driver.. by disable i mean just cut the init references out of the ramdisk"
hope this gives someone and idea that maybe they didnt have before.. sorry i can be no help- my skill dont lend to being this early in the project.
Click to expand...
Click to collapse
Leech I actually worked with him two weeks ago to build an Tiamat AOSP kernel for the DNA. Since then I've had my birthday and 3 family members birthdays and now Christmas. The zip is still on my system waiting to be flashed We'll get it to work. The dudes built kernels for every single HTC device to date practically. I have faith.

Kernel building no longer issue. I just had one command left out which kept giving me a PITA. Now to find out which things can be eliminated from HTC and still boot.

And now to get the hardware to work properly lol. Battle has just begun. Great work guys. Will be downloading and attempting to fix some things after Xmas.
Sent from my DNA.

When did they add xxhdpi to aosp?
Sent from my SGH-I747 using Tapatalk 2

idkwhothatis123 said:
And now to get the hardware to work properly lol. Battle has just begun. Great work guys. Will be downloading and attempting to fix some things after Xmas.
Sent from my DNA.
Click to expand...
Click to collapse
Do you really have to wait until after Christmas? Come on.
:victory:

Related

[ROM][4.3]ProtouProject-CM10.2 Alpha #1[05/08/2013]

Please post all non-dev questions and discussions here:
http://forum.xda-developers.com/showthread.php?t=2392703
Click to expand...
Click to collapse
CyanogenMod 10.2 is a free, community built, aftermarket firmware distribution of Android 4.3 (Jellybean), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include <std_disclaimer.h>
/*
* 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.
*
* Submitting bug reports on nightly builds is the leading
* cause of male impotence.
*/
Download:
alpha #1
​
Click to expand...
Click to collapse
Requirements:
Unlocked bootloader
CWM recovery installed
Install:
Download the rom
Extract the boot.img
Copy the rom to your sdcard
Go to recovery and flash the rom
Wipe data
Reboot to bootloader/fastboot
Install boot.img with fastboot ---> fastboot flash boot boot.img
Reboot and enjoy!
Sources:
I share the source code, but i have some requests:
Please don't use my work without my permission.
If you have some fixes, don't open a new thread. Just make pull request, write me PM, or share it in this thread.
All sources avaliable here: https://github.com/ProtouProject
Use this for init the repo: "repo init -u git://github.com/ProtouProject/android.git -b cm-10.2"
Credits:
@sakindia123​
Working:
Touchscreen
Lights
GSM & data
Camera
Sensors
Not working:
SD card
Bluetooth
Wifi
Audio​
Changelog:
alpha 1.0:
First release​
Support:
If you would like to support me and the development, you can donate to me here:
Donators: (Thank you guys )
@vogonpoetlaureate
@simaka
@eagle_vis
@RuudM
@azraelcelt
​
Ok guys,i managed somehow to turn on the Bluetooth and connect it to my moms Nokia. But then i tried to replicate it and now it won't turn on.
Here is the logcat and you can see on the bottom that it connected. http://pastebin.com/PaDuCZiB
Camera crashes on start and Focal is working but crashes when i take a picture. That is probbably because of the SD problem.
No sound,no wifi,i didn't test the gps. Rom is fast,but some animations are laging.
@atis112 i see in the source that you did some changes to BT did you fix it ?
EDIT 3,i think. xD
#define BTM_DEF_LOCAL_NAME in bdroid_buildcfg.h is set as "HTC Explorer A310e" , i mean it's not really a bugfix but i think that BT deservs the name of our device.
EDIT 4 :
So i checked the bt_vendor.conf and there was a file in /system/etc/firmware/ named BCM4330B1_002.001.003.0221.0228.hcd but when i checked on the phone it was named something like BCM4330B1_002.001.003.08xx.08xx.hcd,can't remember correctly. So i renamed it and when i rebooted the bt was on. But when i turn it off it won't turn on again unless i reboot the phone.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
@nightwalkerkg Congrats.. we are on the same stage in cm10.1
 @atis112 did u make changes to protou.fstab to support sdcard mounting? I have heard that there are new changes in 4.3 and vold.fstab is removed.. One more thing, where did u get that ramdisk from? it seems little buggy to me...
prototype-U said:
@nightwalkerkg Congrats.. we are on the same stage in cm10.1
@atis112 did u make changes to protou.fstab to support sdcard mounting? I have heard that there are new changes in 4.3 and vold.fstab is removed.. One more thing, where did u get that ramdisk from? it seems little buggy to me...
Click to expand...
Click to collapse
I am not really a dev,i am just trying to help. I tried to find some help on cm irc channel,but they were to busy trying to help some guy with his S3. -.-' I'll se what i can do,so far i know that sd card can be acessed fully in file manager but only when you enable root access,other then that there is only a download folder. Also when charging the green led turns on as soon as the phone battery lvl reaches 92-93%. Sound works in phone calls,i did two phone calls and some messages and everything was ok. Are there any gapps,i would like to test some other things ?
nightwalkerkg said:
Ok guys,i managed somehow to turn on the Bluetooth and connect it to my moms Nokia. But then i tried to replicate it and now it won't turn on.
Here is the logcat and you can see on the bottom that it connected. http://pastebin.com/PaDuCZiB
Camera crashes on start and Focal is working but crashes when i take a picture. That is probbably because of the SD problem.
No sound,no wifi,i didn't test the gps. Rom is fast,but some animations are laging.
@atis112 i see in the source that you did some changes to BT did you fix it ?
EDIT 3,i think. xD
#define BTM_DEF_LOCAL_NAME in bdroid_buildcfg.h is set as "HTC Explorer A310e" , i mean it's not really a bugfix but i think that BT deservs the name of our device.
EDIT 4 :
So i checked the bt_vendor.conf and there was a file in /system/etc/firmware/ named BCM4330B1_002.001.003.0221.0228.hcd but when i checked on the phone it was named something like BCM4330B1_002.001.003.08xx.08xx.hcd,can't remember correctly. So i renamed it and when i rebooted the bt was on. But when i turn it off it won't turn on again unless i reboot the phone.
Click to expand...
Click to collapse
Yes, I know about this, but i don't work with bt or wifi, while sdcard not working.
prototype-U said:
@nightwalkerkg Congrats.. we are on the same stage in cm10.1
@atis112 did u make changes to protou.fstab to support sdcard mounting? I have heard that there are new changes in 4.3 and vold.fstab is removed.. One more thing, where did u get that ramdisk from? it seems little buggy to me...
Click to expand...
Click to collapse
Yes, i added it: https://github.com/ProtouProject/android_device_htc_protou/blob/cm-10.2/ramdisk/fstab.protou#L6
The sdcard problem is because of prebuilt init. But with CM init, the ril don't work and the rom have random reboots.. and I don't know why.
I think that the sdcard is mounted as read-only or idle.
I read on some disscussion that fsck -f /dev/store/media this would help fix it.
Also is it possible to switch internal and external storage ?
There is a hashtag in /ramdisk/init.protou.rc on line 12,should it be there and on line 148 there is just # wifi-- ? I am just asking this because they don't seem like they should be there,but that is just me.
What is the diff. bettwen eth0 and wlan0 ?
EDIT:
Here are the gapps if you need them.
http://forum.xda-developers.com/showthread.php?t=2387878
nightwalkerkg said:
I think that the sdcard is mounted as read-only or idle.
I read on some disscussion that fsck -f /dev/store/media this would help fix it.
Also is it possible to switch internal and external storage ?
There is a hashtag in /ramdisk/init.protou.rc on line 12,should it be there and on line 148 there is just # wifi-- ? I am just asking this because they don't seem like they should be there,but that is just me.
What is the diff. bettwen eth0 and wlan0 ?
EDIT:
Here are the gapps if you need them.
http://forum.xda-developers.com/showthread.php?t=2387878
Click to expand...
Click to collapse
Appreciate your efforts @nightwalkerkg,
Might i suggest a better method? make a git account and make pull requests. That way, atis112 will have an easier time looking at exactly what you mean.
Regards
Yasir
---------- Post added at 11:49 PM ---------- Previous post was at 10:57 PM ----------
@atis112
Why does pico use NO "init" file??
That means they use CM init?
neXus PRIME said:
Appreciate your efforts @nightwalkerkg,
Might i suggest a better method? make a git account and make pull requests. That way, atis112 will have an easier time looking at exactly what you mean.
Regards
Yasir
---------- Post added at 11:49 PM ---------- Previous post was at 10:57 PM ----------
@atis112
Why does pico use NO "init" file??
That means they use CM init?
Click to expand...
Click to collapse
Yes, they use the source-built CM init.
I did adb shell dmesg and this popped out http://pastebin.com/vZdvYpB6 .
There are tons of <3>[ 1761.106391] C0 init: cannot find '/system/bin/fusermount', disabling 'fuse rmount' errors.
nightwalkerkg said:
I did adb shell dmesg and this popped out http://pastebin.com/vZdvYpB6 .
There are tons of <3>[ 1761.106391] C0 init: cannot find '/system/bin/fusermount', disabling 'fuse rmount' errors.
Click to expand...
Click to collapse
We just need to delete it: https://github.com/ProtouProject/android_device_htc_protou/blob/cm-10.2/ramdisk/init.rc#L641
Our ramdisk is not really clean
atis112 said:
We just need to delete it: https://github.com/ProtouProject/android_device_htc_protou/blob/cm-10.2/ramdisk/init.rc#L641
Our ramdisk is not really clean
Click to expand...
Click to collapse
Haha,yeah.
I'll do some resizing for mySense5 rom,i am much better at graphics,sorry. But after that i'll try to help as much as i can.
Also the logcat is reporting tons of errors,mostly about some files missing. As you can see here : http://pastebin.com/mi96kzyR .
mahra said:
it would be nice, if you finish 4.2.2 first, jumping from project to another project is a bit lame.
i have asked you something on PM, but u didn't replied me. why ?
Click to expand...
Click to collapse
Why would he, 4.2.2 to 4.3 isnt a big jump. And most of the work done on 4.2.2 can be transferred to 4.3. Besides, I dont see it as a new project, but as an upgrade of the current. Its still a jelly bean. He cant help it either that cm gave it an other build number. Its positive in my eyes he moved on to 4.3 instead of sticking to an older android build. Isnt that what we all want? The latest and greatest? So, its not about what you or anyone else wants, but about what he wants. We just have to follow, like it or not.
Edit:
And an other thing: just noticed the thread title, can you please ask questions like this in the q&a thread, this is for development only. You can find the link in the OP.
Sent from my HTC Desire X with Tapatalk Red
Computers are like air-conditioners. They can't work properly if you open windows.
source released !
The jelly bean source ( 4.1.1) has been released for our phone finally !! :good:
http://www.htcdev.com/devcenter/downloads
hopefully this will help with development
Cleaned up fully half the posts here. There's a discussion thread for all non-dev related posts. Thread closed at OP request.

[TOOL] WinDroid Toolkit | Unlock | Root | Flash | Install | Desire X

Link To Main Thread
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
About
The WinDroid Toolkit is a Windows program built in Visual Studio using the C# programming language that simplifies the rooting process for many Android devices. The toolkit makes it easy to unlock your bootloader, flash a custom recovery and gain permanent root. It also includes other functions such as flashing kernels, pushing files and installing apps. If you find it helpful, give me a thanks and a donation if you can. If you find a bug or have a feature request, feel free to leave a reply. Thanks!
Download
WinDroid Toolkit
Changelog
Check out this document for current and past changelogs.
Supported Devices
Check out this spreadsheet for a list of currently supported devices.
Device not supported? Make a request here!
Contribute
Check out the source code on GitHub here.
Disclaimers
Please do not post, mirror, or take credit for this toolkit or any related work without explicit permission.
I am in no way responsible for any harm, damage, nuclear fission or bee infestation that may occur to your device through the use of this toolkit.
Does write supercid work because I thought it didn't work for desire x
Sent from my HTC Desire X using xda app-developers app
What is sideload ROM's
Btw: thanks for your work! I'm 16 too
HTC Desire X || Android 4.1.2 || mySENSEdx5
Good job. I will decompile it and look at code and if there are deprecated uses of code I will teach you something.
Btw try to use object as much as you can.
Don't limit only at the guide who you looked in because I saw it uses basic commands of C#.
xpirt
use for s-off?
@WindyCityRockr
Ok looked into it.
Some advices:
- Remove HTC One X 3.0 references
- Please use instead of buttonXX the name of button, there are almost 60 buttons! (for ex. installAdbDrivers_Click/DragDrop, etc.. you can help also other people or devs looking at your code
- Same for forms
- Catch exceptions for EVERY thread you do! And write it as error.log so if there are problems with it, people can send you this file
- If an OS doesn't use C: as default hard drive (like laptops)? Fix it.
- Is there a Form2 that is not used with a textbox in it??
- You can use StatusStrip to let people know what the program is doing
- You put a link to a Label?? Use LinkLabels lol
- And last, give name at all controls and comment some of them
This was for code side, you can decide to not change nothing but I reccomend you to make these changes.
Except these, well done!
EDIT: I forgot.. you download from your website adb files if they are missing, but you forgot to download them in a folder.
xpirt
Major update to version 2.0! Check it out and let me know what you think! :highfive: And @xpirt, I followed a lot of your advice, so I hope that it is up to your standards.
Major update to version 2.0! Check it out and let me know what you think! :highfive: And @xpirt, I followed a lot of your advice, so I hope that it is up to your standards.
Click to expand...
Click to collapse
Good job! Today I will take a look.
Nice you used MetroUI.
xpirt
OK. Really good job! Now ALL is very conprensible, do you see it? Also helps you to look at your code, imagine you don't have GUI with controls, etc. you have to create them at runtime, what did you do with button1, button2.........button50 ?
Minor forgots:
- You left metroButton1, metroComboBox1 and Form1
- You left the Form1 exceptions to save to log, also if there is a minor error and only you display message you should save just let users give you this log and you see all error happend with him
- Why you make dll invisible?? xD You can integrate them into the app with this tool made by my friend Predator: http://www.nexenteam.net/index.php?option=com_content&view=article&id=13:dotqube&catid=12&Itemid=125
It merges Dot Net executable and library, performing autoscan of dependencies.
xpirt
---------- Post added at 02:47 PM ---------- Previous post was at 02:11 PM ----------
@WindyCityRockr Which problems you have with androidLib? I think it's not difficult to use it.
See there: https://github.com/regaw-leinad/AndroidLib-Samples-C-
There are some examples using C#.
xpirt
Suggestion,
You can make apk decompile, mod and recompile tool for people.
Framework mods
System ui mods
And similar stuff
That way, people just create images and let the tool do the rest
Sent from my HTC Desire X using xda app-developers app
Just a quick comment... It's "Gain Root", not "Gaint Root"; (yeah, I know, I'm a grammar nazi...)
xpirt said:
OK. Really good job! Now ALL is very conprensible, do you see it? Also helps you to look at your code, imagine you don't have GUI with controls, etc. you have to create them at runtime, what did you do with button1, button2.........button50 ?
Minor forgots:
- You left metroButton1, metroComboBox1 and Form1
- You left the Form1 exceptions to save to log, also if there is a minor error and only you display message you should save just let users give you this log and you see all error happend with him
- Why you make dll invisible?? xD You can integrate them into the app with this tool made by my friend Predator: http://www.nexenteam.net/index.php?option=com_content&view=article&id=13:dotqube&catid=12&Itemid=125
It merges Dot Net executable and library, performing autoscan of dependencies.
xpirt
---------- Post added at 02:47 PM ---------- Previous post was at 02:11 PM ----------
@WindyCityRockr Which problems you have with androidLib? I think it's not difficult to use it.
See there: https://github.com/regaw-leinad/AndroidLib-Samples-C-
There are some examples using C#.
xpirt
Click to expand...
Click to collapse
Thanks for looking at it again. I shall look into those pesky unnamed buttons. I didn't know the DLL's could be directly integrated either! I'll be sure to do that for the next update. Also, I'll take a look at AndroidLib again, but I just can't seem to get it to work. I previously downloaded that C# example, but it froze on me just like the others, and I couldn't seem to figure anything out. I will try my hand at it again though.
neXus PRIME said:
Suggestion,
You can make apk decompile, mod and recompile tool for people.
Framework mods
System ui mods
And similar stuff
That way, people just create images and let the tool do the rest
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
Do you mean to make this as a separate program, or implement it into my toolkit? I don't want to overload it with features, but some of that does sound interesting. I'm just not sure how that could be used in my toolkit in place of anything else.
dansou901 said:
Just a quick comment... It's "Gain Root", not "Gaint Root"; (yeah, I know, I'm a grammar nazi...)
Click to expand...
Click to collapse
HOLY CRAP. How did I miss that!? I'm a huge grammar nazi as well, so I gotta decide if I want to agonize over it until the next update, or re-upload a fixed version and hope no one notices.
Hi, when I use your toolkit, it can find my device but can't flash a kernel, i keep getting a device not found message
The manual s-off function is not sending any command to my phone.
When i press step 1 a cmd windows opens and it showing
Code:
[email protected]:/ $
But nothing further happends...
The auto s-off was not working either, i got
Code:
Kernel version is Froyo... Using psnueter to temproot...
Failed to set prot mask (Inappropriate ioctl for device)
Can you help me to get s-off?
bas_vdl said:
The manual s-off function is not sending any command to my phone.
When i press step 1 a cmd windows opens and it showing
Code:
[email protected]:/ $
But nothing further happends...
The auto s-off was not working either, i got
Code:
Kernel version is Froyo... Using psnueter to temproot...
Failed to set prot mask (Inappropriate ioctl for device)
Can you help me to get s-off?
Click to expand...
Click to collapse
Was this meant for the Desire HD toolkit? Because the Desire X doesn't have a method for S-OFF at the moment.
WindyCityRockr said:
Was this meant for the Desire HD toolkit? Because the Desire X doesn't have a method for S-OFF at the moment.
Click to expand...
Click to collapse
Trying to s-off my HTC Desire HD. I've unlocked my bootloader and gained root access... But in order to get my GPS fixed, i need -radio s-off to flash a different radio...
bas_vdl said:
Trying to s-off my HTC Desire HD. I've unlocked my bootloader and gained root access... But in order to get my GPS fixed, i need -radio s-off to flash a different radio...
Click to expand...
Click to collapse
I'd love to help you, but I want to keep this thread for discussion on the Desire X only. Please PM me or post your question in the Desire HD thread here. Thanks!
Version 2.1 Now Out!
Verson 2.1 update is now out! Lots of new features and fixes, so check it out and let me know what you think! :highfive:
EDIT: Aaaaand, something major came up. I may have to redesign a function, so the update may be a few more days. Sorry everyone!
Version 2.1 is back online now! I had to redesign a few functions on the Setup page, and took some of that extra time to add even more features to it as well! Hope you all enjoy it! :laugh::good::highfive:
So what is the benefits between flashing a ROM on this and flashing one with TWRP or CWM (all due respect) ??

[ROM][3/26/15] Pure AOSP ROM -★| 5.1.0_R3 | LMY47I | Build #6 | Proof of concept! |★-

[ROM][3/26/15] Pure AOSP ROM -★| 5.1.0_R3 | LMY47I | Build #6 | Proof of concept! |★-
Pure AOSP for the Nexus 6​
Preface:
This is meant to be a Pure AOSP build with just minor edits to stop the stock recovery from replacing custom recovery, add some Google edits to the ROM for GPS, and modify the ramdisk so as not to preclude it from being rooted! Its not meant to be a fancy ROM, its just meant to be a baseline AOSP ROM. This ROM was produced by following the steps in the build guide I wrote. See post #2 for build guide links!
Install Instructions
Must have custom Recovery on unlocked device
Copy ROM to device (Gapps and root too!)
Reboot to recovery
Choose Factory reset (TWRP, not sure what CWM is)
Choose Install ROM
Now you can install the Gapps, and Root if you desire!
Specs and Download Link!
Android Build Version: 5.1.0_R3 / LRX22G
Current Build Date: 3/26/2015
Download: HERE!
Recommended Add-Ons
SuperSU by Chainfire here: SuperSU Stable Version
PA Gapps here: [GAPPS][5.0.x][BETA] OFFICIAL Up-to-Date PA-GOOGLE APPS (All ROM's)
Change Log
1/19/15 - Build 6 - Complete rebuild as proof of concept for 5.1.0_r3. This is PURE AOSP with no edits and no fixes.
1/19/15 - Build 5 - Fixed Youtube, Net flix DRM play back issue. Thanks to @sykopompos for pointing me to @ayysir git hub for the fix by @BeansTown106
1/17/15 - Build 4 - Fixed Browser force close in settings.
12/19/14 - Build 3 - Updated to Android 5.0.2_r1
12/15/14 - Build 2 - Switched back up to block based build for installation speed! Thanks to @hlxanthus for the 411!
12/14/14 - Build 1 - Initial build
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
Build Guide Link
Want to build this exact ROM yourself?
Here is a great build guide I wrote: [Guide][1/19/2015] Building AOSP for the Nexus 6!​
Change Log
Add-Ons
Sprint Data connectivity linked by @orlzzt is HERE!
Reserved!
Hmm... I'll take this for a spin later. Thanks!
Is it safe to say with this being pure aosp shamu that it is still set to force encryption?
Also, the drawback of not doing the block style flashable is it takes several times longer to actually install via recovery.
hlxanthus said:
Is it safe to say with this being pure aosp shamu that it is still set to force encryption?
Also, the drawback of not doing the block style flashable is it takes several times longer to actually install via recovery.
Click to expand...
Click to collapse
Yes. Its pure AOSP.
Can you give me a calculation of time to install block based and file based ROM? Several times longer is a strong statement. If you could produce factual data I would appreciate.
However I am still not going block based installs because the user can take this ROM, add or remove things before it is even installed.
But I look forward to the numbers you show me! If you dont have the data that is fine. I can change the false to try in the script ota_from_tools and test it myself. Should only take a few minutes to recompile as block based.
But thanks for the input!
Took like 3-5 minutes to install your ROM and maybe 20 seconds to at most a minute to install either rastapop or cm12alpha. Honestly I thought it stalled or failed so I rebooted recovery and installed just your ROM (instead of gapps together via twrps) and it simply takes a LONG time to flash.
Great to finally see you here scrosler!!! Always great to welcome another knowledgeable developer to the forums
hlxanthus said:
Took like 3-5 minutes to install your ROM and maybe 20 seconds to at most a minute to install either rastapop or cm12alpha. Honestly I thought it stalled or failed so I rebooted recovery and installed just your ROM (instead of gapps together via twrps) and it simply takes a LONG time to flash.
Click to expand...
Click to collapse
The exact numbers your reported time can vary buy almost 66%! Thats a huge variance.
Also, you are testing differnt ROMS. For a control I need to build this exactly as it is but block based.
I will test it on my device with a high end chronograph and report my results.
Also, what recovery are you using?
Ok, I timed the file based intall, it was 2:16.08 (which was closer to your 3 minute estimate but a far cry from the 5 minute estimate)
I will build a block based ROM tonight and test to see the difference. However its still very unlikely I would change the current set up. Although I could just post both! :highfive: Win Win for everyone :good:
But once again! Thanks for your input!
scrosler said:
The exact numbers your reported time can vary buy almost 66%! Thats a huge variance.
Also, you are testing differnt ROMS. For a control I need to build this exactly as it is but block based.
I will test it on my device with a high end chronograph and report my results.
Also, what recovery are you using?
Click to expand...
Click to collapse
I can time it if that helps, or you can test yourself if you would rather. As for recovery, the only one I know of is twrp, downloaded directly via their website (only one version there) and manually fastbooted in place.
hlxanthus said:
I can time it if that helps, or you can test yourself if you would rather. As for recovery, the only one I know of is twrp, downloaded directly via their website (only one version there) and manually fastbooted in place.
Click to expand...
Click to collapse
We are cross posting. I timed it myself and it was just a hare over 2.25 Minutes. Which is not that far off from your assert of 3.0 minutes.
Im going to build the block based tonight and post it so people can have both options.
You brought a valid point. Once again, thanks for your input!
Edit: Also, wasnt trying to beat you up, I just like solid number comparisons.
Haha no worries, us old optimus s veterans need to stick together ?
Edit: if you wanted to remove the force encryption, it is a very simple fstab.shamu edit. Under the /userdata line, change "forceencrypt" to "encryptable". Looking at a few rom sources, that is how they all do it. That way if you are encrypted you will stay encrypted. If not, then it wont force encrypt you. Would save people from having to flash an alternate kernel . .
hlxanthus said:
Haha no worries, us old optimus s veterans need to stick together ��
Edit: if you wanted to remove the force encryption, it is a very simple fstab.shamu edit. Under the /userdata line, change "forceencrypt" to "encryptable". Looking at a few rom sources, that is how they all do it. That way if you are encrypted you will stay encrypted. If not, then it wont force encrypt you. Would save people from having to flash an alternate kernel . .
Click to expand...
Click to collapse
OMG!!! Optimus S? Are you serious? That was my first Android Phone / ROM!
Yeah, I know how to shut it off. But i wanted to leave this as close to pure AOSP as I could. I think I will shut it off on the next build though. I heard the encryption can slow things down a hair too.
Ok, I just got lost reading comments. Is this encrypted? If it is, does anyone mind letting me know what to do BEFORE I flash to decrypt.
Ty.
gcng said:
Ok, I just got lost reading comments. Is this encrypted? If it is, does anyone mind letting me know what to do BEFORE I flash to decrypt.
Ty.
Click to expand...
Click to collapse
You just flash a no force encrypted kernel which I basically any of them. And as @scrosler just said he may just build it into the next build.
---------- Post added at 02:55 PM ---------- Previous post was at 02:53 PM ----------
And yes, same user name over at android central, I had DanteRom that I released. ?
EDIT:
DAMN! There is no comparison from Block Build and File based build
Block build was roughly 2 minutes and 30'ish seconds
Block based build was 10'ish seconds!
Hey Scott glad you are building for the nexus 6 are you planing on a Clean Rom also? Or just keeping it aosp
scrosler said:
OMG!!! Optimus S? Are you serious? That was my first Android Phone / ROM!
Yeah, I know how to shut it off. But i wanted to leave this as close to pure AOSP as I could. I think I will shut it off on the next build though. I heard the encryption can slow things down a hair too.
Click to expand...
Click to collapse
I'd say leave it encrypted for now until faux finally makes it to the threads...from his g+ posts it seems his found a way to keep the device encrypted yet have around the speed as though it was unencrypted. And he's a very open source guy so I'm sure he'll share the magic

[ROM][ALPHA][SFOS] SailfishOS 2.0.1.11 for Redmi 2

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sailfish OS’s heritage lies in Nokia times, especially in the MeeGo operating system. Prior to 2011 Nokia and Intel had a vision of an open mobile operating system. Together they invested around 1 billion USD to the project and created an open source based operating system called MeeGo, which was used as a basis for several devices, such as the iconic Nokia N9. Although the Nokia N9 became the beacon of open source operating systems, Nokia decided to end the project and chose instead to continue with Microsoft’s Windows Phone OS. The rest of that is another story.
For more information about SailfishOS click here.
SailfishOS has now been successfully ported to Redmi 2 and here I am sharing the steps to install it on your phone.
Code:
Disclaimer: Your warranty is now void. You will lose all your data on your phone and may render it unusable. This software is provided as is without any warranty of any kind whatsoever. The user shall solely be reponsible for any consequence arising out of following this guide. I, or anyone else shall not be held responsible for bricked devices, dead sd-cards, thermonuclear war, you getting fired because the alarm app failed or any other consequence of following this guide. The linked zip contains some proprietary files.
tl;dr I wont be held responsible for any unfortunate incidence.
I'd like to thank the following for their support and sources. (In no particular order) -->
@mal-, @kimmoli, @stskeeps, @Litew, @jusa_, @nokius, @sledges, @ketut.kumajaya, all other SailfishOS porters and The Cyanogenmod Team.
Prerequisites -->
1) Latest TWRP recovery installed (Others may work too but I haven't tested). You can get it here-->http://forum.xda-developers.com/redmi-2/development/recovery-recovery-built-source-inside-t3277621
2) cm-12.1-20151014-UNOFFICIAL-wt88047 zip by kumajaya. You can get it here--> http://forum.xda-developers.com/redmi-2/development/rom-cyanogenmod-unofficial-builds-t3200883
3) SailfishOS zip file. Download link given below.
This is not an Android ROM and thus the instructions to install are quiet different. Follow them carefully.
1) Boot to recovery. Wipe cache, dalvik-cache, system and data.
2) Copy the Downloaded files to the sdcard via USB.
3) Install cm-12.1-20151014-UNOFFICIAL-wt88047. Do NOT reboot after installing.
4) Install SailfishOS zip file. The installation will take around 10 minutes so don't think that its stuck. Ignore any errors about being unable to mount data partition.
5) Reboot System when installation succeeds.
Screenshots-->
Some more Screenshots here courtesy of @Innfinite4evr
Notes-->
1) This is not an Android ROM. Android apps will not work right now. But a way for Android apps to work is being developed by some community members and will soon be available.
2) Music player is not available by default. You can get it by opening the terminal (in-built) and and running " devel-su zypper in jolla-mediaplayer ". It will ask for a password which can be set in Settings>Developer Options. It will be there from next version.
3) For advanced users, you can ssh into the device after setting a password in Developer options using ssh [email protected] over USB.
4) Do not register for a Jolla account. You will get an error about failed IMEI registration. This will be fixed as soon as Jolla allows ported devices to be registered.
5) The Store will not work. It needs a Jolla account. You can however use the openrepos warehouse for installing apps. https://openrepos.net/content/basil/warehouse-sailfishos . You can either go the link via the browser on your device and download it. Then go to Settings>Transfers and click on the file name to install it. Another method to install it is to download it to your computer and use scp to transfer to to /home/nemo/ and use " pkcon install-local <name of file> " via an ssh terminal.
6) MTP over USB does not work. (Mass Storage technically works but is unusable for all practical purposes)
7) The battery life is currently being affected by the sensors. It will probably be fixed in the next version.
Download Link -->
https://www.androidfilehost.com/?fid=24580943222146342
DO NOT SHARE MY WORK WITHOUT MY EXPLICIT PERMISSION. IF YOU ARE SHARING, LINK TO THIS POST.
UPDATE--> New kernel released.
* For fixing bluetooth and Flashlight, use kumajaya's cm-12.1-20160318 as the base. then install SailfishOS and finally flash the new kernel ( https://www.androidfilehost.com/?fid=24591000424942423 ). Bluetooth will not work after a reboot. To make it work again, use " devel-su rfkill unblock bluetooth " and reboot. Camera will break and to fix it, use vim to make the changes from ( https://github.com/adeen-s/droid-config-wt88047/commit/ecda269bd120405a5ff3ab985e558abcfe93c916 ) in /etc/dconf/db/vendor.d/jolla-camera-hw.txt
and then execute ( dconf write /apps/jolla-camera/primary/image/imageResolution "'3264x2448'" ).
The new image will contain these changes already but I need some more time before releasing it.
Bugs or issues? & BTW can we use it in multi rom if yes then can u pls guide
Great Job @adeen-s !
Would definitely give this a try and report back soon.
Peace out ✌
Most innovative Os finally for redmi 2 thank you so much dev for this awesome os .

			
				
Thank u.. gonna try!!!?
Z.E.U.S said:
@salahXDA6805
This is on behalf of the whole Redmi 2 community.
Pls stop spamming threads and asking unnecessary questions to the devs.
This irritates them (as @s.sawrav).
As in this case multirom works only on MM based roms and this is not based on android.
Pls do some research first , Google will help you !
Hope you understand this .
Peace out
Click to expand...
Click to collapse
Im just asking my query not spamming so pls and im not irritating anyone and sailfish works with multi rom but i want to know about the procedure so pls stay out dev is there to answer me and i didn't asked u whether it works with multirom or not
Wow,seems amazing and i will give it a try...thnx for bringing this os to our little beast....and that click here is not working i think............to know more about sailfish os "click here"... :‹
revelation
adeen-s said:
This is not an Android ROM
Click to expand...
Click to collapse
hats off for this brave move!
i've been waiting for sailfish since forever (oviously like many others)
although these days i need a fully functional phone (w/ andro-apps) i'm looking forward to further development << hope you will keep up your work and scratch those issues one-by-one
Q: since i've never played with an actual sailfish os, logically i'm not aware of the (dis)advantages/performance; but i did give a go to he modified launcher [you can find an old version here, and a mutant on the play store - stella launcher]; so is there any possibility to port it to our beloved redmi2? i know it would be much appreciated by the community
thank you once again for your valliant effort!
:good:
Finally something new in our redmi 2 community. Keep up the good work @adeen-s. Looking forward to this thread. ✌?
salahXDA6805 said:
Im just asking my query not spamming so pls and im not irritating anyone and sailfish works with multi rom but i want to know about the procedure so pls stay out dev is there to answer me and i didn't asked u whether it works with multirom or not
Click to expand...
Click to collapse
MultiROM supports Sailfish but right now, it is only available for MM based ROMs on Redmi 2. If it supports LP based ROMs, it will be made available.
adeen-s said:
MultiROM supports Sailfish but right now, it is only available for MM based ROMs on Redmi 2. If it supports LP based ROMs, it will be made available.
Click to expand...
Click to collapse
Thanks bro for your repli:good:
salahXDA6805 said:
Thanks bro for your repli:good:
Click to expand...
Click to collapse
Although, there is a way to switch between CM-12.1 and SailfishOS just like MultiROM, only a bit more tedious. You can extract boot.img from cm zip and hybris-boot.img from Sailfish zip. Flash boot.img when you want to boot to CM and flash hybris-boot.img when you want to boot to Sailfish.
Also, I'd prefer if you press the thanks button instead of replying like this.
@adeen-s can I use newer builds of cm12.1? The one you mentioned in your thread is quite old.
Sent from my 2014818 using Tapatalk
Ashish94 said:
@adeen-s can I use newer builds of cm12.1? The one you mentioned in your thread is quite old.
Sent from my 2014818 using Tapatalk
Click to expand...
Click to collapse
You can try. However, it won't matter as CM is used only for the Android HAL. It has got nothing to do with how Sailfish works. It just acts as a bridge between Sailfish and the hardware which was meant to run Android.
If you try with a different CM-12.1, could you please post the output of " /usr/libexec/droid-hybris/system/bin/logcat " You can access the terminal via "telnet 192.168.2.15 2323" or via ssh as mentioned in the OP. If you cannot connect using these ways, you could check the output via the terminal app and tell if it has some errors mentioning AKMD2 .
hey thanks for this fluid rom.i hope bugs will be fixed soon ...some more ss for those who wanna see.....https://drive.google.com/open?id=0B_zOA86X6Ez_WGJORkhvMDAxV2c Hi thanks if u like it
Innfinite4evr said:
hey thanks for this fluid rom.i hope bugs will be fixed soon ...some more ss for those who wanna see.....https://drive.google.com/open?id=0B_zOA86X6Ez_WGJORkhvMDAxV2c Hi thanks if u like it
Click to expand...
Click to collapse
Please list all the bugs that you noticed. I haven't noticed anything besides high battery drain and lack of USB MTP. Also thanks for the screenshots, Do you mind if i link them in the first post ?
i faced these bugs
adeen-s said:
Please list all the bugs that you noticed. I haven't noticed anything besides high battery drain and lack of USB MTP. Also thanks for the screenshots, Do you mind if i link them in the first post ?
Click to expand...
Click to collapse
never mind PS-add ss in post
bugs:camera,calling not working and single sim only
and warehouse should be included by default or else people will become mad......
---------- Post added at 03:05 PM ---------- Previous post was at 03:03 PM ----------
Innfinite4evr said:
never mind PS-add ss in post
bugs:camera,calling not working and single sim only
and warehouse should be included by default or else people will become mad......
Click to expand...
Click to collapse
i used cm12.1 20160318
Innfinite4evr said:
never mind PS-add ss in post
bugs:camera,calling not working and single sim only
and warehouse should be included by default or else people will become mad......
---------- Post added at 03:05 PM ---------- Previous post was at 03:03 PM ----------
i used cm12.1 20160318
Click to expand...
Click to collapse
Strange, they should work perfectly. Have you tried restarting the phone.
If a restart does not change anything, then post the output of "journalctl -f -l -a" . To get root access, use "devel-su" in terminal. You can set password for root in developer options. Also post the output of " ls -l /dev/ "
Innfinite4evr said:
never mind PS-add ss in post
bugs:camera,calling not working and single sim only
and warehouse should be included by default or else people will become mad......
---------- Post added at 03:05 PM ---------- Previous post was at 03:03 PM ----------
i used cm12.1 20160318
Click to expand...
Click to collapse
Since you're using a different CM version than specified, could you also post the output of " /usr/libexec/droid-hybris/system/bin/logcat"

Thoughts on Oreo...

So, since the Pixel and newer Nexus devices are now getting their Oreo updates, I think it's time that we, the developers who still own Nexus 6's, to look into porting Oreo to this device. I am looking into the source code as we speak for feasibility. If anything, I will probably do like I have done with most of my devices in the past, forge the path and create a guide, and let everyone else do the creative stuff. I just happen to like stock Android.
There is already one dev who got Oreo to boot on the Xiaomi Mi 3, runs on SD800 (32bit)
konradit said:
There is already one dev who got Oreo to boot on the Xiaomi Mi 3, runs on SD800 (32bit)
Click to expand...
Click to collapse
Looking promising,fingers crossed
Sent from my Nexus 6 using Tapatalk
There ARE people working on Android O port, even back when it was still in developer preview status. You'll see releases whenever they are ready, I'd give it a few weeks or months.
I won't argue if you're a developer or not, I'm sure you are. But you are not a "recognized developer". Your title is member
Dopamin3 said:
There ARE people working on Android O port, even back when it was still in developer preview status. You'll see releases whenever they are ready, I'd give it a few weeks or months.
I won't argue if you're a developer or not, I'm sure you are. But you are not a "recognized developer". Your title is member
Click to expand...
Click to collapse
Getting it to build is easy. Ive already done as much but without updated binaries (which I havent seen for any device) it wont boot. There are likely some kernel changes needed as well though I havent dug to much into that yet. Then there is the whole GApps for Oreo issue. I would say we are definitely a week or so away from anything working.
Things are in the works and if gapps don't work for 32 bit.. I suggest you gentlemen familiarize yourself with microG
I built it from developer preview 2 a couple months ago. Booted and everything, but nothing as far as any of the radios worked. I had to modify franco kernel to get it there, but it did work..
I tried re-building it after the stable source dropped and can't seem to get passed this error:
frameworks/native/include/gui/IGraphicBufferProducer.h:35:10: fatal error: 'hidl/HybridInterface.h' file not found
The file is there and where it should be... So I'm kinda scratching my head as to where the switch is that causes it not to pick up that location.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So the development for Xiaomi Mi3/Mi4 has gone online: https://forum.xda-developers.com/xiaomi-mi-3/development/8-0-aosp-t3662028
The source code is not available yet but is on it's way. Maybe there might be hints on what's needed for us to make stuff work on the shamu once the source is online(?). I'm aware they are completely different devices but the architecture are closer as they both are 32bit rather than the newer devices running 64bit.
I was able to get a build to complete but it doesn't boot. I don't have the time today to go over it, but if anyone has some free time, feel free to take a look at the logcat and see if anything jumps out immediately.
boot.log
kkozma said:
I was able to get a build to complete but it doesn't boot. I don't have the time today to go over it, but if anyone has some free time, feel free to take a look at the logcat and see if anything jumps out immediately.
boot.log
Click to expand...
Click to collapse
@followmsi build had a similar issue yesterday on the Nexus 7 2013 forums. I tested the build and it would not get to the boot animation and would restart to the bootloader after about a minute. After returning to TWRP the data partition was either corrupted or unreadable. OP said that it was probably the fact of missing SDcardFS support in the recovery/kernel.
https://forum.xda-developers.com/nexus-7-2013/development/rom-t3569067/page60
the struggle continues.
wavedashdoc said:
@followmsi build had a similar issue yesterday on the Nexus 7 2013 forums. I tested the build and it would not get to the boot animation and would restart to the bootloader after about a minute. After returning to TWRP the data partition was either corrupted or unreadable. OP said that it was probably the fact of missing SDcardFS support in the recovery/kernel.
https://forum.xda-developers.com/nexus-7-2013/development/rom-t3569067/page60
the struggle continues.
Click to expand...
Click to collapse
He is wrong. The sdcardfs is a file system for sdcard enabled devices. Nothing to do with the nexus 6. It was even removed in most other builds for the device. The only people that added it were people that didn't understand what they were doing.
wrongway213 said:
Things are in the works and if gapps don't work for 32 bit.. I suggest you gentlemen familiarize yourself with microG
Click to expand...
Click to collapse
Late reply here.
I have tried MicroG before - on a custom Galaxy S4 ROM - and I like MicroG about as much as I like Xposed. If MicroG is required I won't be upgrading.
wrongway213 said:
Things are in the works and if gapps don't work for 32 bit.. I suggest you gentlemen familiarize yourself with microG
Click to expand...
Click to collapse
People are not gonna do that. Microg is known for causing its own issues.
Strephon Alkhalikoi said:
Late reply here.
I have tried MicroG before - on a custom Galaxy S4 ROM - and I like MicroG about as much as I like Xposed. If MicroG is required I won't be upgrading.
Click to expand...
Click to collapse
zelendel said:
People are not gonna do that. Microg is known for causing its own issues.
Click to expand...
Click to collapse
It's been confirmed that gapps for arm are working since I posted that, so it's a moot point now, thankfully.
zelendel said:
He is wrong. The sdcardfs is a file system for sdcard enabled devices. Nothing to do with the nexus 6. It was even removed in most other builds for the device. The only people that added it were people that didn't understand what they were doing.
Click to expand...
Click to collapse
Oh mate, you're so wrong. SDcardFS is a virtual FS for emulating /sdcard/ (/storage/emulated/0) and EVERY android device has it. It's just a replacement for vFAT (virtual FAT). One of the most important fixes is that the file timestaps won't get corrupted anymore (this bug existed in android for years).
Lawstorant said:
Oh mate, you're so wrong. SDcardFS is a virtual FS for emulating /sdcard/ (/storage/emulated/0) and EVERY android device has it. It's just a replacement for vFAT (virtual FAT). One of the most important fixes is that the file timestaps won't get corrupted anymore (this bug existed in android for years).
Click to expand...
Click to collapse
vfat is a real filesystem for block devices. Think of it as being in between FAT and FAT32. What it adds over FAT is a virtual file NAMING convention in order to exceed the standard "8.3" filename format that FAT was stuck with. vfat is also the NAME of the linux implementation of FAT (FAT12, FAT16), VFAT, and FAT32.
What you are thinking of as being present on "EVERY" android device, is this; https://android.googlesource.com/pl...197870433386fb809d34b58b30fc0/sdcard/sdcard.c
You should pay attention to the README section of it starting at line 32.
When Android devices used to have an actual sdcard, it was formatted using vfat (the linux implementation of FAT32), with a mount point of /sdcard.
When they stopped including real sdcards, they started emulating sdcards using that FUSE simulated vfat I linked to above.
Now what sdcardfs is, is (a) a replacement for the FUSE filesystem I linked to above, and (b) a replacement for FUSE itself. Think of it as a scaled back and simplified FUSE+sdcard.c. The problem with FUSE is that it is too complex and with too high of an overhead. It causes performance degradation. And I'm not talking about the general userspace degradation that you would get with, for example, NTFS-3g compared to a native implementation, but rather the sdcard.c adds some problems because it is actually *abusing* FUSE. FUSE isn't designed or intended to wrap one filesystem with a simulation of a different one. FUSE is intended to actually implement a filesystem proper. What that means is that the kernel performs certain filesystem operations on the FUSE filesystem, which calls back to essentially perform the same operations on the base filesystem (ext4). Double the operations. Also double the caching, which is horrendous because it means that you are storing the same cached file in RAM twice. That is the kind of thing that sdcardfs is intended to solve.
Now personally, I completely disagree with this approach. Sdcardfs (as with FUSE+sdcard.c) is a backwards compatibility layer that really should be removed altogether. Instead, access controls to the data really should be by way of ACLs. Yes, this will break some very old software, but its the right way to move forward.
kkozma said:
I was able to get a build to complete but it doesn't boot. I don't have the time today to go over it, but if anyone has some free time, feel free to take a look at the logcat and see if anything jumps out immediately.
boot.log
Click to expand...
Click to collapse
Well, the first thing that stands out is this;
03-13 02:38:08.029 0 263 W VendorServiceManager: failed to open binder driver /dev/vndbinder
Indeed, the factory kernel does not have any such driver. This is probably something related to "Project Treble", which is supposed to make it simpler to update the android platform while leaving the *vendor* platform unchanged. Sounds like this driver will have to be added to the kernel.
https://android-developers.googleblog.com/2017/07/shut-hal-up.html
There is also this, which happens immediately before the SIGABRT for surfaceflinger:
03-13 02:38:09.975 298 298 F Gralloc2: gralloc-mapper must be in passthrough mode
Code:
Mapper::Mapper()
{
mMapper = IMapper::getService();
if (mMapper == nullptr || mMapper->isRemote()) {
LOG_ALWAYS_FATAL("gralloc-mapper must be in passthrough mode");
}
}
That gralloc issue could be a consequence of the vndbinder issue.
Hmm... https://github.com/SiXROM/platform_device_moto_shamu/commit/86ebb7db1b0a23c4d0a09568a6414d3b9f140596
Note that their changes to the BoardConfig.mk are bogus, none actually apply to this hardware. But the additional PRODUCT_PACKAGES are possibly meaningful.
Might try a build using these three projects;
<project path="device/moto/shamu" name="platform_device_moto_shamu" groups="device,shamu,broadcom_pdk,generic_fs,pdk" remote="sixoreo" revision="oreo" />
<project path="kernel/moto/shamu" name="platform_kernel_moto_shamu" groups="device,shamu,broadcom_pdk,generic_fs,pdk" remote="sixoreo" revision="oreo" />
<project path="vendor/moto" name="platform_proprietary_vendor_moto" remote="sixoreo" revision="oreo" />
sixrom has also made a whole lot of other changes, but I suspect that they are more related to customizations rather than actual device functionality.
I had seen the vndbinder thing the other day and added it to the kernel I'm using. I actually had it booting yesterday, but managed to hose it up trying to fix bluetooth and then ended up losing my boardconfig.mk and device.mk so I have to start over on those two.
I actually tried building with that sixrom repo and it wouldn't boot at all. I suspect it's because it's based on Lineage whereas mine is straight from AOSP.
Getting ready to play around with it some more, hopefully I can get back to a booting rom again!
kkozma said:
I had seen the vndbinder thing the other day and added it to the kernel I'm using. I actually had it booting yesterday, but managed to hose it up trying to fix bluetooth and then ended up losing my boardconfig.mk and device.mk so I have to start over on those two.
I actually tried building with that sixrom repo and it wouldn't boot at all. I suspect it's because it's based on Lineage whereas mine is straight from AOSP.
Getting ready to play around with it some more, hopefully I can get back to a booting rom again!
Click to expand...
Click to collapse
How do you lose your make files? Did you forget to commit them to your git?
Commit often, ESPECIALLY when you have things (anything) working.
Then if you bugger it up, just roll it back, of git diff it to see what you changed.
I don't see any evidence of sixrom being based on anything besides aosp (certainly not lineage/cm)
Take a peek at their manifest, there's a few frameworks that they've messed with, a bunch of applications, but its mostly AOSP;
https://github.com/SiXROM/manifest/blob/oreo/default.xml
Yeah, that was a real derpasaurus moment for me there, but I'm back to a bootable situation.
- Bluetooth is still broken
- No Cellular Radio
- WiFi connects but causes a reboot immediately
- Not able to view anything on the SD Card & Camera asks for an SD card to be inserted. Oddly enough I am able to play the music that's on my sdcard.
I'll get everything pushed up to my github later so if anyone else wants to tinker with it...
They probably haven't pushed the working updates to device to get to where they. As I said, I built directly from their repo and it didn't work at all.
Edit: my github is https://github.com/vwmofo
if you want to put together a local manifest and pull it down, feel free.

Categories

Resources