yashsingh1/xdaforums huggingface dataset:
[Onetouch Idol 3 Android Development] gautam.malik:
It worked great!

I didn't know that I can install stock rom using Alacatel Mobile Upgrade Software in Download mode. I knew how to enter it because I enabled fastboot commands using QFIL, but did not know this functionality.

I have stock rom now, will again enable fastboot, then repartition it to get 16GB (I have 6039Y) and then install new cm12.1

Thanks again.
[Onetouch Idol 3 Android Development] pivoq:
Glad to hear that, I recommend you to flash twrp to recovery partition next time.
[Onetouch Idol 3 Android Development] pivoq:
Not gonna happen, here's why:

- Potentially imparts battery life and stability

- I don't see the advantage in this, because latest build runs really fast

- I simply don't have enough knowledge about the implementation in kernel

But as you know, source is on github. So if you want to overclock, do your research and add support by yourself.
[Onetouch Idol 3 Android Development] Nelle9900:
Okay, thanks. I will try do that and make some tests. I will describe my impressions. [emoji4]
[Onetouch Idol 3 Android Development] gautam.malik:
And how do I do that?

fastboot -i 0x1bbb recovery twrp_recovery-2.8.7.0-idol3-6039y.img ?
[Onetouch Idol 3 Android Development] pivoq:
fastboot -i 0x1bbb flash recovery twrp_recovery-2.8.7.0-idol3-6039y.img

by the way, there's a newer twrp build in first post (to be found in changelog section), which supports formatting /data and /cache to f2fs filesystem (slightly increases performance).
[Onetouch Idol 3 Android Development] gautam.malik:
Thanks!

I will update the recovery today.

One thing I have noticed that we need stock partition scheme (8GB) to flash cyanonemod. Also, wiping cache or factory reset would change the partition scheme from 16GB to 8GB. I am bit scared of losing data when I wipe cash.
[Onetouch Idol 3 Android Development] pivoq:
That is simply not true, flashing will not change your partition scheme..
[Onetouch Idol 3 Android Development] gautam.malik:
No, I did not mean flashing CM Rom.

I meant that when you do "factory reset" or "Wipe cache" from TWRP, it changes partition scheme.
[Onetouch Idol 3 Android Development] pivoq:
No it doesn't
[Onetouch Idol 3 Android Development] n0Brain:
I'm tested 18.11.2015 build on my 6039Y: camera cannot write photos to external SD-card also as other system apps (and not only). Preview in camera app very bad quality (it may simply be a low resolution). Please fix it. Thank you!
[Onetouch Idol 3 Android Development] gautam.malik:
The default equalizer in CM room is not as good as the sound produced stock rom.

I installed Viper4Android. Now sound is really good.

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

I am able to write to SD card from the default CM camera.

I don't know about preview feature. I think there is no preview in built-in CM camera. You have scroll right side to see the taken pictures.
[Onetouch Idol 3 Android Development] n0Brain:
Strangely, but my phone cannot write to the external card. Shots, but not saved. Excuse me, I do not correctly put it - the quality of the image in the viewfinder of any camera app (including CM camera).
[Onetouch Idol 3 Android Development] gautam.malik:
Pivoq is the probably the right person to answer this, but the viewfinder works fine on my mobile
[Onetouch Idol 3 Android Development] pivoq:
will be fixed in next build
[Onetouch Idol 3 Android Development] Ruxa1987:
Hi! I have a problem with the camera. The image in the camera upside down. All photos also get reversed. It's just me?

View attachment 3549483View attachment 3549484

Also, whether implemented in the future creating an access point Wi-Fi?
[Onetouch Idol 3 Android Development] iuliusdeblobbis:
Hi!

First off, thanks a lot for your work, everything is so much smoother and snappier now, although there's a pretty annoying bug under the network settings: basically, I can't switch to LTE. The system only allows me to use 3G or 2G :/
[Onetouch Idol 3 Android Development] Ruxa1987:
Hi! You can use the widget (for example "Xorware All In One Widgets"), yet very convenient LTE is included in the notification bar. Here:

It only enables / disables LTE. In my very comfortable!
[Onetouch Idol 3 Android Development] iuliusdeblobbis:
Well, that worked. Thanks mate!
[Onetouch Idol 3 Android Development] pivoq:
In order to add support for the other device variants, I need some help.

Please post:

- your Device variant (e.g 6039Y)

- whether your device has dual sim functionality or not

- the output of

getprop ro.tct.curef

- the lines ro.build.fingerprint and ro.build.description from your build.prop (from stock rom)

If you have any questions, feel free to join #idol347 on freenode
[Onetouch Idol 3 Android Development] iuliusdeblobbis:
Do I need to be on the stock ROM to give you these infos?
[Onetouch Idol 3 Android Development] yazzabo:
Mine:

- no dual SIM

- ro.tct.curef = 6039Y-2AALWE7

- ro.build.fingerprint =TCL/idol347:5.0.2/LRX22G/v1AJP-0:user/release-keys

- ro.build.description = idol347-user 5.0.2 LRX22F v1AJP-0 release-keys
[Onetouch Idol 3 Android Development] pivoq:
For ro.build.fingerprint and ro.build.description, yes
[Onetouch Idol 3 Android Development] thearc77:
Here

ro.product.model=6039A

ro.product.brand=TCL

ro.product.name=6039A

ro.product.device=idol347

ro.product.board=msm8916

No dual SIM

ro.build.fingerprint=TCL/6039A/idol347:5.0.2/LRX22G/v1ACM-0:user/release-keys

ro.build.description=idol347-user 5.0.2 LRX22G v1ACM-0 release-keys

ro.tct.curef=6039A-LAFVAR7
[Onetouch Idol 3 Android Development] pivoq:
Thanks! In addition, could you provide me with your outputs of

adb shell getprop ro.bootloader

?

For explanation:

To add dual sim functionality, and also to set region/device specific properties, my goal is to adapt this file for our devices:

https://github.com/TeamRegular/android_device_alcatel_idol3/blob/cm-12.1/init/init_idol3.c

It basically calls a script to identify the device by a device specific string from traceability partition and then sets properties accordingly.

Unfortunately, sepolicy prevents the script from doing so and i have no clue how to fix this (disabling selinux is obviously not the way to go)

I guess it would require setting up a device specific sepolicy, which I don't have any knowledge about..

For that reason, I hope ro.bootloader property is also specific for each variant...

If there's any dev around who knows how to deal with this SELinux stuff, your help would be much appreciated..
[Onetouch Idol 3 Android Development] dingila:
What bugs have this Rom?

Thanks in advance!
[Onetouch Idol 3 Android Development] thearc77:
255|u0_a204@idol347:/ $ getprop ro.bootloader

L1ACM0M0BQ00

u0_a204@idol347:/ $

From my Idol 3 mini
[Onetouch Idol 3 Android Development] n0Brain:
Of my no dual sim:

root@idol347:/ # getprop ro.tct.curef

6039Y-2AALRU7

root@idol347:/ # getprop ro.build.fingerprint

alcatel/idol347/idol347:5.1.1/LMY48Y/1ff59d54e5:userdebug/test-keys

root@idol347:/ # getprop ro.build.description

idol347-userdebug 5.1.1 LMY48Y 1ff59d54e5 test-keys

root@idol347:/ # getprop ro.bootloader

L1AJE0E0BQ00
[Onetouch Idol 3 Android Development] gautam.malik:
Absolutely no bugs. You might not be able to set storage location of your camera to sd card. Just use Foldermount app from the playstore and link to DCIM folder to SDCard. Since I use Google Camera, I use that anyway
[Onetouch Idol 3 Android Development] pivoq:
First post was updated with latest build. Dual sim support for 6039K model has been added. If there are other models than 6039K that have dual sim functionality, please let me know
[Onetouch Idol 3 Android Development] dingila:
Once I try this Rоm ...after how to get back to stock ? Clean stock

