yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] toy_story:
Useful fixes for the LineageOS.

I am very glad that you are here!

It may be helpful to you:

Script fix CMFileManager for LineageOS

I'm writing a script to install CMFileManager (from assembly rINanDO from 29.01) to replace LineageOS file manager in the assembly 02/08, 02/13.

Script first removes not running manager, and then sets a certified manager of assembly for 29.01.

Script fix Dialer for LineageOS

If you have such a problem in the LOS of 02/08, 02/13!

"Each time when I end a phonecall (no matter if it's incoming our outgoing calls) I get a popping message that there is no reception, and the antenna shuts for about half a minute and then returns ..."

Fixed the error 4, when installing addonsu-arm-signed.zip

addonsu-arm-signed.zip can't flash via recovery. Gives an error : Updater process ended with signal: 4
[Galaxy S II Android Development] Nobby1960:
I guess he's very busy at the time. He operates AICP, RR and crDroid for the S2. I would not be able to sleep with so many projects :cool: :p

I don't use the internal browser. I recommend the gello browser from CyanogenMod/LineageOS.
[Galaxy S II Android Development] skunky90:
Is there any call recording app working for this ROM?

Thanks.
[Galaxy S II Android Development] skunky90:
Clock app not working for me =(
[Galaxy S II Android Development] bujjo53:
Waiting for next build , have small bugs with lockscreen too.. Be patient :rolleyes:
[Galaxy S II Android Development] t.e.q.u.i.l.a:
Oh, you are right. I was just joking:laugh:

Ok, I will try gello, thanks.
[Galaxy S II Android Development] skunky90:
I have kind of a battery drain.

Anyone experiencing this?

Also, how to record calls?

Thanks.
[Galaxy S II Android Development] Nobby1960:
Try first to calibrate the battery with an app like Battery Calibration, so that the values are displayed correctly. Sometimes I had too low values like 15% and a warning message in the ROM, but in the recovery there were 25% and higher.

Edit: I send a screenshot after calibration - 20 h on 84% are good with performance profile. Naturally not SOT :D
[Galaxy S II Android Development] Nobby1960:
Here is the standard radio app V3 (I mean it's from XDA?) - it works fine.

Edit: Oops, wrong thread - too many open tabs :silly: But no problem, if someone search a working FM radio app ;)
[Galaxy S II Android Development] Lexuzz89:
I get a Error7 while attempt to flash this rom :(

Anyone can help me?
[Galaxy S II Android Development] SAFI_AFRIDI:
Use TWRP

use Twrp Recovery, i think you might be using CWM.
[Galaxy S II Android Development] Lexuzz89:
Nope.. I use TWRP 3.0.0.0
[Galaxy S II Android Development] bujjo53:
Try with IsoRec TWRP 3.0.2-1 recovery
[Galaxy S II Android Development] Lexuzz89:
Do you have a link? I think this file what I have is corrupted or anything like that
[Galaxy S II Android Development] TriboDoP:
https://www.androidfilehost.com/?fid=24591000424954841
[Galaxy S II Android Development] Nobby1960:
[MENTION=5651185]GreekDragon[/MENTION]

ROM doesn't fall into deepsleep mode if the energy profile is set to "Performance". Is this a bug ore a feature? ;) See screenshots. Could you please fix this? crDroid is a wonderful ROM and runs so smooth.
[Galaxy S II Android Development] GreekDragon:
New build is up. :)

Updated ROM Sources.

Updated Device Sources.

Download

Lot of things were changed since the last update(was on january).
[Galaxy S II Android Development] bujjo53:
finally :fingers-crossed::fingers-crossed:
[Galaxy S II Android Development] t.e.q.u.i.l.a:
I turned off the annoying vibration finally :good:
[Galaxy S II Android Development] pacman7:
Thank you [MENTION=5651185]GreekDragon[/MENTION]
[Galaxy S II Android Development] hwasdin:
Hello,

I have a problem with swift hey. Every time i want to use it it crashes. Any idea how to solve problem?

EDIT: Solved - restart helped ... xD
[Galaxy S II Android Development] MigoMujahid:
You should give any app all permissions and then force close it and then open it, use it with any app you install ;)
[Galaxy S II Android Development] hwasdin:
Thanks a lot. I have another question. When i am in lock screen mode i noticed that "red" light (?) is turned on - the one next to front camera (it is used to showe picture when we're talking with someone. If we cover that red light the screen is black, and if not we can see image). But why it is turn on on lock screen?

Thanks for any help
[Galaxy S II Android Development] sniburn:
that is the proximity sensor. i think its ON so the phone will know if its in your pocket or not. if it is in your pocket when you recieve a notification then the screen will not turn on. sort of a way to save power i think.
[Galaxy S II Android Development] hwasdin:
Hello,

My "Tip" for those who has fast battery drain:

1 - Use Battery Calibration (only once, after installing ROM)

2 - Use Greenify Application (Add widget on desktop - add all progams (except keyboard/messenger) )

3 - Use Force Doze (Disable notifications)

/Enjoy
[Galaxy S II Android Development] sniburn:
is there a way to remove the number lines on the keyboard?ive tried everything in keyboard settings but i cant get rid of it.. my home button is bust so im using navbar, witch makes the keyboard looks so big. our screen has a very small real estate already i dont want the keyboard eat some more of it when typing.
[Galaxy S II Android Development] lexus46:
Try other N rom which doesn't have the number line. I use RR rom and I wish to have the number line, but it hasn't.
[Galaxy S II Android Development] Nobby1960:
[MENTION=7364161]sniburn[/MENTION]

The easiest way is to install the Google Keyboard from Play Store and set this as default.

---------- Post added at 03:58 PM ---------- Previous post was at 03:54 PM ----------

You can extract this keyboard from crDroid with the app APK Extractor and replace the default keyboard in RR ROM. It's a bit tricky but it works.
[Galaxy S II Android Development] MigoMujahid:
You can adjust the height of the navigation bar and also make the screen size bigger and make the font larger, that can make you feel like you're using a bigger phone..
[Galaxy S II Android Development] sniburn:
nav bar already set to smallest size and dpi to small(?)..but its ok now i have installed Gboard from playstore,.
[Galaxy S II Android Development] Switch123456789:
Substratum/OMS issues

Is it normal that Substratum runs in legacy-mode and can't apply themes in this ROM? I thought "OMS" in the Title means it would work. I'm running a fresh installation of this ROM without GApps. Am I the issue or the ROM? :confused:
[Galaxy S II Android Development] bujjo53:
Rom issue ?
[Galaxy S II Android Development] MigoMujahid:
Hi

It's weird, happened to me in AICP as well, probably their new update doesn't work anymore for us..or our roms need to be updated somehow
[Galaxy S II Android Development] bujjo53:
Try resurrection remix latest build
[Galaxy S II Android Development] lexus46:
Yes, on RR rom Substratum works, but it takes a year to set up and apply a theme.:rolleyes:

---------- Post added at 09:31 PM ---------- Previous post was at 09:25 PM ----------

You returned to me my idea, but thx enyway. In fact I allready did it, but got an error message loop from keyboard and I had to reflash the rom. The trick which worked with cLock, with keyboard didn't.
[Galaxy S II Android Development] Switch123456789:
At the moment I playing around with AICP and Substratum, version 563 is working flawlessly (no legacy-message / themes are applied). Version 604 doens't work on any Rom for me. Nonetheless, in crDroid no Version is working. :eek:
[Galaxy S II Android Development] Nobby1960:
How to install crDroid keyboard in RR ROM

Indeed, now I recognize your name - sorry :) I will check it out for you in the next days. The AICP keyboard works fine in crDroid.

