yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] toshibashi:
You're certainly wright. I already made e fresh Lineage installation on my second i9100. Now I want to clone all my apps and data to it before I wipe my device currently in use.

Seems Titanium doesn't like me. It would never restore more than 3 or 5 apps from my batch of 75. Could you please be more detailed about the GApps backup/restore option?

TIA

Toshibashi

ps

I can't find any backup/restore app in the Open GApps wiki or FAQ.

pps

'It is possible to perform a “backup” of the Google apps on your device and then “restore” them' (https://wiki.lineageos.org/gapps.html)
[Galaxy S II Android Development] Boolian:
In Titanium ensure backup location is set as 'Document provider storage' & grant permissions.

In Titanium settings 'Batch actions' - Verify all backups.

Remove any which fail and do a fresh backup.

Verify backups again.

Try a batch restore of 10 apps at a time.

I have experienced some random apps which are a problem and cause Titanium to 'hang' - cancel the restore (sometimes requires a 'force stop'

Exclude any you find which hang from the batch restore and try again. Continue in batches of 10.

With luck, at the end you may only have two or three problem apps - Exclude these from any future 'full backup' (app & data) and backup those as 'data only' in future and reinstall the app manually (Play Store or apk)

This solved my TiBu problems and I can batch restore 70+ apps without problems. I recommend verifying backups regularly as some corruption can occur randomly and cause a batch restore to hang.

Good luck

End of O/T
[Galaxy S II Android Development] cristihan:
Hi, you don't need such a huge battery for S2. Buy one like the one in the attached picture or this from eBay: https://www.ebay.co.uk/itm/2880mAh-...516499?hash=item23964d7ed3:g:DxQAAOSwTQtaJZJ5.

Same size as the original one but much more powerfull.
[Galaxy S II Android Development] Boolian:
Yeah, about that... For cheapness they may be better than an old hard worked original battery, but at best it's the same capacity - if you're lucky.

They are generally re-wraps of reclaimed batteries / cheap clones. As such, they will be under 1650mah and degrade quickly ( "Genuine" items shipped with 'original' packaging and hologram stickers are seldom original either)

No-one is squeezing more power out of the original form factor. Certainly not 2000mah+
[Galaxy S II Android Development] cristihan:
Hi,

Are you so sure it's not good quality? They are made in Japan and are "Lifetime replacement guarantee".

https://www.ebay.co.uk/itm/2880mAh-...516499?hash=item23964d7ed3:g:DxQAAOSwTQtaJZJ5

I use one of these and the difference from the original battery is huge. . . I mean increasing the usage time of the device.
[Galaxy S II Android Development] gm0:
With Gapps installed the Backup & Reset page in settings should have some options to backup your data to Google's servers. Once you connect a new phone to the same google account it should offer to restore your apps & data.

I don't have gapps installed myself so I can't give you the exact name of the options but they shouldn't be hard to find.
[Galaxy S II Android Development] Boolian:
I'm only saying the capacity is unlikely. But if it works for you and is cheap good.

It may well be the same capacity as the original (up to 1800mah) but not much more. Compared to using an original, degraded, 3-4 yr old battery I would expect it to do well.

The Polarcell for the Galaxy S2 claims around 1800mah maximum and weighs 33grams. (I think the original was around 33grams also) Yours needs to be a lot heavier than that if it really did manage 2880mah.

It's possible to squeeze a bit more 'material' and capacity into the same form factor, but at the expense of Mosfets etc circuit protection. Which is why 'fake' or low quality batteries degrade quickly or swell up (or catch fire) But if they are cheap buy another.

Anyway this is really o/t hardware discussion. So I'll leave it there.
[Galaxy S II Android Development] pcercuei:
I updated from 2018.01.10 to 2018.01.31, and now I don't have audio through my headphones anymore. Speakers work fine. Looking at the changelog there has been some audio-related changes. Can anybody reproduce?
[Galaxy S II Android Development] max6698:
I haven't tried that exact battery, but I tried several other non Samsung batteries which claimed to have lots more capacity. They were all duds. They seemed to lie about the charge they had. They would appear to be nearly full for a long time, as if they actually were high capacity batteries, but then the charge would suddenly plummet. I finally bought a genuine Samsung replacement and I couldn't be happier. I get 24 hours plus with light use and not many apps installed.
[Galaxy S II Android Development] toshibashi:
My free version can't verify backups - missing HyperShell :(

I eventually managed to start the 166 apps batch restoration. I had to manually confirm every single app. Why do they call it batch mode?

The "batch job" hung at the Calendar app. I had to exclude Calendar and repeat the whole batch. Next time I'll install everything new and use Titanium only for apps with really valuable data that would otherwise be lost.

BTW, I had to do a fresh install for Nova Launcher. The one that came with Lineage OS (or with the GApps?) had some ugly dark shadows at the top and bottom edges of the home screen that I couldn't get rid of otherwise.

Thanks for your support.

Best regards,

Toshibashi
[Galaxy S II Android Development] guest4711:
Nova launcher is neither part of LOS (Trebuchet is the default launcher) neither part of GApps (PixelLauncher may be included).
[Galaxy S II Android Development] toshibashi:
Thanks for clarification. Can't remember how and when I installed Nova (nor why :) ).
[Galaxy S II Android Development] Boolian:
Glad you managed some results.

I'd recommend the paid version of TiBu if you can afford it. Verifications, Full batch jobs without individual clicking on restore and many other benefits. Its features have become part of any OS for me, even if it is still hideously ugly

;)

If you want smaller backups in future, do Data only and install fresh from eg Gapps or Apk.

Nova launcher settings/desktop/advanced/Show Shadow was probably what you were looking for to fix your screen.
[Galaxy S II Android Development] toshibashi:
Perhaps my problem was I didn't Read The F***ing Nova Manual :)

I only discovered the Nova settings by chance last night when I already had installed the new one.

Thanks again.
[Galaxy S II Android Development] toshibashi:
Last OTA update failed and I had to do a fresh install. Lanchon-repit, ROM, GApps, AddonSU and DorimanX kernel. Now I'd like to (no, I really don't like it) run Titanium again but I can't get root permission: ADB only :(