Thanks
[Onetouch Idol 3 Android Development] relvas18:
Can you tell me how I can have dual sim support for 6045K on CM12.1 ?
[Onetouch Idol 3 Android Development] yazzabo:
Before flahsing cm12.1, make a backup of your current ROM so that you can easely restore
[Onetouch Idol 3 Android Development] dingila:
Is there no other way to return to stok??? :(
[Onetouch Idol 3 Android Development] :
6039s - Excellent job here, Pivoq! I've been running this for about 3 hours now and absolutely everything feels polished. Settling after first boot was instantaneous, and haven't run into a single FC, reboot, or play related issue.
[Onetouch Idol 3 Android Development] rouyal:
pivoq just made a sale for Alcatel. I was waiting for something (stock update or cm) to get this phone off 5.0. With the good feedback on this rom just had to order last night.
[Onetouch Idol 3 Android Development] georgearn:
I think that for future there should be written somewhere that reformatting system in f2fs deletes all the user data, just like flashing a new stock rom

Small update: I don't know what I did wrong but after formatting my system, data and cache in f2fs, flashing cm and gapps it shows me that my system has ext4
[Onetouch Idol 3 Android Development] pivoq:
f2fs for /system is not supported. Besides, I assumed everyone to know the meaning of the word "formatting", but well.. you never stop learning
[Onetouch Idol 3 Android Development] djojo13:
Is it possible to crypt the phone ?

When I select encrypt, it reboots but no encryption ....

Any idea ?
[Onetouch Idol 3 Android Development] Scutariu:
Clean installed latest nightly on my 6039y..camera is damaged..it's upside down.

Thanks for build :D
[Onetouch Idol 3 Android Development] :
Camera is fine on 6039s, looks to be an isolated 6039y problem?
[Onetouch Idol 3 Android Development] Scutariu:
I think so, if u say that on your version it's ok..i have tried with multiple camera apps, and no one worked :-??
[Onetouch Idol 3 Android Development] pivoq:
Camera works as expected on my 6039Y. I have no idea what might cause this. I haven't made changes to camera recently.
[Onetouch Idol 3 Android Development] Scutariu:
This is how it looks, the front facing one is ok..the rear one has this problem :-s
[Onetouch Idol 3 Android Development] rouyal:
Everything OK on 6039S (calls, GPS, ect)? Or better to wait for the model to be added to the build?

Edit: OK, not sure which model I'm getting. 6039S is what is listed on Amazon where I bought it, but here says that is for Canada and US is an 'I' model. UPS delivering today so we'll see

http://xdaforums.com/idol-3/general/ota-updates-thread-t3173598
[Onetouch Idol 3 Android Development] :
I have zero issues with anything whatsoever on 6039s. It's as close to perfect as one could hope! I'm in the US and got the S model both times when ordering from Amazon. I'm pretty sure that thread is wrong, I've never once seen a report of the 6039i actually existing (the only results for 6039i are from this forum), nor does a google search show it to be a real thing. I think 6039s is CA/US.
[Onetouch Idol 3 Android Development] rouyal:
Confirmed same on my 6039S
[Onetouch Idol 3 Android Development] pivoq:
I've run a quick build which includes the correct build fingerprint for 6039S. It's the only difference compared with previous build though.

https://www.androidfilehost.com/?fid=24269982087009602
[Onetouch Idol 3 Android Development] rouyal:
Thanks, works great, can't find anything wrong! Is this your first time? How do you get started doing it, through the cm wiki instructions?
[Onetouch Idol 3 Android Development] n0Brain:
How do I get in the viewfinder CM-camera a clear image? Otherwise it is impossible to estimate the focus of the picture or not? It is possible to port the original camera app? Thank you! (6039y build 27.11.2015).
[Onetouch Idol 3 Android Development] rouyal:
Same thing here. I have the Moto G and the Idol 3 and both use the same camera. The Moto G has a crisp viewfinder but takes bad pictures, the Idol 3 has blurry viewfinder but takes way better pictures! See my comparison here: http://xdaforums.com/showpost.php?p=64137721&postcount=470

If making the viewfinder crisp, means messing up picture quality, I'll take a blurry viewfinder.
[Onetouch Idol 3 Android Development] rouyal:
Few minor issues noticed today. The lockscreen rotates, unless screen rotation is disabled. And the adaptive brightness. Can't tell if it has a mind of it's own, or just very slow responding.
[Onetouch Idol 3 Android Development] Phantom410:
Google play services were crashing when using open GApps pico version, had to install Android System WebView via apk for it to work

Can also confirm that when using the rear camera the image is inverted (I have the 6039A version) If you need any info to help figure this out lemme know
[Onetouch Idol 3 Android Development] MasterDoctor:
I have exactly the same device (6039y) Bricked my first one by stupidly flashing recovery to the boot partition and had to get a new one. Does NFC work with the CM12?
[Onetouch Idol 3 Android Development] Phantom410:
Yes, NFC is working no problem on my device with this rom
[Onetouch Idol 3 Android Development] rouyal:
Does your phone auto rotate the screen?
[Onetouch Idol 3 Android Development] Phantom410:
Yes, auto rotate works fine. Its just whatever the camera captures looks inverted. The camera UI is in the right orientation, happens on any app that can use the camera

See screenshot for reference
[Onetouch Idol 3 Android Development] rouyal:
Oh, ok. Thought maybe there was a chance the sensor was stuck. Does camera work fine in stock firmware? I wonder what you and the few others have in common. The only problem I have is that the AOSP camera and Google Camera take good pictures, but don't focus (sharply) in viewfinder. I tried some random camera app in play store and it focused like it should.
[Onetouch Idol 3 Android Development] Urticant2:
I tested the build 09.11.2015 but missed the tethering then I came back to stock

then I just tested the latest cm 12.1-20151202 and 2/3 important point for me still missing

- Camera upside down (like a lot of people here)

- f2fs not there :p if you go in twrp and look in wipe/advance wipe/ then tick data or cache then repair or change file system you see ext4 not f2fs

I have lg g2 mini cm12.1 and f2fs on data/cache and you see the speed up it's a big difference

- And if it's possible to add eap sim :good: so please add in your the feature liste [MENTION=2738160]pivoq[/MENTION]

source for f2fs and eap sim maybe it can help you

source device lg g2 mini

Kernel: https://github.com/NikitaProAndroid/...el_lge_msm8x26

Device: https://github.com/NikitaProAndroid/...vice_lge_g2mds

Vendor: https://github.com/NikitaProAndroid/...ary_vendor_lge
[Onetouch Idol 3 Android Development] georgearn:
f2fs works fine for data and cache
[Onetouch Idol 3 Android Development] Urticant2:
Work if you format manually but I meant automatically
[Onetouch Idol 3 Android Development] pivoq:
As stated in first post, f2fs formatting requires a recovery build that supports it.

I'm also very sorry that the ROM can't make sandwiches for you..

Unfortunately I don't even know what EAP SIM is, however quick research suggests that it may require proprietary blobs (found this commit) which I can't seem to find on stock ROM. Maybe they're included only in certain variants/regions where this is actually used (just a guess, prove me wrong). So please check your system partition.

The best way to change the fact that " 2/3 important point for me still missing" would be if you'd fork my device tree, add support by yourself, do some tests and then send a pull request. Thanks

About the camera issue:

It only happens to some people (not including me), which makes it hard to find the cause.

My first guess would be that there may be differences in camera hardware, so those of you who have this issue, could you please post the output of getprop ro.tct.curef on your device.

Also, please get some logs while using camera, in order to find out if it throws some error messages that could get us some clue about what's going on.

Currently, we're using the prebuilt camera blob from stock rom and a wrapper written by [MENTION=4911249]Unjustified Dev[/MENTION]

However, it seems the camera module used on our device is a quite common model, which could mean that we might be able to build it from source (which might improve the situation, also feature wise).

Unfortunately I'm lacking the time for it right now, as I'm quite busy with university.

Still there are other important things on my ToDo, most notably adding a proper device sepolicy.

I'm still hoping that some more experienced devs will contribute, what I'm doing here is mostly trial and error which makes progress slow..

Edit:

As some users seem to dislike lockscreen rotation, I've added a poll to first post. Please vote
[Onetouch Idol 3 Android Development] Phantom410:
getprop ro.tct.curef = 6039A-AAPSAR7

And I will attach a log when I get home

Thanks for keeping up this great work man! Best of luck in univesity too!
[Onetouch Idol 3 Android Development] Phantom410:
Here are the logs from the camera, hope this helps!
[Onetouch Idol 3 Android Development] DarknessFalls:
Anybody use adaway app for blocking ads in browser and apps?

For me on this rom adaway not working.

After downloading files and apply ad blocking in app I reboot my phone. But after rebooting blocking is disabled and ads stiill appears.

Adfree not working too.
[Onetouch Idol 3 Android Development] rouyal:
Adaway working for me.
[Onetouch Idol 3 Android Development] MasterDoctor:
The phone doesnt work for me [When I call it says Call Ended] when I recieve a call it goes straight to voicemail.

My carrier [vodafone UK] is also displayed as a string of numbers. As does seemingly a lot of UK carriers.
[Onetouch Idol 3 Android Development] pivoq:
Device variant?
[Onetouch Idol 3 Android Development] MasterDoctor:
Same as you, 6039y
[Onetouch Idol 3 Android Development] pivoq:
6039Y-2AALWE7 ? You can check by typing "getprop ro.tct.curef" in adb shell.

Could you send me your build.prop from stock ROM? Maybe it is different in devices sold in the UK.
[Onetouch Idol 3 Android Development] MasterDoctor:
6039y-2AALGB7. So not exactly the same :)