Edit: It's a simple thing - now here we go ;)

First take your root filemanager. Copy the attached file in the folder system/app/LatinIME - the original file will be overwritten (or copy it out of the folder as a backup). Reboot your phone and voilà :laugh: Here is the keyboard with the number row from crDroid and works perfect. Have fun!
[Galaxy S II Android Development] MigoMujahid:
Well, i think i will stick to an older version of substratum till we get some tip about the problem
[Galaxy S II Android Development] lexus46:
Serious? The LatinIME app is the keyboard app? If it's an apk, can I simply install as an update? Do you know some Marshmallow rom with similar keyboard to extract this apk from? I still use AICP MM rom for the moment because I don't like Nougat yet and I want that keyboard for MM. And I think this one what you uploaded doesn't work with MM. Thx in advance.

Edit: Yes, definitely not works on MM.
[Galaxy S II Android Development] Nobby1960:
Oh, sorry - that was a big misunderstanding. I had overlooked "Marshmallow" :silly: Now I realize why this does not work with your ROM. The keyboards are not downward compatible. But you can try it with the Google Keyboard (Gboard). So you can add the number row, if it runs correctly with MM.
[Galaxy S II Android Development] lexus46:
No-no, I want that keyboard on Nougat too when I shall switch to Nougat rom. But I tryed the file you attached an hour ago (I installed RR 5.8.2 just for try) and overwrited just like you told me, but didn't worked for me, sorry. After reboot, the keyboard didn't show up when I tried to write a message. Then I simply installed the apk like an update for system app and reboot. After that I got FC message every time I tried to write something. For now I shall try Gboard. Thanks.

