yashsingh1/xdaforums huggingface dataset:
[Sony Xperia E1] :
I tested calls, it... call :P, but without sound is a little bit hard, not tested Mobile Data

Hope you find your phone :fingers-crossed:

The problem of audio is in kernel, i will test the commits of CM11 on stock kernel to see "the point of break"

It's to make system load a image without necessity to reboot device, i want to make a choose for people load TWRP direct without necessity to hack things via init.sh, or just make TWRP default kernel and load boot.img second, it prevent hang in bootsplash if user flash wrong kernel of thing like if.

Ah, it's used by MultiROM, we only need someone to port all things, but it current support TWRP3 by default and we not support TWRP3, maybe at end of all i will be the guy that will port it :silly:
[Sony Xperia E1] :
I've made stock branch based on PatchSet V5 and all work good, what i will do? Merge all changes of cm-11.0 branch and see point of audio break, this is get some time because +150 commits :(
[Sony Xperia E1] THEZAK:
Really good job! This is awesome rom! :)
[Sony Xperia E1] CarlosGallego98:
Problems in D2005

I flash the zip but the phone reboots in Sony logo. :crying::crying:
[Sony Xperia E1] :
You done the right steps?

Check it

----

For all i optimized the Stock Kernel, fixed ram_console, merged Kexec Hardboot but not found what break audio.

Obvious i not merged vidc change and other things, tomorrow i not will make from diff point, i will revert since begin

FalconSSKernel Final will be posted soon with changes mades to suppose broke audio :P

MultiROM and DualBootPatcher soon, TWRP3 too, i will make all work

My very old signature:

"Nothing is IMPOSSIMBLE"

----

Pool: When this end, CM12.1 or CM13?
[Sony Xperia E1] CarlosGallego98:
Yes men, but the strange is i tried other CM11 for this phone, and boots normaly Audio Works, Radio, Rotation almost all except the camera, mobile and others stuff,

But when i flash yours reboots in sony logo. :confused::confused:
[Sony Xperia E1] Kizoky:
This CM11 is entirely based on TWRP recovery

So If you haven't flashed TWRP it won't work

The ported CM11 is based on Condor (Motorola Moto E), which has the same chipset as E1

It is very similar to E1 that's why some things like Audio and sensors are already working

Sadly, CM11 entirely relies on kernel, and If you replace it with E1's It won't work due to the way the kernel is working is different
[Sony Xperia E1] CarlosGallego98:
Yes i have TWRP 2.8.1.0 Installed i flash the zip in TWRP but i dont know what reboots in sony logo this are my Steps

1.Flash TWRP 2.8.1.0 Though Philz Recovery with FalconSS Kernel

2.Reboot in TWRP

3.Wipe data/factory Reset, Wipe Dalvik Cache

4.Flash cm-11-20160713-UNOFFICIAL-falconss.zip and open_gapps-arm-4.4-pico-20160718.zip

5.WIpe Dalvik Cache and Wipe data/factory Reset Again

6.And Reboots in Sony Logo
[Sony Xperia E1] Kizoky:
Interesting

Is your Bootloader unlocked?
[Sony Xperia E1] CarlosGallego98:
Yes
[Sony Xperia E1] Kizoky:
What if you don't flash GAPPS?
[Sony Xperia E1] CarlosGallego98:
Same this case is strange, but now im looking my phone and says D2004 not D2005 :eek: :eek: :eek:

---------- Post added at 06:32 PM ---------- Previous post was at 05:43 PM ----------

Conclution, I give up, i will install a Stock based while CM11 it becomes stable.

Good Luck Caio99BR i hope that you finish this great work
[Sony Xperia E1] :
Thanks

---

