yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] ale5000:
I'm now able to pass SafetyNet with microG.

Tested now with the latest build and it works perfectly.
[Galaxy S II Android Development] Nobby1960:
The weather widget is "a bit" hard to read, I mean, this is an issue from the older CM Yahoo Provider app if the menu is opened, not designed for Nougat, the letters must be white - I can't setup the colors. See screenshot.
[Galaxy S II Android Development] Nobby1960:
deleted
[Galaxy S II Android Development] Wachicamo:
Wise advice, because I did something wrong and now I have to start all over, sigh... Hahaha.

At least I made it to boot to Stock ROM again, but since I don't have any old files (cm12, TWRP, etc), I'm stuck with the ugly 4.1.2.

Edit: Problem solved!
[Galaxy S II Android Development] shkedov:
Guys, guys! You're all missing an important point!

Insufficient storage message can mean a low or full /data partition, which can be solved indeed by repitting /data bigger and/or changing to emulated.

BUT

It can also mean that you didn't listen to OP who said twice that you all must have at least 1GB /system partition! Those who think you'll get out of this here's my claim:

Two things (of many) when installed are actually related to /system and installed in it:

The first is the ROM of course.

The second is GApps.

Yes, this is the reason gapps cannot be uninstalled manually from the OS, only through recovery. And yes, this is why all of you not expanding /system still cannot install gapps at any package size, even pico. And that's when the insufficient storage gets in! Increasing /data and/or complicating into emulated wouldn't solve you problems in this case! Go back, increase your /system partition, and then talk about insufficient storage.

And you could've mislead many noobs around here... (I'm a noob too lol)

Sorry for the to tone, you guys are amazing, everyone here. Cheers!:highfive:

And also ROM and gapps installations are more common and often, this should be the main reason for insufficient storage.
[Galaxy S II Android Development] rINanDO:
Oops I'll update the link.
[Galaxy S II Android Development] max6698:
Insufficient storage when attempting to install an app from the Play Store has nothing to do with the amount of free space in the system partition. When you replace a gapps app with an updated app from the Play Store, the update goes in /data even though the app it replaces is in /system.

I have a 1.5G /system partition with about 500M of free space. I will not be making it bigger any time soon. :)
[Galaxy S II Android Development] shkedov:
It is true all you say! I totally agree.

But the most common message of insufficient storage during installation is the one relating to /system, so I had to make an important point for anyone seeing your posts and talk.

And as contributors asked - let's keep the talk for OS here, and the talk of emulated storage for its respective thread. This is not the emu thread.
[Galaxy S II Android Development] clearlight:
Hi guys, thanks for your great work!!!

I have updated from 14.1-20170129-UNOFFICIAL to 14.1-20170213-OFFICIAL but no filemanager access is possible. The Manager asks for root.

So the stupid question: am i right to install the root SU add-on, that was mentioned in the start posting? But which one do i need? There are 6 versions available.
[Galaxy S II Android Development] toy_story:
In TWRP Install this.

And it will work!
[Galaxy S II Android Development] Weib67:
For those who want to fresh install the last official build and emulated storage: the steps are in the link below, with specific files to flash.:good:

Hope there will be less questions here about emulated storage from now on. :)

See solution in here the appropriate thread. ;)
[Galaxy S II Android Development] bepcan:
which custom recovery exactly?

Is TWRP 3.0.2-0 ok to flash these install file?

---------- Post added at 06:31 PM ---------- Previous post was at 06:23 PM ----------

I mean to install experimental and lineage-14.1-20170213-nightly-i9100-signed.zip

---------- Post added at 06:49 PM ---------- Previous post was at 06:31 PM ----------
[Galaxy S II Android Development] shkedov:
Yes, any TWRP 3 should be fine.

And yes, total 1GB size of /system is good, you may proceed!

And if you're having problems with the zip file verification, you may uncheck that box of "verify zip signature" ONLY after you have checked that your md5 checksums are correct!!!
[Galaxy S II Android Development] ale5000:
I don't understand what you are saying.

Can you please rephrase?
[Galaxy S II Android Development] treysis:
Yes. The nightly from Feb 22nd. Wiped everything clean before, even internal storage.

There is one error message showing in logcat. But it occurs a bit before the sound cuts out, so I'm not sure if that's the reason.