Edit: Gboard works well on MM and looks good for me. Thx again for hint.
[Galaxy S II Android Development] Nobby1960:
Strange thing, here it worked on the first try, latest RR build. Fine that Gboard solved your problem.
[Galaxy S II Android Development] toy_story:
[i9100] Useful fixes for LineageOS 14.1 [7.1.1]

Adding and fixing in a new format, for [i9100] Useful fixes for LineageOS 14.1
[Galaxy S II Android Development] droidbaker:
Upgrade steps from 4.4.4 and Radio for I9100?

Hello guys,

I have UK version of I9100 and I'm still on Slimsaber 4.4.4. I want to upgrade to crDroid Nougat.

I'm thinking about these steps:

- backup current systems, apps and EFS partition.

- Upgrade TWRP

- Change PIT

- delete all system partitions

- install crDroid and reboot

- install gapps and reboot

Have I missed anything else?

I understand Xposed is not supported on Nougat yet, so I won't even try it.

Also I would like to ask - what about radio firmware? Is it included in the ROM or do I need to load new radio as well?

I understand this phone is not supported by mobile companies for a while so if I need to upgrade radio firmware which one would you recommend for UK and crDroid/Nougat? And is it possible to backup current radio firmware before I upgrade it?

Thank you!
[Galaxy S II Android Development] lexus46:
Hi. The steps you wrote are correct, but at the first page of every custom rom's thread you can read about. But I don't know if these roms work on your version of I9100 and not only on international variant.

And as I know KitKat Radio app won't work with Nougat. Try this: https://xdaforums.com/showpost.php?p=71147333&postcount=112 thanks to Nobby1960. Or you can Google for Spirit FM2.
[Galaxy S II Android Development] droidbaker:
Thank you lexus46, but by "radio" I actually meant modem firmware. I would like FM radio to work, but first I need to make sure I can make calls and I have 3G connectivity... See this - https://xdaforums.com/galaxy-s2/general/ref-samsung-modem-ril-cwm-installers-t1881304 I know there are different modem versions for i9100 but I wonder if you can recommend any particular one for Nougat (and UK) and also how can I backup current one? Also I'm not sure about those RIL files for Nougat?

Thank you!
[Galaxy S II Android Development] lexus46:
I think you should flash this: https://xdaforums.com/galaxy-s2/development-derivatives/recovery-twrp-3-0-0-0-t3330457 thx to arnab or this: https://www.androidfilehost.com/?fid=457095661767143701 thx to the.gangster or Google for AOSP-LP-Kernel+_25-08-2015_TWRP-2.8.7.0.tar and flash it with Odin. After that reboot in recovery and make a backup (boot, system and data), repit with this: https://xdaforums.com/galaxy-s2/development-derivatives/mod-increase-partition-size-t3011162 thx to saber, after that you can flash the N rom you want. As I know crDroid is pretty stable for daily usage and the things you want are working. Or there are other N roms like Ressurection Remix, AICP, XenonHD, OctOS... Having the backup you can safely try any rom you want.
[Galaxy S II Android Development] MigoMujahid:
Modems for UK starts with XX---, you can try XXMS4 or XXMS3 modems, or also some users from UK say that BVLP7 works good for them, look around here at this awesome collection ;)

Ps: yes you can simply flash the modem from recovery and reboot without wipe at all, even in nogut :)
[Galaxy S II Android Development] GreekDragon:
New build is up. :)

Updated ROM sources.

Updated Device sources.

SELinux is now permissive.

Download

The new update comes with magisk included. Unfortunately magisk doesn't work for our device. However, you're welcome to flash this SystemMode SU version https://xdaforums.com/apps/supersu/v2-64-2-66-supersu-mode-t3286120
[Galaxy S II Android Development] droidbaker:
GreekDragon - I want to thank you for all your hard work. I managed to install previous build and I really like Nougat and all the crDroid features - I'm looking forward exploring them. It feels like a new phone :)
[Galaxy S II Android Development] sniburn:
ive updated from yesterdays update and it works fine but no root..installed systemode SU then0 i got bootlooped..

any update?
[Galaxy S II Android Development] pacman7:
Thank you [MENTION=5651185]GreekDragon[/MENTION] for all your hard work.

Regards.
[Galaxy S II Android Development] Nobby1960:
Try to flash Super SU with the ROM from here. Take SR3, the latest build. Maybe it works like in the latest AICP build from [MENTION=5651185]GreekDragon[/MENTION].
[Galaxy S II Android Development] sniburn:
thats what ive flashed.sr3 latest build it never boot...i have reverted back to the build prior to latest.:good:

ill upgrade if everythings stable.:laugh::fingers-crossed:
[Galaxy S II Android Development] droidbaker:
SuperSU questions

I'm still on previous build crDroidAndroid-7.1.1-20170302-v2.2 and I also noticed that when I installed superSU under my version I got into boot loop. I understand that this is now resolved in v2.5 by setting SELinux into permissive mode. Is it worth to lower the security in order to have superSU? TitaniumBackup works even without superSU (it displays warning about SU version, but it works).

What are the features of superSU you use/need which prevail over SELinux security mode?

And btw - once system boots with superSU installed - can be SELinux changed back to enforcing mode?

---------- Post added at 11:14 AM ---------- Previous post was at 10:39 AM ----------

I have a few more questions:

- I tried to install kernel Adiutor and limit max frequency to 1Ghz as well as I tried to undervolt by 5mV in all modes (btw it has a bug so I could not do more) and I set I/O scheduler for both SD cards (internal and external) to noop and it make phone less "hot" when on full load, but I have not measure batter life. Can you recommend any tips for Nougat/crDroid battery life improvements? I would like to see battery usage graph more flat - especially when phone is locked and screen is off. Any hints?

- I'm using Google Launcher - is it possible to to move "app button" (6 dots in the circle) located in the centre of the bottom bar to the right side? I have not found a way to move it - is there any?

- Is it possible to disable tile "caption" or text below the quick settings tile in expanded view? Ex I do not need text "Wi-Fi" under the icon - I know that it is.

- Is it possible to change display type in notification drawer to left-right from current top-bottom?

(I know for last 3 questions I can install Nova, but I would try to customize Google launcher if possible)