Flashed AddonSU again, no change. Seems I'm stuck without root.

update:

although I was advised to flash AddonSU with ZIP signature verification and to ignore the error message I tried again without it - I'm rooted! :)
[Galaxy S II Android Development] avtandil33:
Dear guru!

From time to time I wave a warning that app xyz is not answering with offers to wait for app's answer or to close the app. Is it possibe to disable this dialog or at least to increase timeout before it comes?
[Galaxy S II Android Development] toshibashi:
I was able to restore most of my apps and data with Titanium Backup, all one by one, only skipping some things I don't either need or understand.

I replaced the Android file manager by RootExplorer but it seems RootExplorer is not the default file manager yet. It won't open downloads or messages from the notification bar. How can I make it default?
[Galaxy S II Android Development] Teekanne3000:
[MENTION=2222292]rINanDO[/MENTION]

Hello, excuse me for asking,

compared to Cyanogenmod 13 WhatsApp's microphone volume is very low. Is it possible to increase it the way it was in cm 13?

greetings

Teekanne
[Galaxy S II Android Development] Boolian:
Settings/ Apps/ RootExplorer/ Open by Default - choose preferred options
[Galaxy S II Android Development] toshibashi:
everything greyed out
[Galaxy S II Android Development] Boolian:
Pass.

Maybe the app isn't supported or has some other idiosyncracy, I'm not familiar with it. I'm sure it at least supports "Open With"

Have a look around Settings / Apps/ * gear icon/ Configure Apps

Or last resort with the 'dot menu' reset app preferences.

Or possibly copy the rootexplorer apk into /system/priv-app/DocumentsUi (remove or append .bak to the DocumentsUi.apk first) - but to be honest that's not something I've tried or recommend.

I don't have a 3rd party file manager so integrated it launches when another app requires file picking (I'm happy to leave that to DocumentsUi manager) If that is what you are trying to achieve?

I just manually launch my preferred File Manager when browsing the file system (though it does support being the default)

Pass to someone else?
[Galaxy S II Android Development] toshibashi:
That's what I did, now it's greyed out.

I restored DocumentsUi manager but I don't like the UI. It's a waste of display space, or maybe I'd better get bigger smartphone for it. I like RootExplorer so much more. Why can't I have a fully integrated replacement for DocumentsUi manager that has RootExplorer's look and feel?

It seems my LineageOS 14.1 installation is now complete and runs pretty stable in my second i9100. Thanks to all who made it work! Now I can think of a new start with my screwed first i9100.

Best regards,

Toshibashi

---------- Post added at 03:10 AM ---------- Previous post was at 02:41 AM ----------

New Question:

I'm using the Google microphone a lot, I don't know whether it's called Google Now or Google Assistant. I was glad I could use it without the microphone-on and microphone-off beeps. I would only feel a very short vibration instead (duration and intensity like what they call "haptic feedback"). That was until last week, now the vibration is gone and replaced by beeps.

From what I googled the great majority of voice-search complaints was from users who experienced the contrary, the unsolicited replacement of sound by vibration. I would be happy that way since I'm using voice search in noisy environments as well as in situations where I don't want to disturb others, eg. my sleeping wife early in the morning or late at night.

Dear Google: I want my microphone vibration back!

Best regards,

Toshibashi
[Galaxy S II Android Development] rsap:
Hi guys,

after I found out that the SGS II LineageOS port uses a "shim" RIL library for compatibility reasons, I thought this was a good opportunity to place the code for the Bluetooth SIM Access Profile (rSAP) from my app there. The Bluetooth layer is already contained in the Android code base and only needed to be activated.

I added the code to the android_device_samsung_galaxys2-common repository in Gerrit. Maybe someone likes to test and review it?
[Galaxy S II Android Development] dasBroetschen:
phone reboots while charging

Hey guys, I've sucessfully upgraded my stock S2 I91000 with this tutorial.

https://xdaforums.com/galaxy-s2/help/guide-tutorial-samsung-galaxy-s2-i9100-t3538601

So I have the TWRP Recovery, the Dorimanx Kernel, the latest nightly build of LineageOS 14.1, the FSteaks-App installed and set the CPU OC Frequency only to 1,4Ghz value.

So I really followed every step on the tutorial.

But I have one really huge issue: while charging the phone, it will randomly suddenly reboot without touching it. So when I unplug the cable and use it, it's absolutely stable. As soon as I plug back the power it will start over again with the random reboot/reset times. It does not matter if I use the phone in that moment or its sleeping and charging, everytime the power is plugged in, it will do this.

I personally think it is related to the rom, but feel free to upgrade my knowledge :D
[Galaxy S II Android Development] guest4711:
Is your battery running hot while charging? Could be a Problem with your battery or the power supply (current/voltage too high for your battery).
[Galaxy S II Android Development] toshibashi:
You could try a different charger. And please post a screenshot of your battery-charge diagram before reboot if possible.
[Galaxy S II Android Development] toshibashi:
SOLVED! :D SOLVED! :) SOLVED! :) SOLVED! ;) SOLVED! :victory: SOLVED! :D SOLVED! :) SOLVED!

I only had to de-activate Nova Launcher under Services in Accesibility settings - that's it.

And, of course, this also works the opposite way. So (in the rare case :) ) anybody feels bothered by the short little vibration just activate the Nova Launcher service in Accesibility.

Best regards,

Toshibashi

EDIT:

I realized that any activated service in Accesibility settings will de-activate Voice-Search vibration.
[Galaxy S II Android Development] dasBroetschen:
Yes, it will get really hot.

I think it is solved. The usb port itself is a little bit "out of fit", so the plug can move a little bit up and down.

That wasn't any time a problem under stock rom , but on Lineage OS it will do this reset-bug. If I do circle the cable around phone while charging, so it stays on its fixed position, everything works fine without crashing!

But now in the daily usage I had the same microphone WhatsApp problem as "Teekanne":

In voice recorder and calls, everything is absolutely hearable, but in WhatsApp voice records it's even on loudest output volume setting hard to understand what I'm talking.

Is this a known bug that can be fixed manually or is there a fix for this?
[Galaxy S II Android Development] avtandil33:
Dear all!

Does anybody see my posts?

I put already several questions, but never had any feedback...
[Galaxy S II Android Development] gm0:
Yes, we can see your posts.

Your last post asking about ANR timeouts the answer is no, you'd have to change the timeout in the source code and then compile and flash your own version of it. The better option is to talk to the app developer. Such timeouts typically come from bad code (single threaded spaghetti code).

Your post before about bad cyrillic sorting in one of the system menus is something to submit as a bug report at https://jira.lineageos.org/projects/BUGBASH/summary

I didn't check earlier posts.
[Galaxy S II Android Development] avtandil33:
Many thanks for reply. Re bad sortings I will try to make a bug report.

