yashsingh1/xdaforums huggingface dataset:
[Galaxy S3 Neo Original Android Development] alecbl:
Yes, that's found here: https://issuetracker.google.com/issues/64434571?pli=1 on comment #22.

The fix can be quite trivial, under android_frameworks_base/libs/androidfw/AssetManager.cpp, line ~425, just change:

tree.setTo(manifestAsset->getBuffer(true), manifestAsset->getLength());

to

tree.setTo(manifestAsset->getBuffer(true), manifestAsset->getLength(), true);

So that the buffer gets copied and you don't run into issues on uninit after freeing the asset.

I would push this into gerrit... but don't have a gerrit account, and don't have any openID account (no google, no yahoo, no launchpad, etc.)

So please, if someone makes a pull request to gerrit for this, it would benefit many people on MM (and I think KitKat too.)

Just to clarify, this fixes the crash / boot loop on installing recent apps that have been compiled w/ very recent versions of build tools. It started as a small list but over time has been afflicting more and more app updates, as developers upgrade their build tools.

Some app devs have been working around it though, and have recent updates that sidestep the issue, and they will probably keep doing that because there will be people that won't have updates for their roms. But that's not ideal, and the bug should get fixed of course. It's trivial for a malicious app to abuse it for DoS. And I'm not sure about the likelihood of crafting an app that can exploit it for shell instead of crash.
[Galaxy S3 Neo Original Android Development] Thargorsson:
Ok I'll do a newer build to test as soon as possible
[Galaxy S3 Neo Original Android Development] Thargorsson:
Ok good so the app crashes/bootloop due to apps issue is gone.

Tested with Nova launcher Facebook WhatsApp etc...

Link in OP is updated.

Or go here

https://www.androidfilehost.com/?fid=817906626617945716
[Galaxy S3 Neo Original Android Development] kolyanwap:
I've missed changelog of last updates. Is that built ready for daily use? (camera, sensors, bugs and etc.)
[Galaxy S3 Neo Original Android Development] danieldeak70:
I think I solved the "disappearing flash lite icon" bug on a statusbar ?

But not sure....

But I write here to test it...

I add the build.prop, this line:

-

I don't know what exactly solved the flashlight bug so I test more...
[Galaxy S3 Neo Original Android Development] mahmoudgamal59:
What about camera?

Is it stable for daily usage?
[Galaxy S3 Neo Original Android Development] kickyvivi:
Camera is still not working. Its otherwise a perfect rom for daily usage.
[Galaxy S3 Neo Original Android Development] Thargorsson:
Yeah would be great if you could confirm the Flashlight fix and the other one you told.
[Galaxy S3 Neo Original Android Development] sarius02:
Didn't the rear camera already work in this rom?
[Galaxy S3 Neo Original Android Development] danieldeak70:
I got it. ?

Writing in build.prop did not solve the problem. A camerafix solved the problem, what I found.

Here, Flash this and the flashlight icon didn't disappear on statusbar:

https://www.mediafire.com/download/dm5cdr41c45wuo9

The sensor thing... So I testing the sensors too because I found a fix .... Maybe.... not sure... Maybe

But I write if it's working. :D

//---------------------------------18:25------------------------------//

Sensors is working: 2 hours 25 minutes ago

I wait ... Tomorrow and I write if the autorotation working or not ?

//---------------------------------22:18------------------------------//

The auto rotation is not working ?

But inside the camera.... It works :eek:
[Galaxy S3 Neo Original Android Development] Charly112:
Now it seems that nova launcher, acr, whatsapp are running without crashing. Good work. But i can not read from usb card where my backups from titanium are. Only usb card is from recovery readable but not in android. There are problems to read usb-card format. But usb card is ok. It is a bug. Who can fix it.
[Galaxy S3 Neo Original Android Development] arbercocka:
Thanks

Bluetooth works and WiFi in 5 GHz

only bugs camera
[Galaxy S3 Neo Original Android Development] danieldeak70:
You mean pendrive or sdcard?

Because if the pendrive, you need:

- OTG cable