Thank you!
[Galaxy S II Android Development] Nobby1960:
Try to flash the Lineage SU, which should run. If you get an error message at the flash, you can ignore. The SELinux mode you can switch in developer settings.
[Galaxy S II Android Development] lexus46:
Hi droidbaker! I managed to increase about 30-40% my battery life using the built-in wakelock blocker ( I don't know if your version of rom has it, usually does). Wakelocks are the most energy-eaters when screen is off and the phone is supposed to be in deep-sleep (and, of course, wi-fi and location services).
[Galaxy S II Android Development] droidbaker:
batter life

Hello Lexus46, thank you!. Yes, crDroid has Wakelock blocker under settings/crDroid/Miscellaneous. I have experience with Wakeloks tuning from Slimsaber and Amplify under Xposed framework where I could tune frequency how often each wakelock can wake the system. There were also some recommended values. With crDroid Wakelock blocker it seems I can only disable them.

Anyway - can you please advice which wakelocks you disabled in Nougat?

I remember from my previous tuning that for example when setting GPS related wakelocks to too high value, my navigation became not precise as it could not detect granular position, so I had to set them back... So there can be side-effects which you may not notice immediately (for example until you use navigation), so the best way would be the list and description of each wakelock which is safe to be disabled.

Do you have it or provide the link?

Thank you!
[Galaxy S II Android Development] lexus46:
Hi! About wakelocks read this:https://xdaforums.com/showthread.php?t=1827676 and this: http://www.nairaland.com/2998319/major-causes-battery-drain-android. And you can read this too: https://xdaforums.com/android/general/guide-extreme-battery-life-t3095884. And here is an older but useful post: https://xdaforums.com/showthread.php?p=37979333#post37979333
[Galaxy S II Android Development] sniburn:
im on crdroid and im wondering if what is best to block in the wakelock blocker app..ive read the posts you mentioned and its kinda out of my league to process xD
[Galaxy S II Android Development] lexus46:
Well, you have to identify wakelocks belonging to the apps you use and don't block them (eg. GPS, media, weather or whatever you use). And, of course, don't block phone or mesagging app wakelocks.
[Galaxy S II Android Development] skunky90:
How to record calls on this ROM? Under apps I see a component that should possibly do the trick but I don't have any option to record voice calls ... help?
[Galaxy S II Android Development] lexus46:
Usually during call there is an option to record call. Make a call and see what options you have.
[Galaxy S II Android Development] skunky90:
I did but there is no such option.

[MENTION=5651185]GreekDragon[/MENTION] any input on this?
[Galaxy S II Android Development] Nobby1960:
[MENTION=8052153]toy_story[/MENTION] has developed a dialer app script fix, which allowes to record calls in every country. In some countries are call recordings forbidden, you use it at your own risk. Look here under "Script fix Dialer for Lineage OS".
[Galaxy S II Android Development] skunky90:
I did install the call recorder script. It records the call but the other side of call is in such low quality you can hardly resemble what other person is talking. Pretty much useless.
[Galaxy S II Android Development] Nobby1960:
You're right, I've tested the script for myself today. It seems that the caller voice is recorded via the upper microphone from the ear speaker. The sound quality is very poor and low. I don't know how the original dialer app with the recording option works. I unfortunately can't try it out in our country.
[Galaxy S II Android Development] skunky90:
I think this is kinda of cool feature to have so if we can help in any way, [MENTION=5651185]GreekDragon[/MENTION] let us know.
[Galaxy S II Android Development] bujjo53:
R.I.P crDroid ?
[Galaxy S II Android Development] MigoMujahid:
it's really hard to maintain so many ROMs by one person, and add to this the responsibilities of real life.

GreekDragon must be very busy these days.
[Galaxy S II Android Development] MacLeod100:
Thanks it really works :svetius: I hope the dev it will remove magisk in the next build it sucks :(

---------- Post added at 08:20 AM ---------- Previous post was at 08:16 AM ----------

Yes you are right :svetius: The dev is doing it 4 free and in his free time . I really don´t like when some " smart " ppl are complaining or asking 4 updates :(
[Galaxy S II Android Development] Lughsen:
Amazing Rom. Fast, smooth, stable as 6.x version, battery friendly, tons of optimizations...

I was in DU and now i have a new no-way-back ROM

Thanks [MENTION=5651185]GreekDragon[/MENTION] for your great job.
[Galaxy S II Android Development] SuperJackDevil:
How do I install it?

To have if I understood (I am new in this)

I downloaded the custom rom and google apps as it says in the instructions, I save the two files in the SD memory and restart with recovery, in the recovery I delete the wipes and install the rom and then install the google apps and restart at the end or before Install the rom?

I have a Galaxy S2 with C-Rom kk v7 20140633 android 4.4.4 and I would like to upgrade
[Galaxy S II Android Development] lexus46:
You have to restart after installing everything, but first at all you have to repartition the phone's internal memory to be able to install Nougat. Read this: http://xdaforums.com/galaxy-s2/development-derivatives/mod-increase-partition-size-t3011162. After that you have to install latest TWRP isorec recovery (https://xdaforums.com/galaxy-s2/development-derivatives/recovery-twrp-3-0-0-0-t3330457) and only than you can proceed to install Nougat rom and Gapps. Success!:good:

By the way: in recovery you don't delete the wipes (there isn't such a command), you have to wipe system, data, cache and dalvik. Just select Advanced wipe and check these four checkboxes than swipe to confirm..
[Galaxy S II Android Development] GreekDragon:
New build is up! :)

Download

You guys want a changelog after 3+ months? nah.

Thanks to [MENTION=4258086]firebird11[/MENTION] for building it.
[Galaxy S II Android Development] bujjo53:
Finally ? thanks
[Moto Z Play Questions & Answers] GoodOldRebel:
was rooting my phone with chinees twrp so far so good twrp was working now

So i flashed the super user file and i did not get into android so i think i wipe everything and use diferent superuser file.

I accedently wiped EVERYTING now i have only acces to fastboot and TWRP flashing original rom doesent work over twrp.

Been searching for hours now tried everything even flashing the zip manually but works only for part i get into loop erase reboot erase reboot.

Anyone here that can help me with this problem (maybe a TWRP backup file mine is bye bye after wipe)

Sorry for the bad english (i am from netherlands doing what i can)
[Moto Z Play Questions & Answers] andy55:
You have to flash through fastboot not twrp, unpack zip in adb folder and flash
[Moto Z Play Questions & Answers] turkobr:
You can use rsd lite to flash the firmware. Just point it to flashfile.xml and wait for it to complete.

Enviado de meu XT1635-02 usando Tapatalk
[Moto Z Play Questions & Answers] GoodOldRebel:
I try rsd lite again hope this time it works last time 3 seconds it was done not really.

When I get home I will be at it again any tips are welcome

Thx wil let u know how it goes.
[Moto Z Play Questions & Answers] uberano26:
You can also manually flash each file in the correct sequence
[Moto Z Play Questions & Answers] GoodOldRebel:
I try'd the manual way just reboots into fastboot

and rsd lite does not find my phone.

Any help is welcome
[Moto Z Play Questions & Answers] GoodOldRebel:
problem solved i did manual flash but not in order stated above here but how it was in the flasfile.xml

Thx all hope i can help someone to in future
[Mate 8 Q&A, Help & Troubleshooting] bynozor:
Why does my navigation bar LOOK this way

I didnt even want to change it, it chqnged itself

Its so annoyin in The settings menu... Help