After test on CM11 branch on stock, i reverted one commit to fix bootloop (commit that fix memtrack, and we not have it on stock), bring back wlan module (all other are built-in now and radio [iris driver] still working, like all the rest), merged stock wlan fix by [MENTION=7283389]fzort[/MENTION] and build.sh changes to fix wlan, so 4 commits (bootloop fix / wlan fix / bring back wlan module
[Sony Xperia E1] :
Thanks

---

After test on CM11 branch on stock, i reverted one commit to fix bootloop (commit that fix memtrack, and we not have it on stock), bring back wlan module (all other are built-in now and radio [iris driver] still working, like all the rest), merged stock wlan fix by [MENTION=7283389]fzort[/MENTION] and build.sh changes to fix wlan, so 4 commits (bootloop fix / wlan fix / bring back wlan module / build.sh changes to modules and wlan fix) and surprise ... the ****ING audio still working, so this not is Kernel related problem its problem related to HAL :eek::crying::(
[Sony Xperia E1] :
5 problems ALL related to "Hardware Abstract Layer"

FalconSS Kernel PatchSet V5 is now our stable kernel and will be available to Stock under FalconSSKernel R6

Also TWRP will be updated soon to patch the boot and not to be dependent of a custom kernel since new versions of FalconSSKernel will use a method to change only kernel not ramdisk like first six versions
[Sony Xperia E1] Kizoky:
Is it possible to make the HAL working?
[Sony Xperia E1] :
The Android Jellybean have made to first Android 1.6 device, why this not :)
[Sony Xperia E1] Kizoky:
I mean

What files needs to be changed? Is it in device tree or kernel?

(sorry for asking such dumb questions :cyclops: )
[Sony Xperia E1] :
Most of all will be changes on device tree and android tree, but this last if need will be imported to device tree.

Kernel is only core, HAL is connection over kernel and system things.

Most all kernel things are working, maybe just details need to be fixed.

And about dumb questions, no problem XD
[Sony Xperia E1] nysascape:
I really want to see CM13 for this phone [MENTION=5842851]Caio99BR[/MENTION]

// offtopic

I'm gonna start building CM13 for my Vodaphone Smart Prime 6 but I don't know if the sources I downloaded is full - can someone send me a screenshot of what a folder with all sources looks like?

Due to this, I am going to be maybe a lot less active. Sorry all I'll try and contribute soon when I have a stable version OR I give up (hopefully not the second option :))
[Sony Xperia E1] :
One thing, why you need screenshot of folders? If someone is missing build will break and tell you the error

Other thing, i really want CM13 for this device, but we need to fix basic errors on this version, because you need a base full working first (i not like guys trying to build CM13 without a CM11/12.1 stable, without be offensive).

Todo:

* Add more missing libs to FalconSS (audio not work because missing libs)

* Start working to build CM11 to Galaxy Core 2

* Finish CM13 for L Series

----

//off topic

Anyone want to buy a long used and old LG Optimus L3II? :)
[Sony Xperia E1] nysascape:
Well I'm not sure what sources look like when you unzip them after downloading them from the website. I've only ever worked with porting ROMs - not building them from scratch.

They consist of system, kernel and external correct?
[Sony Xperia E1] Kizoky:
Last time I downloaded the source code of CM11, It was roughly 33GB (33.2GB)

Also, you don't extract the files, or download it elsewhere

You use the Terminal (Linux's Command Prompt) to download the latest files of CM11 from github, aka. you repo sync

When It's finished downloading you can see some folders such as vendor, build, etc.. It's fine, as long as It doesn't show any errors (i.e. Not enough space, or it just stopped downloading)

You can always repo sync If it stopped downloading for a reason, It won't re-download all the stuff, but checks which files need to be downloaded, and which files need to be re-downloaded If it's corrupt

Hope this helps
[Sony Xperia E1] nysascape:
Ahhh this helps... I downloaded the source code for the device off the devices website but I've gotten wrong the whole time XD
[Sony Xperia E1] Kizoky:
This may help you: http://xdaforums.com/nexus-4/general/guide-cm11-how-to-build-cyanogenmod-11-t2515305

Some stuff here might be incorrect, due to it is almost 3 years old already

When you try to build CM11 you will get a lot of errors, but you can always google it and that will solve your problems

And this: https://github.com/TeamVee-SS/android_.repo_local_manifests
[Sony Xperia E1] nysascape:
Gonna start building cm13 do you know any links?
[Sony Xperia E1] Kizoky:
I think it is the same as CM11

Just replace cm11 with cm13
[Sony Xperia E1] nysascape:
Got it :) sorry for the delay. I managed to get it booting then IMMEDIATELY soft-bricked my phone after rebooting. XD
[Sony Xperia E1] Kizoky:
You managed CM13 to boot? :eek::eek:
[Sony Xperia E1] nysascape:
Yep. on my Vodafone. I had to install a stock ROM after the brick, but I had to install the stock recovery... and you can see how well that turned out.