Is there a way to get the stock build.prop without having to back everything up and flash the stock rom?
[Onetouch Idol 3 Android Development] pivoq:
Not that I know of, I just thought you'd have a TWRP backup
[Onetouch Idol 3 Android Development] MasterDoctor:
I do, im just lazy. :)

Also the camera works perfectly for me.

---------- Post added at 07:44 AM ---------- Previous post was at 07:08 AM ----------

The backup doesn't seem to boot....
[Onetouch Idol 3 Android Development] pivoq:
It doesn't have to boot, you can pull the build.prop from recovery...

I've uploaded a new build with some very minor changes to camera, so don't expect the issue to be fixed.

However, it includes the google's latest security fixes (patchlevel 01.12.)

https://www.androidfilehost.com/?fid=24269982087014359

It seems to me that alcatel used different camera sensors (sony imx214 and samsung s5k3m2). I apparently have the sony sensor and the picture is not inverted.

However I need more logs from you guys to confirm this. Please also switch to front cam while taking logs, to see if there are differences aswell (samsung s5k5e2 for me)

Edit:

It's easier to find out if you run a "dmesg | grep "sensor name" from adb shell
[Onetouch Idol 3 Android Development] Phantom410:
Output of dmesg | grep "sensor name" :

<6>[ 850.877484] OTP: sensor name: s5k3m2_idol347_samsuny
<6>[ 880.349546] OTP: sensor name: s5k3m2_idol347_samsuny
<6>[ 892.331390] OTP: sensor name: s5k5e2_idol347
<6>[ 899.848521] OTP: sensor name: s5k3m2_idol347_samsuny