- and an application which turn on the otg support
[Galaxy S3 Neo Original Android Development] aelfinn:
Excellent ROM, judging from first appearances. Camera and SD card worked out of the box for me, btw. Very smooth, definitely much improved over the latest CM 12.1 from October 2016.
[Galaxy S3 Neo Original Android Development] Thargorsson:
How many camfixes are there actually ???!
[Galaxy S3 Neo Original Android Development] Droidaner:
I installed the ROM yesterday after clean wipe it and it works pretty well, smoother than CM12. Good work, thank you :)

The only things I noticed not working are front camera and auto screen rotation.

I installed the rom (11.11.) , opengapps pico, camerafix 2 from CM12

I used: Wifi , GPS, Back Camera, Youtube, Twitter, FM radio, speaker, telephone, mobile data.
[Galaxy S3 Neo Original Android Development] danieldeak70:
I don't know (maybe 3)... But it works....

I found 3 camfix... But this worked perfectly... Because it's fixed the flashlight icon disappear bug.
[Galaxy S3 Neo Original Android Development] Fallenwitcher:
[MENTION=5568632]Thargorsson[/MENTION]

If this fix work, can you build it in the next update?
[Galaxy S3 Neo Original Android Development] Charly112:
Yes i have otg cable and i have with older versions 12.1 from 2016 made backup with titanium. There i also could restore! Now it doesn´t work. I think this rom has problems to read pendrive with NTFS sd or something else. My pendrive is with 64GB SD and never i have had problems to read from it. With other smartphones also no problem. I have formatted sd in smartphone that it works like bigger internal rom. Now i think it wants the same format for pendrive. May be crazy but NTFS does not work on Pendrive now.
[Galaxy S3 Neo Original Android Development] Thargorsson:
Yeah, still need to figure out what of those files exactly fixes flashlight.
[Galaxy S3 Neo Original Android Development] danieldeak70:
My pendrive is NTFS and it's working perfectly.

Try this application: https://www.mediafire.com/download/z6wu8xqq8io01a5

and

TotalCommander

Follow the app instructions... Maybe it works ?
[Galaxy S3 Neo Original Android Development] Charly112:
I have es explorer, but I will try it with zip.
[Galaxy S3 Neo Original Android Development] notfood:
November 11 update made it very stable, snappy and everything works, even the apps that bootlooped the device work fine now.

The only thing missing is the front camera. No big deal for me, rear camera works fine.
[Galaxy S3 Neo Original Android Development] exnokiafan:
Good to hear! In case LOS14 will never be fully finished, we have hopes at least for this rom :)

Is there anybody that can develop a good kernel to improve battery life?
[Galaxy S3 Neo Original Android Development] danieldeak70:
Just... Put CPU profile from performance to ondemand.
[Galaxy S3 Neo Original Android Development] m9in_KIRCHIK1488:
Yeah, rom not having random reboots:D
[Galaxy S3 Neo Original Android Development] danieldeak70:
I don't know if it helps.. but I saw the moment when the random reboot happened...(in Kernel Auditior)

All CPU Cores go down 300Mhz and phone... Just freeze and reboot
[Galaxy S3 Neo Original Android Development] elvis574184:
At me, during conversation breakages of communication, the approach gauge works poorly, the ear is pressed a calendar, a mode of flight. I could not restore all the contacts from the vcf file, in part.
[Galaxy S3 Neo Original Android Development] notfood:
I'm not having communication issues. And no random reboots whatsoever since I installed it.
[Galaxy S3 Neo Original Android Development] mahmoudgamal59:
So latest build 11/11/2017 works fine but front camera the only bug?

Is there any hope to fix this soon?
[Galaxy S3 Neo Original Android Development] elvis574184:
In the last assembly, nothing has changed, except for trying to fix the camera!
[Galaxy S3 Neo Original Android Development] m9in_KIRCHIK1488:
---------- Post added at 02:31 PM ---------- Previous post was at 02:30 PM ----------

Was fixed random reboots and bootloops after instal some apps
[Galaxy S3 Neo Original Android Development] Droidaner:
I noticed also:

- Battery drains , 20% a night (with CM12 it was 5% in flight mode)