"AudioFlinger (process ID of something else): BUFFER TIMEOUT: remove(same process ID) from active list on thread 0x<memoryaddress>
[Galaxy S II Android Development] rINanDO:
You need to delete the .Android_secure folder manually. It was created in real storage.
[Galaxy S II Android Development] jojobg:
The gradient effect is due to the open mali drivers implementation it is visible from 12.1 up to LOS.
[Galaxy S II Android Development] laptopu:
I still can't access a physical external sd card though, file manager says I need root even though root access is enabled and su installed.
[Galaxy S II Android Development] gm0:
.android_secure gets re-created on every boot so it's just a temporary solution, anyway.

PS: Also seems the file manager won't be included in upcoming builds anymore, so this discussion is kinda moot now: https://review.lineageos.org/#/c/156347/
[Galaxy S II Android Development] BenjyTec:
A bug makes the /system partition appear much too big in the storage settings, I guess. Just look a few posts above yours, it is a similar situation there.
[Galaxy S II Android Development] mrfrantastic:
In latest builds live display (sometimes) doesn't work. Only if you go in and out of airplane mode it is triggered ^_^
[Galaxy S II Android Development] peterpunk01:
thanks, I'm going to check the above posts.
[Galaxy S II Android Development] gm0:
I ran into a reproducible bug with the latest official build and the "Long press for torch" power button function. It only works correctly when a power source is plugged in (charger or usb), when running on battery (at full charge) it only works erratically, either not at all or only while you hold the button down, and the corresponding status bar icon will stay on while the light is off. Activating the light from the status bar works correctly in all situations.

Can anyone confirm? Wondering if this is a general issue or down to a combination of power related settings.
[Galaxy S II Android Development] Hamzaps:
I downloaded the nightly 20170222 and gapps .. Rebooted to recovery (twrp) i tried to install the zip but it show me md5 not found and E: error executing updater binary in zip .. Guys tell me the solition plz
[Galaxy S II Android Development] Mirajoo7:
yes ! I mean that I don't know about that in detail but I noticed that a lot by using some apps and live wallpapers

I think the devs can do something to this
[Galaxy S II Android Development] jojobg:
Unfortunately not, for details search the threads for mali drivers.
[Galaxy S II Android Development] Mirajoo7:
is this an unfixable issue?
[Galaxy S II Android Development] pippone121263:
try to download it again, maybe no good download.

wipe system and cache after that flash rom, gapps and whatever you want to, just one after another without reboot. you can reboot only after you flash everything.

hope it can help
[Galaxy S II Android Development] Klaerchen:
I observe the same behavior. And it's the same also for i9300 (S3).
[Galaxy S II Android Development] todonormal:
For File Manager the better it's MiXplorer: https://xdaforums.com/showthread.php?t=1523691

If you review all devices in https://download.lineageos.org/, first found experimental and second found nightly

Review: http://lineageos.org/Update-and-Build-Prep/
[Galaxy S II Android Development] trikker77:
Hot camera

Hi. I now it is a old issues, but is there anybody have a solutions for the hot camera. Its drain the battery in 6 hours.
[Galaxy S II Android Development] bepcan:
Whatsapp issue

Hi everyone, after upgrading to LOS 14.1 + nano gapps I reinstalled whatsapp, now in the whatsapp menu bar there are "Chat", "Status", "Calls" (in italian in the screenshot) menu, disappeared the "Contacts" menu, in its place is the "Status" menu. Is it caused by the update of CM13 to LOS+nano gapps?
[Galaxy S II Android Development] p3dboard:
No thats a new layout of whatsapp. Contacts show up when you make a new message
[Galaxy S II Android Development] Nobby1960:
[MENTION=8071159]bepcan[/MENTION]

This is no ROM issue. WhatApp has done an update at 02/21. I mean, this update is a crap (read the "good" comments on Play Store). Just install a previous version with the old status information.
[Galaxy S II Android Development] suapoc:
That's not related to the ROM. If you want to start a new Chat with one of your Contacts you have to be in the Chats View (Tab). There is a little speech bubble icon next to the magnifier class. Hit that icon to enter the "old" Contacts menue...

________________

-Problem with bluetooth file received dialog

Can someone here confirm, that the received bluetooth file view has the same problem as the file explorer? After i receive a bluetooth file a notification pops up in the status bar. If i hit that i am in a view that presents all the received bluetooth files... However once i hit the file name the view just crashes and pops up an error message.