This is on 6039A-AAPSAR7 variant
[Onetouch Idol 3 Android Development] wiemar:
what changed in camera from first build?
[Onetouch Idol 3 Android Development] deuill:
Getting camera issues on a 6039Y as well (blurry image and upside-down primary camera). Here's the dmesg:

<3>[23018.013900] msm_sensor_config:1555 sensor state 1
<6>[23018.091035] msm_sensor_subdev_ioctl cmd =-1073457460
<6>[23018.091044] OTP: sensor name: s5k3m2_idol347_samsuny
<3>[23024.114969] msm_sensor_config:1582 sensor state 0
<3>[23024.192581] msm_sensor_config:1555 sensor state 1
<6>[23024.364532] msm_sensor_subdev_ioctl cmd =-1073457460
<6>[23024.364544] OTP: sensor name: s5k5e2_idol347
<3>[23028.554377] msm_sensor_config:1582 sensor state 0

Thanks for your hard work!
[Onetouch Idol 3 Android Development] MasterDoctor:
OK, I got my stock ROM back.

I also noticed that my cellular networks have numbers instead of names.

I don't get any signal abroad.

Of course, the issue with the call immediately ending has not been resolved.

All of this works in stock ROM.

I suspect broken modem software or something related to that.

Link to build.prop: http://pastebin.com/SnPZsT9F
[Onetouch Idol 3 Android Development] pivoq:
Thank your for the dmesg logs. Apparently, the camera issue only occurs on devices that have the samsung rear cam.