My phone is stuck in an infinite bootloop and will not boot into recovery or bootloader. F**k.
[Sony Xperia E1] Kizoky:
reflash Caio's kernel through fastboot
[Sony Xperia E1] nysascape:
Nope.

I may have to send it to Sony :/ I would share but atm it WILL brick your phone, I got it back to stock and tried again. It just bricked it again and wont go back to stock. Maybe because of missing device tree files? Not sure. Or maybe the kernel... I may have to work on a Marshmellow kernel, crap.

---------- Post added at 12:12 PM ---------- Previous post was at 12:11 PM ----------

Nope.

I may have to send it to Sony :/ I would share but atm it WILL brick your phone, I got it back to stock and tried again. It just bricked it again and wont go back to stock. Maybe because of missing device tree files? Not sure. Or maybe the kernel... I may have to work on a Marshmellow kernel, crap.
[Sony Xperia E1] :
I not understand what are you trying to do

If you are trying to make CM13 for Xperia E1, you need to update media codecs, fstab, selinux patchs in kernel and selinux folder on device tree, also other minor things
[Sony Xperia E1] :
What are you doing?

I cant understand
[Sony Xperia E1] Kizoky:
He probably corrupted the Recovery/Kernel partition on his phone and it won't boot

---------- Post added at 02:16 PM ---------- Previous post was at 02:11 PM ----------

Working on an other kernel won't help

Reflash a firmware from XperiFirm, along with the kernel

Reflash PhilZ recovery via fastboot

Flash [MENTION=5842851]Caio99BR[/MENTION]'s TWRP and kernel via PhilZ

Up you go.

If these won't help you, then you probably screwed up an another partition that cannot be fixed :P

I'd also like to mention it, that If the kernel/recovery is screwed up, YOU CAN ALWAYS GO INTO FASTBOOT
[Sony Xperia E1] :
The Xperia E1 of my father, is mine now :laugh::laugh::laugh:

More time to test, but i dont want to make 2GB of backup and restore all day, so im testing DualBootPatcher, but without reason its bugged for xperia becase combined recovery, neither all flash TWRP on FOTAKernel and we need to deal with recovery ramdisk on boot partition
[Sony Xperia E1] Kizoky:
Glad to hear that :D
[Sony Xperia E1] :
I finally made TWRP3 booting :cool:

The patch need to be accepted in gerrit of omni: https://gerrit.omnirom.org/#/c/18815/
[Sony Xperia E1] Kizoky:
So you made E1 your main phone?

God bless our bad Stock ROM :laugh:
[Sony Xperia E1] Kizoky:
[MENTION=5842851]Caio99BR[/MENTION]

If audio is still not working, try copying AudioEffectService.apk from Stock ROM, into CM11
[Sony Xperia E1] karthick.k11:
E1 dual

Is it working without any bugs on E1 dual? My E1 dual is dead slow and not able to use it. I would like to use root and use the rom which can utilize less memory and provide best performance.
[Sony Xperia E1] Ahateon:
Audio still not working
[Sony Xperia E1] :
This isn't easy, or is and I'm stupid
[Sony Xperia E1] zacksac:
cant install rom

Hi I have flashed phils recovery then falcon ss kernel and then twrp on my e1 dual but now when i try to flash cm11 it says this package is for device c5502 ,c5503 your device is falcon ss how can i install cm11 on my e1 dual .

Thanks
[Sony Xperia E1] :
Wait more days, and CM11 is not daily driver and that codenames not is from package of this topic

[MENTION=5903579]Kizoky[/MENTION] and all, DualBootPatcher now woks on our XperiaE1 :silly: :silly: :silly: :) :o :D :mad: :angel: :crying: :cowboy: :fingers-crossed: :good: :highfive: :laugh: :victory: :cool:
[Sony Xperia E1] zacksac:
Thanks man ! and sorry you are right i do have c5503 (experia zr ) the package i used was for zr :p :p sometimes i get too messed up in my pc :laugh::laugh:
[Sony Xperia E1] :
All sensors now are working fine :P