I would like tw know two things:

1. does this still happen on phones that removed the stock file browser?

2. does this happen on phones that use emulated storage?

Would be nice if someone could test it... just send a file to the phone via bluetooth and report if the received files dialogue crashes on you too when you click the file name.
[Galaxy S II Android Development] Boolian:
Somewhat confirmed.

Tested across varying Display and Battery/ Power optimisations - consistant behaviour, no variation.

*Holding torch for 5 seconds causes crash & reboot*

Test: Not charging (battery only) / less than 100% charge /screen off.

Long press for torch works on 1st press

Button must be held on,

Torch then works only after every 2nd press

(Tested over 12 presses - consistant result every 2nd press)

Confirm icon remains on status bar after torch off.
[Galaxy S II Android Development] ale5000:
I don't undestand what you are asking.

I mirrored just Galaxy S2 files, not all devices.
[Galaxy S II Android Development] Hamzaps:
guys please .. when i trie to install the nightly build i showing this error

i tried 2 build the 20170222 and 20170213

can you please tell me what i have to do plz
[Galaxy S II Android Development] gm0:
The reboot after holding the power button for several seconds is normal though, that's by design kinda like your PC will power down if hold the power button.

I also noticed that the torch via power button sometimes seems to work correctly right after a reboot, once you unlock the screen it stops working for future attempts. Or I might just have been lucky, will test a little bit more before filing a bug report once the bug tracker opens.

---------- Post added at 14:57 ---------- Previous post was at 14:31 ----------

Wipe system/cache/data first.
[Galaxy S II Android Development] Boolian:
Yeah I reckoned that's what was happening, with the power button, since there was no panic in the logs (just been testing again)

Thought it might override the shutdown while the torch was on (if it was actually designed such that it should be held on)

But obviously it should really just stay on or it's pointless.

Which begs the question how would you turn it off?

Tapping the power button again.

You get into tricky areas if you also have the "double tap" Power for camera option selected (acccidental camera activation)

I can see the thinking behind having a way to turn on torch with screen off, but like the camera "double tap" - I'm not a fan of assigning anything to the "Power button"
[Galaxy S II Android Development] treysis:
I think he's complaining that all other phones except S2 have nightly AND experimental build on LineageOS homepage. And he says that therefor, it should be obligatory for S2 as well to provide experimental build on the homepage.

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

I guess that's the reason why it only works on every second try: you would turn it off by holding power again. What happens now is, you can turn it on, it turns the light off but it THINKS it is still on (this is why you see the symbol as activated). If you press it long for a second time, it would probably turn it off (and if you open the drop down menu now, you'll see that the torch light symbol is deactivated again).
[Galaxy S II Android Development] dumdidum123:
While installing the SU Addon, TWRP gives me

"Updater process ended with signal:4

Error installing zip file '/sdcard1/addonsu-arm-signed.zip'

Any Solution or ideas whats the source of the problem? Space is sufficent.
[Galaxy S II Android Development] gm0:
Well, it works perfectly fine with a power source plugged in - you hold the button for a second to turn it on, then it stays on until you hold the button again (or disable it via the status bar). I'm perfectly fine with that behaviour, it's only the buggy unplugged behaviour that's a problem.

---------- Post added at 15:47 ---------- Previous post was at 15:46 ----------

Ignore it, it'll work anyway, as I must have stated 10 times by now and others have as well. Please use search/google.
[Galaxy S II Android Development] suapoc:
Is there an easy way to resize data without losing its content. My data partition currently only has 6Gb and i don't think that's enought for emulated storage... in the long run.

I don't care what happens to the stuff on sdcard0 as i want to switch to emulated storage anyway.

or is it better to wipe everything again and use the repit stuff as sugested in the emu-storage thread?

Is it possible to get rid of /sdcard0 partition or do i have to keep a small one?
[Galaxy S II Android Development] pslabakov:
Hi all

I have problem installing this rom to my i9100 .. I have installed CWM v6.0.2.7 and copied the rom lineage-14.1-20170222-nightly-i9100-signed.zip to my internal memory. After wipe data,cache and dalvik, I go and try install zip - choose zip from internal sdcard .. the result is this:

-- Installing : /emmc/download/update.zip

finding updae package

Opening update package

Installing update...