Re timeout - maybe we can do this configurable in the future, as from time to time this dialog appears and that is annoing so much...
[Galaxy S II Android Development] gm0:
That dialog is important though, it prevents a single badly written application from locking up your system. While the timeout could be made configurable of course, the 5 seconds it is currently set to is basically an eternity. You should never see this dialog during normal operation.
[Galaxy S II Android Development] dumdidum123:
Is there any way to permanently remove the continuously upcoming reminder in the settings, which wants me to enable a lockscreen and to enable this auto-unlock feature when i am carrying my device? Many times, when I open the settings app, there is always this option added as the first in the list. I always click "hide", but it comes back after a few days. I don't want a lock screen and I don't want the other features, which are recommended to me :D
[Galaxy S II Android Development] aminya:
Clean flash to resolve Permission Nightmare

By clean Flash, you mean wiping data in addition to cash? :confused:
[Galaxy S II Android Development] guest4711:
Yes, wipe system, cache, dalvik and data before installing your ROM.
[Galaxy S II Android Development] MagMerlin:
Hello all. Anyone have my problem with this ROM? Microphone not working with WhatsApp and Skype. In LOS 15.1 is working, only low volume in WhatsApp. Ty
[Galaxy S II Android Development] BenjyTec:
People reported low WhatsApp volume on this ROM, e.g. Teekanne3000. About mic not working I don't know.
[Galaxy S II Android Development] r4Rok:
Hi, can anyone please advise, which of the two REPIT files should be downloaded to re-partitioning i9100 International:

and, if the following REPIT files name is correct Or suggest the BEST to repartition to ext4:
[Galaxy S II Android Development] guest4711:
It depends on your needs. If you don't use bigger g-apps 1GB for system is fine. Whether it is better to put free storage to data or to sdcard is hard to tell: Putting it on data gives you more room for installing apps while putting it onto sdcard gives you more room for pictures and music and other data not stored in /data/user/...

SO I'd prefer the 2nd zip you mentioned.
[Galaxy S II Android Development] the.gangster:
First:

the scripts are device specific! So you cannot use a i9300-zip on a i9100 at all (which should answer question one already)

Second:

What partition do you want to "repartition" to ext4? (btw it's formatting. And unless you never changed it in the past it would be the default for all the partitions except sdcard. But there you did not add the required parameter.)

Last not least:

Maybe you should have a look at the repit-docs once more or at least use this thread.

Since (as guest4711 already hinted at) the "best syntax" is always depending on what you want to achive. So staying a one ROM and just trying to move free space to another partition where you lack it will result in another syntax as preparing a phone for installation of that (or another) ROM.
[Galaxy S II Android Development] r4Rok:
Thanks, the i9300 was added mistakenly. Here's my current i9100 Internatioal partition, do you think it's good to go with LOS 14.1 + May be (Oreo) in future with pico gapps:

/system 1G --> ext4
/data 6G --> ext4
/sdcard 0 --> 7.5G vfat
/preload --> 256M --> ext4 (no exactly aware at present)
[Galaxy S II Android Development] guest4711:
Looks ok for me. (But sdcard0 is an external sdcard, isn't it? And what's about cache partition?)
[Galaxy S II Android Development] the.gangster:
1GB system is ok for your intension to go with LOS14.1 and pico GApps (up to a customized version of full-gapps). Also Oreo with pico should fit.

Where did you get that preload size from? Rather unusual. Stock was 512MB but was no longer used ever after (exception:Dorimanx kernels) so you could set this to min and use that space for sdcard. Don't ask how. I already linked you to the docu and the help-thread.

It is not! It's internalSD.
[Galaxy S II Android Development] guest4711:
You're right.
[Galaxy S II Android Development] Abels2:
the internal memory goes to sdcard and the external sdcard1

the internal one can also be found as mmc depending on which recovery you have

Do you think you can launch a modified kernel for this version of android?
[Galaxy S II Android Development] stevarino:
I have the same problem but unfortunately no sulution for it
[Galaxy S II Android Development] r4Rok:
No, it's internal sdcard, the external sdcard is described as sdcard1.

256M preload...I don't exactly remember, but it was some PIT file that I had flashed via ODIN about a year & half back.

[MENTION=6560258]the.gangster[/MENTION], I am not going bother anyone more about the config or help...I have fully read the docu and the thread. This is what I am running from my TWRP:

lanchon-repit-20170115-system=1G+wipe+ext4-data=6G_wipe+ext4-sdcard=max+wipe+ext4-preload=min+wipe-i9100.zip

Or,

lanchon-repit-20170115-system=1G+wipe+ext4-data=7G_wipe+ext4-sdcard=max+wipe+ext4-preload=min+wipe-i9100.zip
[Galaxy S II Android Development] toshibashi:
I've flashed

lanchon-prefered-djibe-repit-20170115-system=1G+wipe-data=max+wipe+f2fs-sdcard=2G+wipe+ext4-preload=min+wipe-i9100.zip

lineage-14.1-20180207-nightly-i9100-signed.zip

open_gapps-arm-7.1-micro-20180113.zip

Kernel_Dorimanx-V13.0b005-[11-23]-[26-08]-LOS14.1-SGII-SABER-signed​

in that order.

My 1GB /system folder holds 765.61 MB of data and 232.29 MB of free space, /data is 10 GB big, 2.62GB used.

Using Titanium Backup I copied many installed apps+data from my other i9100 phone. However, I had to dispense of a couple of bigger apps to make the system run more or less smoothly . If I give /system 2GB I would get more space for apps, right?

Is this advisable? I'm talking about my other i9100 as my next flashing candidate.
[Galaxy S II Android Development] Kurt Krummbein:
No, if you give 2gb to /system, you have more useless free memory in /system, apps are installed to /data (/system is mounted read-only and only filled via flashing in recovery ;) ).