But it have a bug in kernel and screen is flicking like a hell :)

Building RC3 with a lot of changes and TWRP3 included
[Sony Xperia E1] THEZAK:
Wait. Why audio in this rom is working? Can you copy something like sound engine to your rom?
[Sony Xperia E1] zacksac:
I installed cm-11-20160713-UNOFFICIAL-falconss.zip from sd card but it givs boot loop .
[Sony Xperia E1] Kizoky:
Nice work :D

the July version of CM11 is bootlooping on me aswell.

The audio is not working because I believe the libs are not compatible with the kernel

This stuff happened with the Wi-Fi too.
[Sony Xperia E1] :
I think something is just missing, in SSProjKernel (FalconSSKernel Revamp), is almost same of CM11 kernel, and all works fine.

I have DualBootPatcher with Stock and CM11 but is too painful reboot :/
[Sony Xperia E1] Kizoky:
Try comparing it to condor, the ported ROM has working audio, maybe you will find some clues there :D
[Sony Xperia E1] :
I will gonna check it tomorrow, I just need time, maybe I can put a lot of libs on it :P
[Sony Xperia E1] CarlosGallego98:
Hi man, i ported a cm11 from kiss3 phone and boot up but the phone freeze and reboots.
[Sony Xperia E1] :
What type of port?

Android Sources based or Unpack and Repack Zip?

Anyway check location, you will found the problem
[Sony Xperia E1] CarlosGallego98:
Yes zip repack
[Sony Xperia E1] :
So, the problem is kernel and some C2D libs

For all RC3 is on!

Not much changes but it is a update :/
[Sony Xperia E1] :
After one ****ing day i discovered problem of audio, its just because a memory allocation

After i discovered it, i said

And few seconds after
[Sony Xperia E1] :
Also nothing fixed, idk what to do :/
[Sony Xperia E1] :
For all see it:

From Nokia X2 <https://paz00.ru/index.php/Nokia_X2_sound>

<6>[ 5.345706] pil-q6v5-lpass fe200000.qcom,lpass: adsp: loading from 0x0c500000 to 0x0d200000

From Stock

<6>[ 6.123579] pil-q6v5-lpass fe200000.qcom,lpass: adsp: loading from 0x0c500000 to 0x0d15d000

<6>[ 6.621648] pil-q6v5-mss fc880000.qcom,mss: mba: loading from 0x0d800000 to 0x0d83a000

<6>[ 6.781605] pil-q6v5-mss fc880000.qcom,mss: modem: loading from 0x08800000 to 0x0b500000

<6>[ 10.374708] pil_pronto fb21b000.qcom,pronto: wcnss: loading from 0x0d200000 to 0x0d680000

Organized

<6>[ 6.621648] pil-q6v5-mss fc880000.qcom,mss: mba: loading from 0x0d800000 to 0x0d83a000

<6>[ 6.781605] pil-q6v5-mss fc880000.qcom,mss: modem: loading from 0x08800000 to 0x0b500000

<6>[ 6.123579] pil-q6v5-lpass fe200000.qcom,lpass: adsp: loading from 0x0c500000 to 0x0d15d000

<6>[ 10.374708] pil_pronto fb21b000.qcom,pronto: wcnss: loading from 0x0d200000 to 0x0d680000

From CM11

<6>[ 11.027941] pil-q6v5-mss fc880000.qcom,mss: mba: loading from 0x0d800000 to 0x0d83a000

<6>[ 11.170264] pil-q6v5-mss fc880000.qcom,mss: modem: loading from 0x08800000 to 0x0b500000

<6>[ 11.330481] pil_pronto fb21b000.qcom,pronto: wcnss: loading from 0x0c500000 to 0x0c980000
[Sony Xperia E1] :
But what it means?

It mean the problem is on kernel, more specific on DTS, I remember of problems on ram_console in first builds because of same ****, the DTS.

It simple not load right things if not in stock (and wtf sony made to this work?), It not load :/

So it's progress.

Also how I know if audio is working? Simple type:

# cat /proc/around/cards

In any place, it need to output our sound driver, I have checked on recovery of my old L3II and it return the name of driver, here only on stock