Warning: No file_contextsE3004: This package is for device: galaxys2,i9100,gt-i9100,gt-i9100m,gt-i9100p,gt-i9100t,sc-02c; this device is .

E:unknown command [log]

E:error in /emmc/Download/update.zip

(status 7)

Installation aborted

Any advice

Thanks in advance

best regards

[IMG="problem"]https://s7.postimg.org/qztt3zy3v/20170224_170905.jpg[/IMG]
[Galaxy S II Android Development] treysis:
[MENTION=4856646]pslabakov[/MENTION]

Do you have S2 international version (GT-I9100)?
[Galaxy S II Android Development] gm0:
It is my understanding that Lanchon's repit has the option to preserve your data and to either set /sdcard to a minimum size or hide it completely.

First of all I suggest updating your ancient recovery to something current like TWRP. Then, your screenshot shows you trying to flash two update.zip files, not the lineage file you said you downloaded.
[Galaxy S II Android Development] pslabakov:
Hi..thanks for your response.. I have renamed the rom to update.zip. I tries to install twrp but with no luck. This is the only recovery I was able to install using odin
[Galaxy S II Android Development] treysis:
Install TWRP as image from CWM. There should be the option to install image instead of install zip.
[Galaxy S II Android Development] LeBourrin:
[MENTION=4856646]pslabakov[/MENTION] & [MENTION=7274041]Hamzaps[/MENTION]

Lineage 14.1 need TWRP 3.0.2 to be installed. Update your Recovery.
[Galaxy S II Android Development] Nobby1960:
[MENTION=4856646]pslabakov[/MENTION]

A flashable zip version of TWRP 3.0.2-1 you find here from [MENTION=6560258]the.gangster[/MENTION], if you can't flash img files with the CWM recovery.
[Galaxy S II Android Development] suapoc:
is miracast working for anyone here?

If not are there any roms out there where it is working.

The I9100 supports wifi direct so miracast should work too...
[Galaxy S II Android Development] davidvanwijk:
I have always used ROMs from [MENTION=2222292]rINanDO[/MENTION], thanks!!

Since lineage however I've started making builds of my own. Of course I don't consider myself to be a developer, since all I do is following a recipe. Now I wonder what the difference is between my own builds and the official ones ("signed"). Can someone tell me? (If you want to test my own builds: davey_dutch on androidfilehost.com. I hope that it is okay to ask this in this thread. If not, forgive me.)
[Galaxy S II Android Development] gm0:
If all you do is compile the official sources then there's no functional difference between your build and the official one (except different certificate and thus OTA not working - if it worked) and thus no real reason to compile yourself. Self-compiled builds mainly make sense if you want to modify the code in some way.
[Galaxy S II Android Development] laptopu:
Phone randomly rebooted just now I wasn't using it screen was off then I noticed the Samsung logo. Anyone else?
[Galaxy S II Android Development] Nobby1960:
[MENTION=6305327]davidvanwijk[/MENTION]

Own builds - I find admirable. I would never trust that, I lack a lot of background knowledge.
[Galaxy S II Android Development] toy_story:
Next nightie LOS, will not solve the problem with CMFileManager !

Do not build CMFileManager

"Until CMFileManager is revamped or a suitable replacement is written, do

not include it in general builds. Basic storage activities can still be

completed with Android's built-in storage management:

1) Use the Downloads launcher

2) Settings > Storage (select volume) > Explore"

Properly operating CMFileManager, can be found here!
[Galaxy S II Android Development] davidvanwijk:
I understand your position, I did it only to find out if my own builds (made without any background knowledge, indeed) would work. Now my I9100 and my I9300 work on own builds... cool!

Verstuurd vanaf mijn GT-P7500 met Tapatalk
[Galaxy S II Android Development] Hamzaps:
i wiped the system/cache/data .. and i got the same error and now i dont have os .. i cant boot my device now

i got only the recovery

can any pro help me please ..
[Galaxy S II Android Development] Pier_89:
If I use CMFileManager script file made by you, a fixed nightly will be able to overwrite it and setting up the fixed OFFICIAL CMFileManager? Maybe your script will be permanent? Sorry, simple questions :)

Regards.
[Galaxy S II Android Development] toy_story:
Script fix CMFileManager for LineageOS

"The script for the correct CMFileManager LineageOS - a temporary solution in the LOS.

It will be overwritten each time a LOS system install.