- no root in developer options, so I cannot install wakelock detector, greenyfie etc

I suggest enabling root in developer options. Doesn't hurt anyone as you can disable it.
[Galaxy S3 Neo Original Android Development] Mranzy:
For the root you can install the add-on.
[Galaxy S3 Neo Original Android Development] danieldeak70:
The default CPU governor is performance.... Try to change ondemand with KernelAuditior

Maybe it's..... help.
[Galaxy S3 Neo Original Android Development] Aufhellblitz:
do you forget install the newest SuperSU..zip with twrp? Then you have root ;)

Now I just need a working camera fix.. the last one (Camera_fix_new (1).zip) don't work
[Galaxy S3 Neo Original Android Development] elvis574184:
I changed, it did not help! Bad autonomy, bad sleep!
[Galaxy S3 Neo Original Android Development] danieldeak70:
What do you mean "don't work"?

Did you wiped the cache?
[Galaxy S3 Neo Original Android Development] KingJames1996:
So, what files i should download to have less bugs possible?
[Galaxy S3 Neo Original Android Development] danieldeak70:
To fix the flashlight icon disappearing bug .. flash this:

https://www.mediafire.com/download/dm5cdr41c45wuo9
[Galaxy S3 Neo Original Android Development] KingJames1996:
Supersu?
[Galaxy S3 Neo Original Android Development] danieldeak70:
Flash this: https://mirrorbits.lineageos.org/su/addonsu-13.0-arm-signed.zip

and go to developer options... and .... That's it.
[Galaxy S3 Neo Original Android Development] Aufhellblitz:
Front and back camera are without function (crashed). I have tested with OpenCamera and Stock

Yes, I wiped cache. In Android 5.1 camera works perfect without any patch ;)
[Galaxy S3 Neo Original Android Development] Fallenwitcher:
Streaming Audio over Bluetooth does not Work.

Open some apps heats the device Up and throttles the CPU down until the device is unusable.
[Galaxy S3 Neo Original Android Development] Charly112:
I have same problem, fix from cm12.1 and fix from here doesn´t work, camera front and rear crashes. Who knows working patches which are really tested.:confused:
[Galaxy S3 Neo Original Android Development] danieldeak70:
I have a "good news..." ?

Not sure.. but I find a solution a random reboots ... I testing tomorrow 15:00 and I write how many random reboots are .... ??

Sorry for my bad English.

If random reboots are gone I write the solution.
[Galaxy S3 Neo Original Android Development] MarcusBS:
THE FIX CAMERA WON'T FIX CAMERA

The fix camera is only for some S3 Neo, some S3 Neo that have Sony's sensor for camera. It will work only for this kind of S3 Neo and only for BACK camera.

They are asking to use camera fix because MAYBE touchscreen won't work without it.
[Galaxy S3 Neo Original Android Development] Charly112:
But Back camera doesn´t work for me. With all other Rom´s before cm 12, cm 1.2.1 no camerafix needed and front and back cameras had worked. To scan Codes i´ll think back camera is ok, but only if it works.
[Galaxy S3 Neo Original Android Development] MarcusBS:
It doesn't work to everyone, can't you get It? It only works for S3 Neo with Sony camera sensor.
[Galaxy S3 Neo Original Android Development] Charly112:
Ok i didn´t realize that there are different cameras. So imust hope for fix with no sony camera.
[Galaxy S3 Neo Original Android Development] Thargorsson:
Yeah for the cameras I'm not the best dev... We need someone who can create shims and so on... But I also have some tricks from the s5mini kernel that I tried in Los 14.1 with no luck :( maybe Los 13 has more luck.
[Galaxy S3 Neo Original Android Development] Charly112:
Good Luck :)
[Galaxy S3 Neo Original Android Development] Fallenwitcher:
Can someone say something about the Bluetooth issue? When i try to stream music with poweramp or the stock music App to my Bluetooth Car Radio there is only stocking Sound to hear.

And when you have more apps running in background (4-5 apps) the device getting warm and throttles the CPU down.
[Galaxy S3 Neo Original Android Development] danieldeak70:
https://jira.lineageos.org/browse/REGRESSION-125