If anyone can test in old kernels, in recovery it will be very good (^^)

Other command

# dmesg | grep "from 0x"

Post results here, please if possible
[Sony Xperia E1] Kizoky:
I think it is because Sony rushed the KK kernel and because of it, it became pure ****

I remember when Kitkat first released 2 years ago in August the whole system was lagging, and had issues. It was slower than Jelly Bean (even now, KK is still slower than JB)
[Sony Xperia E1] :
Hmm, and If i download stock 4.3 and make zip package for it, this will get some time because many things.

---

Next steps for rest of week:

Watch 3 (or more) movies, watch 1 series, learn how to extract system and boot of Xperia ROM, download 4 ROMs, make 4 installable zip for these ROMs, make some homeworks, update CM13 for L3II, make the audio working on this ROM, try build CM14 for L3II and so

Ignore it, I just need to relax, no other place to do? Maybe I'm breaking some rules?

---

If someone know some dev with knowledge to edit kernel (new kernels with DTS), quote him to that my previous post, obvious I will only give up when this is done, but any good help will be welcome.

Edit: KeyStore not work on stock, it will be removed from bug list, like bar led (this need some C code, and I'm noon on it), and GPS will be added to this list, so:

Audio, Camera and GPS (wow only 3? :P)
[Sony Xperia E1] :
Fixing camera, RC4 will be on soon

GPS fixed, maybe?

I will add CM Vibrator Control and try to fix audio, putting logs side by side :)
[Sony Xperia E1] Kizoky:
These strings (Camera)

Are most likely a leftover (codes) from Sony's official camera app

I think it can be fixed by checking other Sony mobiles with a similar camera (3-3,2MPX) (like Sony Xperia M or Xperia E)

Here, I found these strings in Nicki (Xperia M; cm12.1) https://github.com/CyanogenMod/android_device_sony_nicki/blob/cm-12.1/camera/CameraWrapper.cpp

Also, I'm not sure if this helps you, but I stumbled upon this:

ION memory allocator

https://lwn.net/Articles/480055/
[Sony Xperia E1] :
I already fixed it in commit <https://github.com/TeamVee-SS/android_device_sony_falconss/commit/4bbbf9b945d3e55d9bc7160828e36900b476de5c>

But now other error born <https://gist.github.com/Caio99BR/add0ddfd0243024f1954cbfebd3233ed>

6 builds for it :/
[Sony Xperia E1] Kizoky:
Sigh

was it easy to do the same with LG devices?

Sony really likes to make things impossible
[Sony Xperia E1] :
Not easy because the [MENTION=4343949]PecanCM[/MENTION] made it, basically him rewrite the Camera HAL for LG devices

And camera is hard in any device :(

and if you are "noob", its more hard
[Sony Xperia E1] zacksac:
I was wondering is it also possible to downgrade os cm like cm 9 or 10 . For device with such small ram it will be useful i know ppl always like to move forward :p !!
[Sony Xperia E1] Kizoky:
Downgrading is useless

The main issue here on Xperia E1 is the rushed and bugged Stock ROM (Both JB and KK)
[Sony Xperia E1] Kizoky:
Starting tomorrow I'll reinstall my PC along with Ubuntu, and try to help with these bugs.
[Sony Xperia E1] :
Audio is finally fixed !!! XD :) ;) (^^)

It's just a simple thing a race condition, we need to tell to adsp, you can run! Just a simple ****ing string, only it, ONLY IT!

* Audio in Back Speaker is working (I not have front speaker to test, tragically history)

* Video Reproduction works!

* Mic is working, but I not tested recording

* Audio in EarPhone isn't working, need to simple debug

* FM Radio not working because EarPhone jack not is detect

When Camera get fixed in 1 week, I will release R1, for now i need to rebuild entire ROM and upload RC4 (or is RC5?)

But I will fix EarPhone jack today, yeah in the weekend :/, to upload because I don't want to upload 2 releases in same week (also I will start to use CM11 like default :D)
[Sony Xperia E1] :
Also I will try to port the TV things for D2114 version, and put it in a installable zip :)

After Camera get fixed we will go to CM13 like a ****ing crazy rocket, and make it official XD