I do not make it permanent in the hope that it will fix the official LOS night!

If after installing LOS night, CMFileManager not working properly!

Install "Script fix CMFileManager for LineageOS"!
[Galaxy S II Android Development] Hamzaps:
guys .. i was on cm13 .. i wanted to upgrade to cm14.1 i downloaded the nightly build 20170222 and gapss

i wiped the cache .system and data .. i have twrp 2.8.7.0 . i tried to install the nightly build and i got this error

and now i cant even boot my device cuz i have no Os .. got only the recovery

please help me guys
[Galaxy S II Android Development] Pier_89:
Is it the same for LockClock widget? I'm using your script and this is better than the build-in LockClock widget.

Does it still remain after flashing a new nightly?

Thank you so much man! :)
[Galaxy S II Android Development] gm0:
You sure? That error usually pops up when you try to dirty flash a different ROM. Might also be due to your outdated TWRP version though, update it to the current version first and see if that fixes it.
[Galaxy S II Android Development] Hamzaps:
now am trying to update the recovery and install the [ROM][i9100][OMS][7.1.1][OFFICIAL]crDroid Android

and i will see if it will work
[Galaxy S II Android Development] ale5000:
[MENTION=4121808]todonormal[/MENTION]: I agree but I don't have any relation with LineageOS so I cannot do anything about this.
[Galaxy S II Android Development] toy_story:
This is a system application and they will be replaced with each update LOS!
[Galaxy S II Android Development] gm0:
Actually experimentals were a one-time thing back in January, there's plenty phones without experimentals at this point. The only reason our phone doesn't have one anymore is because the other day someone deleted all builds for this phone from the server rather than just the faulty one and so the experimental went the way of the dodo. But it was always announced to be a temporary thing, anyway.
[Galaxy S II Android Development] MigoMujahid:
Your recovery is old, use TWRP 3.x, if you repit your phone already then you should flash latest cm11 first to get isorec support, then through recovery flash latest TWRP 3.0.2-1 image and reboot recovery, then wipe again and flash the rom

Note: if you didn't repit then all above talk is useless, if you aren't sure what "repit" means, then you haven't repit yet, there are guides in the development thread that can help you repit your device.
[Galaxy S II Android Development] suapoc:
Thank you, i just switched to emulated storage and it was doable even though i made some errors on the way ;D :

I used the files provided in the post of Weibl67 and somewhat followed his instructions. There was no valuable Data on my phone or on sdcard0 in particular so i just skipped anything related to backing up my data.

i realize that windows destroyed the file name of the repit.zip by replacing "=" with "_"

i try to rename it on the phone but fail because my external sdcard also uses a ****y filesystem that can't handle "=" in filenames

copy file to /sdcard0 which is formated in ext4 and can handle "=" in filenames

my first attempt fails as it is obviously a bad idea to start scripts from a partition you are about to format

repit is kind and just displays an error message that itfailed and moved the script to /tmp

hit back button, see the repit.zip in \tmp and execute it

realize that i somehow have to edit /data/system/storage.xml in twrp recovery

TIL twrp actually provides a terminal with an editor vi ;D

i mount the needed partitions via twrp

i need nearly 20 minutes to relearn basic vi and to remove the "XML attribute primaryStorageUuid="primary_physical" in Storage.xml

reboot device.... it somehow worked ;D

if anybody wants to make his life hard by using vi to edit the storage.xml file here are the basic commands:

i - to enter edit mode

ESC (is actually on the keyboard)- exit edit mode

arrow keys navigate in file

to leave vi you have to leave edit mode: (ESC)

:q - leave and discard changes

zz - leave and save changes

switching to emulated sd fixed following issues for me (LinOS-14.1-20170222-Nightly-i9100):

the explorer can finally open the (emulated )internal SDCard

storrage now displays sane values for the size of my system partition

The LinOS explorer still can't access my external SD-Card at least not without root or following the hook in storage/{non-emulated-sd}

However if you are root you can access the external sd following the hook /mnt/media_rw/{non-emulated-sd}.

but you still can't access via the other hooks to the external sd for example the one in storage.

I just realized that most of this should not be posted here but in the emu thread...
[Galaxy S II Android Development] pslabakov:
hi

i have tried installing TWRP 3.0.2-1 but i guess i am hitting the same problem

any other ideas??

thanks in advance