https://github.com/pivoq/android_de...mmit/c988b2e100bdd3fe8d760ae5240f030a57acb9c8 I've added those blobs a few weeks back.

You could try deleting the blobs that include s5k3m2_idol347_samsuny from /system/vendor/lib one by one to see if it fixes the issue...

build.prop shows no major differences, your build just seems to be older than the 6039-WE stock ROM.

Maybe there was an update to radio firmware which might have caused incompatibility. If you're eager to try, you can exchange the ril blobs in the cm-12.1 with the ones in your stock rom.
[Onetouch Idol 3 Android Development] MasterDoctor:
I will try that. Its older because I didn't update when I got this phone so I didn't loose fastboot commands.
[Onetouch Idol 3 Android Development] Nelle9900:
How can I disable lockscreen to auto rotate?
[Onetouch Idol 3 Android Development] rouyal:
Enable root in developer options. Install a build.prop editor from play store. Then find line: "lockscreen.rot_override=true", change it to false.

Or you can edit the build.prop in the ROM zip before installing.
[Onetouch Idol 3 Android Development] Nelle9900:
Many thanks my friend :)
[Onetouch Idol 3 Android Development] deuill:
Removed all of the blobs, rear camera seems to to work correctly now, though it *does* seem a bit blurrier than stock (I'll see if I can get comparison shots). Thanks!
[Onetouch Idol 3 Android Development] Phantom410:
Deleting the blobs made camera work correctly again on my device. I think the blurry image that [MENTION=7133300]deuill[/MENTION] mentioned (for me at least) is just in the viewfinder, once the photo is taken on gallery it looks way sharper.

I was wondering, any plans on porting the stock reversible function?

Once again, thanks for all your work!
[Onetouch Idol 3 Android Development] dingila:
Can I use Xposed on this Rom??

Arm 21 or 22??

Thanks!
[Onetouch Idol 3 Android Development] Phantom410:
With this rom you want sdk22-arm version of xposed
[Onetouch Idol 3 Android Development] neutrinobox:
Hello from germany

I've got this phone on Christmas and i installed this great rom .

Form the last night to this morning i've got much battery drain.

https://www.dropbox.com/s/5vklwsdjmeu3iy1/Screenshot_2015-12-26-10-16-47.png?dl=0

https://www.dropbox.com/s/ppmm06d2qa95l6h/Screenshot_2015-12-26-10-17-06.png?dl=0

https://www.dropbox.com/s/kyqv983thwxklk7/Screenshot_2015-12-26-11-26-14.png?dl=0

What can i do now ?
[Onetouch Idol 3 Android Development] neutrinobox:
Hello again...

So, i tried different things and App´s to see which Service is killing my battery.

It was the RILJ Service and the location service with a lot of CPU Wake locks. The App "Wake lock Detector" and "app ops" helped me to find the problem.

With Greenify i killed all the Apps in Background , only "whatsapp" and "Screen off and Lock" are still alive.

With Titanium Backup i freezed the "location service" and with "App Ops" i switched off all the "auto start" , "keep alive" and "location" activities from any App and system service.

Only the Amazon Video Service won´t die.

although greenifyd it always comes back as background service.

So.... i deleted this app !

So... this morning i disconnected the charger. Now, ... 12 hours later with much use, 1h calls and many whats app chats, foto´s, videos....

i have 47% battery remaining.

Cpu governor is "interactive" but modified for more battery safe......