Gtz

Kurt
[Galaxy S II Android Development] r4Rok:
That's very correct. I don't forsee any benefit going beyond 1G for /system. However, /data should be bigger as it holds all the user installed apps.

---------- Post added at 09:06 PM ---------- Previous post was at 09:04 PM ----------

Why you formatted /data as f2fs instead of ext4?

---------- Post added at 09:07 PM ---------- Previous post was at 09:06 PM ----------

Why you formatted /data as f2fs instead of ext4?​

​
[Galaxy S II Android Development] toshibashi:
I followed DJBE89's guide:

Trying EXT4 didn't work but I'm not sure EXT4 was to blame.

---------- Post added at 10:25 PM ---------- Previous post was at 09:59 PM ----------

I had installed about 80 apps and everything was terribly lagging, almost unusable. It felt like being short of memory somehow. As I said, I deleted some fat apps and now with only 75 apps it seems ok. But I'm missing some of my favorites :(
[Galaxy S II Android Development] Abels2:
you must first verify that the rom support F2FS as soon as EXT4 you would have to use the Trimmer app
[Galaxy S II Android Development] toshibashi:
I think it does support f2fs since it works. What is Trimmer and what can it do for me?
[Galaxy S II Android Development] the.gangster:
yes, and I assume that pit was created without knowing how partitions are handled.

You're not bothering me with those questions. (The only thing I would prefer is to ask questions to Repit in the thread I already linked)

I guess I first read a version with system=1.5G which would be fine for full or even stock GApps packages.

LOL, no! ext4 is default for /data. But as I don't want to check what has been modified in that "personalized" repit version I can only speak for the original repit.zip and tell you that it works.

And to both of you:

as you are formatting some of the partitions with non-standard filesystems you should at least know, how to handle future problems if they occur.

And using 10GB /data (or bigger) could be worth looking at the emulated-storage thread, linked in the opening post.

---------- Post added at 23:51 ---------- Previous post was at 23:31 ----------

Hi [MENTION=3110159]rsap[/MENTION]

I almost overread your post.

If someone compiled a ROM build with your commits, I could test it, as I am using your rSAP app anyway.

This wouldn't make the rSAP or the rSAP Installer apps redundant, would it?
[Galaxy S II Android Development] toshibashi:
Problem occurred: can't update OTA - Download failed, please check your internet connection and try again later (internet checked ok)

Problem occurred: screen background image selected from Gallery always being replaced by stock wallpaper after a few hours.

Problem occurred: SMS/MMS app (com.android.messaging) immediately crashes on incoming SMS messages.

I don't see causal relationships to F2FS, but could it be? What should I try besides of re-formatting /data?
[Galaxy S II Android Development] Sercan Ali:
When ı wanna update new build from OTA the phone goes logo loop, wiping cache doesn't help...What can cause this ? ( TWRP vers is isorec 3.0.2 )
[Galaxy S II Android Development] gm0:
F2FS works fine with stock LOS, been using it for everything since CM13 times without issues. I cannot comment on your custom kernel though and whether that one is compatible, I never used it.

It does sound like you'll want to try a clean install first though and see if that's stable before restoring anything with TB. I have a feeling you may have restored something that you shouldn't have.

---------- Post added at 11:25 ---------- Previous post was at 11:23 ----------

As you point out yourself, you are using a very old TWRP version with known issues. Update to the latest version and see if that fixes it.
[Galaxy S II Android Development] Sercan Ali:
I installed TWRP 3.1 and it worked , thanks