No taste of Lollipop, since MarshMallows are better :silly:
[Sony Xperia E1] Zsenyka:
Thats good news man :D Waiting for FM Raido and EarPhone fix :)

So the calling is completely working? You can hear each other?
[Sony Xperia E1] :
I don't tested, just because not have signal here, after I fix iti will give a try ;)
[Sony Xperia E1] Zsenyka:
Okay, thanks for your work :D
[Nexus 6 Q&A, Help & Troubleshooting] tuffluck:
I flashed 6.0 and rooted a while back with the toolkit. Been great until recently and now I have terrible battery life. Cpu spy says I'm deep sleeping, but betterbatterystats shows bluesleep and msm serial hs dma are consuming a lot of my kernel wakelock. Combined they are more than my display. Obviously I assume this has something to do with BT, but that is all I know. My phone today has 2.5hrs of screen time on, and has only been off the charger for 7 hours, and I'm down to 41%, so something is not right.
[Nexus 6 Q&A, Help & Troubleshooting] derdjango:
A lot of people would be happy with that.
[Nexus 6 Q&A, Help & Troubleshooting] tuffluck:
Really? I thought my phone did much better a few months back. Thankful for any feedback.
[Nexus 6 Q&A, Help & Troubleshooting] StykerB:
Do you have the gasbuddy app? It causes this wakelock because it scans for bluetooth beacons in gas stations despite being it probably 0.001% of gas stations...
[Nexus 6 Q&A, Help & Troubleshooting] tuffluck:
I don't.
[Nexus 6 Q&A, Help & Troubleshooting] simms22:
ahh.. another bad user set up and bad app user post :silly:
[Nexus 6 Q&A, Help & Troubleshooting] GuestK00193:
what you are getting out of your phone right now is pretty good, not saying that it hasnt been better for you and hope you find the culprit but in meantime you can reboot into safe-mode (holding down power button then holding the power off text) and test drive the phone in safe mode for a day or two and see if theres any difference battery wise. that way you know if an app is causing this or not.

good luck
[Nexus 6 Q&A, Help & Troubleshooting] simms22:
BTW, when google update something within the os or app, it'll usually drain much battery until its finished updating, then it'll become calm again right after. I usually just wait it out a day or two. if its still acting out, then I'll "fix" it.
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] NIKOST:
I updated via settings panel to the new firmware and my tablet stopped working afterwards and is stuck on samsung logo. I can still enter CWM Recovery but wipe data and cache does not work. I tried flashing original rom via download mode and odin and nothing works. Also tried flashing via CWM from the sd and the tablet crashes and restarts itself. I took my tablet to samsung and they told me that my processor was locked( What?) and the tablet cannot be fixed. Please help me!
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] JJEgan:
Recovery mounts and storage .

Format everything .

Boot to download mode and flash stock rom .

But if Samsung are right its not going to fix the problem .
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] NIKOST:
Have already tried 4.2.2 stock and 4.1.2
[Remix OS for PC] |Merik10:
So as this hasn't been discussed enough I thought a new thread might get a little more attention. These days many tablets and small laptops are released with a 32BIT operating system with UEFI only. Remix OS 32BIT is legacy with no UEFI Support so how are the people that have systems that only support 32BIT UEFI meant to install Remix OS.

If anyone has had a break though on this please post how below.

Many Thanks

Jake
[Remix OS for PC] imadlatch:
try using Android_UEFIInstaller by [MENTION=3675849]ExtremeGTX[/MENTION]

most likely success
[Android Q&A, Help & Troubleshooting] ikjadoon:
So, as we know, Lollipop removed the API for apps to enable data. This removal really messed up people like me who don't leave data on. Now, every MMS message is delayed because Textra says, "Couldn't recieve MMS. Please turn mobile data on and re-try."

What are people's workarounds? I have root + Xposed, but there's nothing I've found that will turn on mobile data like Textra could pre-Lollipop.

The only solution is that I enable data 100% of the time (killing my battery) + use a firewall to only allow Textra.
[Android Q&A, Help & Troubleshooting] Sanndennis:
Agree...unfortunately, no help

I understand your frustration and have been stuck on KitKat for this very issue until it is resolved.