Check this... maybe same problem...

audio_policy.conf ? maybe....

Thargorsson... maybe take a look at it.... :confused:
[Galaxy S3 Neo Original Android Development] klaus-hamburg:
I had the same problem with i9300 .

The only way for me was to enable flight modus, disable wifi, location and shut down all running Apps.

Then the sound doesn't stocking anymore - the device isn't a young guy ;)
[Galaxy S3 Neo Original Android Development] Thargorsson:
Yeah ill take a look tomorrow
[Galaxy S3 Neo Original Android Development] Thargorsson:
Well even now it looks a bit confusing.

"Sorry for the long reporting delay [MENTION=6973567]Joey R[/MENTION]izzoli. After applying it manually some time ago it stopped working right away (next day or so), so it might have been just a side-effect :/ So I can confirm that the patch does not fix the problem."
[Galaxy S3 Neo Original Android Development] danieldeak70:
But, thank you to watched. ?

//---------------------------------------------------------------------//

The random reboot solution might be worked... (Maybe)

No random reboot for: 6 hour's ago.
[Galaxy S3 Neo Original Android Development] Thargorsson:
Cool what is the solution?
[Galaxy S3 Neo Original Android Development] danieldeak70:
Fix Lollipop Memory Leak (Xposed)

But... I testing tomorrow... I write the results ?

//-------------------------------------------------//

No random reboot for: 21 hour's ago ?
[Galaxy S3 Neo Original Android Development] MarcusBS:
Yeah, that is it. Sorry if I was rude.
[Galaxy S3 Neo Original Android Development] Aufhellblitz:
Hello,

Is the memory-leak for cm12.1 now fixed?

I heard that Google has fixed this self?

The xposed-patch-Modul is only for Android 5.0.x

Sorry for my broken Englisch ;)
[Galaxy S3 Neo Original Android Development] danieldeak70:
Yeah, I know.

But it seems worked... No random reboot: 19 hour's ago.

Oh and I think it's fixed the "unlock screen restart" bug also.
[Galaxy S3 Neo Original Android Development] Aufhellblitz:
Thank you for your quick response.

have you tested with the critical apps like "Nova launcher", "greenify" or Facebook? ;)
[Galaxy S3 Neo Original Android Development] danieldeak70:
Not yet. But if worked... Maybe work with critical apps. But ...if you want... I test it.
[Galaxy S3 Neo Original Android Development] Aufhellblitz:
I will test it myself - Thank you! I will get back to you later.. ;)
[Galaxy S3 Neo Original Android Development] Fallenwitcher:
Btw. Nova launcher 5.5 beta 8 run again on cm12.1
[Galaxy S3 Neo Original Android Development] danieldeak70:
Random reboot fix

So the "random rebbot solution" test ....

I have : 0 reboots today (so that means 1 day, 1day test, and no reboot for: 1 day's ago)

I cant't believe that solution is work.

So the solution is:

1. Install Xposed(if you have , just do step 4)

2. Open Xposed, and click install, now the phone is reboot

3. Wait until the phone is booted

4. Xposed,click Download tab, click search icon and write this: Fix Lollipop Memory Leak

5. Install, activate and reboot

6. Thats it. :D

My phone is not rebooted for: 1 day's ago

If it's not work or just got a random reboot.... there is another solution, might be worked.

I write the another solution, if anyone got a random reboot.

(Oh I almost forgot.... the test is heavy performance test was. [Clash Royale]

If I played clash before the test, it happened in the middle of the match ... got a random reboot... my phone turned on

and i open again Clas Royale ... I played 2 minutes ... and reboot happened again)

That is not happened today.

The "screen unlock rebbot" bug also gone...

Have nice day :)
[Galaxy S3 Neo Original Android Development] Thargorsson:
So as I get it this commit here should fixed it based on the xda thread...

https://github.com/CyanogenMod/andr...mmit/dcc6c85f99a013218097bfcb6b26846ac26270b7

I'll apply it and upload a rom for you to check.
[Galaxy S3 Neo Original Android Development] Fallenwitcher:
Is there any chance that you can fix the Bluetooth issue in the near future? The ROM is very stable but the Bluetooth issue is really annoying.
[Galaxy S3 Neo Original Android Development] KingJames1996:
Link? Works on 5.1.1?
[Galaxy S3 Neo Original Android Development] danieldeak70:
Here: http://dl-xda.xposed.info/modules/com.thetonyp.fixlollipopmemoryleak_v3_6a7151.apk

I don't think so. Because I read:

"Android 5.0.X(5.0.1,5.0.2) version supported, and when the module detects Android 5.1.1 version it disable itself automatically."
[Galaxy S3 Neo Original Android Development] Thargorsson:
BTW are we talking about Los 13 or 12.1???
[Galaxy S3 Neo Original Android Development] danieldeak70:
I'm sorry.

I delete and send him in pm.
[Galaxy S3 Neo Original Android Development] KingJames1996:
When i installed xposed.apk, the system has crashed, trebuchet, play services crash in loop.

How did you do to install xposed?
[Galaxy S3 Neo Original Android Development] Mranzy:
Don't installed the latest version.. You can install the 3.1 version of the xposed installer apk, it works fine.
[Galaxy S3 Neo Original Android Development] danieldeak70:
The random reboots are gone....

BUT

When the device heat up... Is reboot
[Galaxy S3 Neo Original Android Development] Aufhellblitz:
Tip: If you have problems with your extern sdcard and "Titanium Backup":

For Android versions >=6.0 (Los 13) and Titanium backup / restoration - directory:

Set backup directory to /sdcard/Android/data/com.keramidas.TitaniumBackup/files

(/sdcard == your /storage/XXXX-XXXX)
[Galaxy S3 Neo Original Android Development] rayaan:
Sim card is not detected
[Galaxy S3 Neo Original Android Development] kolyanwap:
how can i run the camera? in cm 12.1 camera worked without any fixes. And now i tryed to instal camfix from cm 12.1 to clean system and wipe caches but it dont work.
[Galaxy S3 Neo Original Android Development] kickyvivi:
Dev is trying to fix camera. Wait till then.

---------- Post added at 05:36 PM ---------- Previous post was at 05:35 PM ----------

Which version did you flash ?
[Galaxy S3 Neo Original Android Development] TheForgotten:
About the random rebooting problem on some devices, many people claim that flashing stock ROM before flashing another ROM helps with stability. Maybe that's the key to solve those random reboots :P
[Galaxy S3 Neo Original Android Development] Tisenoiazei100:
Maybe we can take a look at S4 Mini vendors. We use the same camera sensor

Στάλθηκε από το SM-G532F μου χρησιμοποιώντας Tapatalk
[Galaxy S3 Neo Original Android Development] spirit_of_the_ocean:
There are 3 official lineage builds for S4 Mini:

serrano3gxx, serranodsdd and serranoltexx.

Do they all have the same camera sensors or has only one version the same camera sensors?

Noob question:

How do you know which camera has which sensor?
[Galaxy S3 Neo Original Android Development] Tisenoiazei100:
Yes they use the same sensors. Their sensor is the same with S3 Neo.

Στάλθηκε από το SM-G532F μου χρησιμοποιώντας Tapatalk
[Galaxy S3 Neo Original Android Development] spirit_of_the_ocean:
Hello,

I am just curious where do you get that information which sensor a phone has.

I often look at gsmarena. But there is no information about the actual used sensors(camera Hardware).

Is there a database or can you see that on github in the code or is there a special app?
[Galaxy S3 Neo Original Android Development] Tisenoiazei100:
Looking at S3 Neo vendors

We use:

Samsung s5k4h5yb

Sony imx175
[Galaxy S3 Neo Original Android Development] spirit_of_the_ocean:
Thanks for your patience.You are right:)

I just found on github:

https://github.com/Danile71/android...4.1/serranovexx-common/proprietary/vendor/lib

Another question:

There are 3 versions:

I9300I and I9301I and I've heard of the duos version.

Do they have the same camera sensors or are there differences?
[Galaxy S3 Neo Original Android Development] Tisenoiazei100:
I9300I and I9301I don't have different sensors.

Some S3 Neo's like mine, comes with a different sensor(That's where camera fix was intended to) which is little closer to S5 Mini one but not the same

I9301Q I think, is the same device as I9301I intended to meet the middle eastern market specifications like the G800HQ.

Στάλθηκε από το SM-G532F μου χρησιμοποιώντας Tapatalk
[Galaxy S3 Neo Original Android Development] kickyvivi:
Use Aida64 app.
[Galaxy S3 Neo Original Android Development] Fallenwitcher:
I can watch the battery drain. 12% in 15 minutes. The govenor is on ondemand. Can someone explain how to Setup the Kernel?
[Galaxy S3 Neo Original Android Development] Vajrapani:
Aida64 works poorly and does not show this information. If you have a root, use Device Info HW.
[Galaxy S3 Neo Original Android Development] sarius02:
For camera AIDA64 works perfectly, but the camera needs to work for this;)
[Galaxy S3 Neo Original Android Development] Thargorsson:
Hmm that indicates some firmware issue
[Galaxy S3 Neo Original Android Development] TheForgotten:
I have no idea. Just trying to help with the few things I know :P
[Galaxy S3 Neo Original Android Development] danieldeak70:
I found a bug... The latest 20171111 version

EDIT: If I correctly remember... not the latest .. the all build included this bug...

Just a forgot to write.

When... Sometimes I pull out the micro USB charger from the phone, the LED is stay green, and the Ampere application is indicates the phone is charging.

I send a screenshot.

https://www.mediafire.com/view/u3nhw16tw9wd49e

Yeah... I know ... The screenshot is Hungarian... The statusbar battery icon .... Charging... But I pulled out a micro USB cable 2 minutes ago.

Oh... And it's only the restart help... Hot reboot not solve the problem

Only normal reboot.
[Galaxy S3 Neo Original Android Development] kickyvivi:
its there in most of the custom roms for s3 neo. not a serious one. just plug in the charger once more and remove it.
[Galaxy S3 Neo Original Android Development] danieldeak70:
I tried... Not working.

Just a reboot solve the problem.
[Galaxy S3 Neo Original Android Development] pattonlavinskey:
Hey Guys I guess am the late one here...I downloaded the LineageOS 13. and am so happy that atleast there's now a custom rom for GT-193001

The only bug I found was on Camera which is actually better instead of not having an android 6.0.×. Thanks Dev's I really appreciate your efforts.

Soo guys who are complaining about this rom I dont mean to be rude but if you cant wait for the fix (maybe you can make your own rom ?).Anyway Good day
[Galaxy S3 Neo Original Android Development] Jack Ryuma:
https://xdaforums.com/galaxy-s3-neo...ogenmod-12-1-overclock-1-593-t3230195/page156

In this link, there is another camera fix...

there are, two fixes... i hope this is help
[Galaxy S3 Neo Original Android Development] klaus-hamburg:
did you try it ?

does the front camera works?
[Galaxy S3 Neo Original Android Development] Jack Ryuma:
Now, i have the cm12.1 and all cameras are working, I don't need any fix, I posted It if someone can try it
[Galaxy S3 Neo Original Android Development] barbarius:
camera is also not working for me. if it's fixed, rom is good to go.
[Galaxy S3 Neo Original Android Development] DarkJoker360:
I will take a look
[Galaxy S3 Neo Original Android Development] danieldeak70:
Maybe this help... A little bit... ?

When I change the front camera... So I make log and started searching.... And I found this...

https://www.mediafire.com/view/e26gc4v7a1u9da6

When I change the front camera this error... Hmmm it's interesting....

The problem maybe in the "CameraService.cpp" or "CameraService.h"

https://github.com/dtsinc/DTS-M6-In...vices/camera/libcameraservice/CameraService.h

Search this word on this page: "too many"

and... yeah... I know this is not S3 CameraService.h ... just an example.

If I correct...
[Galaxy S3 Neo Original Android Development] V1P_J0K3R:
Can anyone tell me if i could use this rom for daily working ?