yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] rommy667:
Hi all,any chance of a signed CWM recovery pretty please.... :) how come ya made a TWRP one when on the unofficial rom you use CWM? still on latest unofficial working great still,thanks a lot LA.
[Galaxy S II Original Android Development] smamow:
hi guys, why with CM you cant uplaod videos to instagram? or send videos from facebook messenger or whatsapp ?a compression problem? codecs? LA, i used your rom since build #3, so thanks a lot man!
[Galaxy S II Original Android Development] rINanDO:
Hi LA,

I finally managed to get a logcat when my Phone freezed (copy/paste from terminal in Ubuntu). It took me almost 2 hours connected with adb logcat to reproduce the freeze. I was playing some YouTube movies in the browser and switched to CatLog-app about 3 times when the freeze occured in CatLog.

I hope this will help :)

EDIT: Hmmm seems my freezed Phone is still building its crashlog (30 minutes after freeze)... and now it seems to soft-reboot very slowly (Lollipop boot-animiation at 0.26 frames per second....)
[Galaxy S II Original Android Development] rINanDO:
And here is the full log (startup -> freeze -> crash -> very slow soft reboot). My phone is still booting at 1Mhz :p. I think we have enough data :)
[Galaxy S II Original Android Development] kal4metal:
It works lile a charm! Thank you very much! Please consider making a trim enabled stock kernel with twrp! It would be amazing :)
[Galaxy S II Original Android Development] lukss12:
On 05/08 getting FC on Stock Camera app when changing to video mode.. Here log
[Galaxy S II Original Android Development] kudos1uk:
Thank you so much, it's all good now. :):)

I was on unofficial until today, now I updated to 04/08 :good:

I can now whack your kernel on to make a backup and other things (got to get used to TWRP)

I then whack Lanchon kernel back on and run trim.

All so easy now :good::good:

I kinda see this as the new unofficial (I will only update when you do a new kernel) so an all in one with trim would be amazing but I'm cool swapping kernels so good either way :)
[Galaxy S II Original Android Development] redlsk90:
hi all, by no means am i new to the root scene but its been a while

im on 4.2.2 still and i guess its time to update kernel, rom and recovery

im on cm 10.1.3-1900

3.12.0-rc1-Siyah-Dorimanx-V9.41-JB-SGII-PWR-COREroot@dorimanx #1

cm_i9100-userdebug 4.2.2 jdq39e eng.jenkins.20130923

been reading through the forums and now there's all this stuff about TRIM & PIT files

can someone provide a step by strep-guide how i update to 5.1.1 increasing the data partition too?

im no noob, just don't wanna brick my phone.

the root scene is no longer simple as it once was

---------- Post added at 10:57 PM ---------- Previous post was at 10:52 PM ----------

recovery is cwm based recover v6.0.1.2-siyah
[Galaxy S II Original Android Development] rINanDO:
I made a pull request for this bug couple a weeks ago. It is a bug in the camera2 app where the resource-xml-file has the same name as the image-file. Because of this it has a circular reference and crashes. Simply renaming the image file does the trick.

@LA: Can you merge this pull request? https://github.com/CyanogenMod/android_packages_apps_Camera2/pull/6
[Galaxy S II Original Android Development] arnab:
You cant merge them without #ifndef and ifneq in the make file. ifndef them with something like #ifndef := BOARD_TARGET_i9100 and subsequently in the make file...then u have to add this in boardconfig.mk or boardconfigcommon.mk...this goes for ur earlier commit in av. and for the camera patch...u can submit it to gerrit.
[Galaxy S II Original Android Development] Lartza:
I/auditd (23297): Starting up
E/auditd (23297): Failed on audit_set_pid with error: Protocol not supported
I/auditd (23297): Exiting
I/auditd (23304): Starting up
E/auditd (23304): Failed on audit_set_pid with error: Protocol not supported
I/auditd (23304): Exiting
I/auditd (23313): Starting up
E/auditd (23313): Failed on audit_set_pid with error: Protocol not supported
I/auditd (23313): Exiting
D/PhoneInterfaceManager(12295): [PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0
D/PhoneInterfaceManager(12295): [PhoneIntfMgr] getDataEnabled: subId=1 retVal=true
D/TelephonyManager(21667): getDataEnabled: retVal=true
D/PhoneInterfaceManager(12295): [PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0
D/PhoneInterfaceManager(12295): [PhoneIntfMgr] getDataEnabled: subId=1 retVal=true
D/TelephonyManager(21667): getDataEnabled: retVal=true
D/PhoneInterfaceManager(12295): [PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0
D/PhoneInterfaceManager(12295): [PhoneIntfMgr] getDataEnabled: subId=1 retVal=true
D/TelephonyManager(21667): getDataEnabled: retVal=true
D/PhoneInterfaceManager(12295): [PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0
D/PhoneInterfaceManager(12295): [PhoneIntfMgr] getDataEnabled: subId=1 retVal=true
D/TelephonyManager(21667): getDataEnabled: retVal=true
D/PhoneInterfaceManager(12295): [PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0
D/PhoneInterfaceManager(12295): [PhoneIntfMgr] getDataEnabled: subId=1 retVal=true
D/TelephonyManager(21667): getDataEnabled: retVal=true
D/PhoneInterfaceManager(12295): [PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0
D/PhoneInterfaceManager(12295): [PhoneIntfMgr] getDataEnabled: subId=1 retVal=true
D/TelephonyManager(21667): getDataEnabled: retVal=true
I/auditd (23320): Starting up
E/auditd (23320): Failed on audit_set_pid with error: Protocol not supported
I/auditd (23320): Exiting
I/auditd (23329): Starting up
E/auditd (23329): Failed on audit_set_pid with error: Protocol not supported
I/auditd (23329): Exiting
D/PhoneInterfaceManager(12295): [PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0
D/PhoneInterfaceManager(12295): [PhoneIntfMgr] getDataEnabled: subId=1 retVal=true
D/TelephonyManager(21667): getDataEnabled: retVal=true
I/auditd (23336): Starting up
E/auditd (23336): Failed on audit_set_pid with error: Protocol not supported
I/auditd (23336): Exiting

3G is not working, builds 20150806 and 20150801 tested.
[Galaxy S II Original Android Development] rINanDO:
Thanx for the tips. I will submit it to Gerrit. It will be my first submit ;) About the commit in AV, maybe it is better to move the fix to android_hardware_samsung- repository?
[Galaxy S II Original Android Development] rtunru:
As far as I know, TWRP is alive and CWM is dead.

So, it is logic to use TWRP from now on
[Galaxy S II Original Android Development] anonimowywybryk:
I have 01.08 version and 3G work fine...
[Galaxy S II Original Android Development] rtunru:
My 20150806 is also fine
[Galaxy S II Original Android Development] suprvenu:
Cyandelta > stock

Yep it works with cyandelta but after flashing reverts to CM recovery . So i guess cyandelta wont work thereafter.
[Galaxy S II Original Android Development] aljowen:
Is the video camera supposed to work or is it just me?

When i go to take a video the camera app stops responding to any inputs. I have also tried cinema fv-5 which makes the shutter noise but doesn't start recording. I have tried 1080p, 720p and 480, same outcome for all resolutions. Taking photos works without any issues.

This has been an issue since switching from the unofficial builds.

Thanks for any help.
[Galaxy S II Original Android Development] Fr4nz83:
Here the camera works flawlessly (I have the latest nightly).

---------- Post added at 03:35 PM ---------- Previous post was at 03:34 PM ----------

3G Working fine here as well.
[Galaxy S II Original Android Development] the.gangster:
Looks like you should study the features of CyanDelta one more time. There you have the option to flash additional archives in a row.... e.g. kernels, modems,...
[Galaxy S II Original Android Development] davide.slb:
CPU 35°c browsing is to much?

Enviado do meu GT-I9100 através de Tapatalk
[Galaxy S II Original Android Development] spanitzer:
35° is okay

Gesendet von meinem GT-I9100 mit Tapatalk
[Galaxy S II Original Android Development] kudos1uk:
Any idea why I can't see the /preload partition with TWRP, is it a bug or just me doing it wrong... not used TWRP before.
[Galaxy S II Original Android Development] liuxiaowei:
Question feedback

I'm using the August 1st version, the phone can not automatically update the time after the phone link wifi.
[Galaxy S II Original Android Development] lukss12:
I'm on 05/08 with LA stock kernel + twrp and sometimes screen goes black and lockscreen appears like if system ui restart but i can't really say if it is restarting or not. Any body facing this behavior?
[Galaxy S II Original Android Development] cherryb8844:
I'm on 01/07 trying to update 01/08 cmupdater but phone not boot after update screen gone blan after galaxy s2 logo and no boot animation tryed manually update via gustovs twrp phone stuck on galaxy s2 logo any one tried 04/08 any critical issue in this build just imagin I use this build with LA's stock cyanogen twrp kernel ?

Can I use this latest kernel LA stock twrp on 01/07
[Galaxy S II Original Android Development] lukss12:
Can you go into recovery? Flash LA TWRP signed kernel, flash ROM, then flash LA kernel again, reboot
[Galaxy S II Original Android Development] arnab:
bcoz i hid the preload partition so that no1 messes with the RIL ...IMEI etc part.
[Galaxy S II Original Android Development] kudos1uk:
OK, Is there any way you can just show the preload without exposing the rest, it should only be an empty volume.

The reason is, people who use a pit with modified preload can't boot CM12.1 as the preload is not formatted and recovery is an easy way to solve the problem.

I was just going to format it to make sure my preload was free from junk:
[Galaxy S II Original Android Development] arnab:
Try running this command in terminal on any rom thats rooted and boots.

su
mkfs.ext4 -v /dev/block/mmcblk0p12

or

su
mke2fs -t ext4 /dev/block/mmcblk0p12

mmcblk0p12 is /preload partition.
[Galaxy S II Original Android Development] daniu:
Hi,

my excitement for this ROM with xposed unofficial it not that big any more. I got reboots a couple of times a day. This morning I was listening to podcasts (with podcast addict) and got reboots after less than 15min. However last night the device also rebooted without me doint anything (well ... a night I do things with tasker but that should not have been at that time)

I got a log-file from last night till this morning - should cover at least 3 reboots. I attached it to this post - hopefully someone can us it to solve the issue. I just deleted the entries of my mp3s that xposed media scanner optimizer produces.

Does anybody else have this issue? Important to know then: with or without xposed?

regards
[Galaxy S II Original Android Development] kudos1uk:
Thanks, I will try that after work I know there is a some amount of junk in preload as discinfo show 16.4GB used / 495 free
[Galaxy S II Original Android Development] arnab:
added another command...be sure to check the previous post.
[Galaxy S II Original Android Development] 水島芝:
Hello

I want to format the /preload but there's too much system app that symlinked

Any suggestions?

I'm in fresh CM12.1 build 4th August 2015
[Galaxy S II Original Android Development] cmonty14:
Best practice for upgrading image version

Hello!

What is the best practice for upgrading CM12.1 image version considering the requirement that recovery TWRP / CWR is not overwritten with CM recovery?

I tried with CyanDelta Updater but can confirm that this is overwriting TWRP recovery.

Any advice is appreciated.

THX
[Galaxy S II Original Android Development] Weib67:
A lot a people are having this problem, with or without Xposed. See a few pages ago.

Yet, Lycergic Acid is still surprisingly quiet about it, and has been ignoring any request or logcat relative to this for weeks/months.

And it's not meant to be rude towards LA, so don't yell at me :silly: , I'm just reporting facts.
[Galaxy S II Original Android Development] the.gangster:
Using CyanDelta correctly should work though.

You just need to make use of its option to flash the twrp-injected kernel (plus e.g. localized gpsconf) in a row, as it can handle more than just one zip at a time.

Take a look at its options.
[Galaxy S II Original Android Development] cmonty14:
THx... I found the relevant section in app settings.
[Galaxy S II Original Android Development] rtunru:
**deleted**
[Galaxy S II Original Android Development] bolshoi_booze:
Hi

In one of the older unofficial builds the GPS was ok. In the meanwhile I updated to a more recent unofficial build and the GPS stopped working. Today I updated to the official builds and the GPS is still not working.

The GPS finds 2 or 3 satellites but is never able to lock to any of them.

I've tried the files from the unofficial thread for getting a faster and more reliable fix but it didn't solve the problem. The folder comes with a gps.conf file and a gpsconfig.xml, but in the /system/etc folder there was only a gps.conf file and sirfgps.conf. There was no gpsconfig.xml to replace, and none of the files point to a gpsconfig.xml.

Can someone send me all their working files related to the GPS?
[Galaxy S II Original Android Development] buffer overflow:
I use this rom with xposed and i don not have radnom reboot or freezes

.Is quit strange this behavior...A week a go i used other custom rom and on that i have just freezes.
[Galaxy S II Original Android Development] daniu:
Hi,

Do you ever listen to music? I used this ROM but did not listen to music (or podcasts) at all and did not have a problem. It seems there is a connection.

Or I need to check my modules in xposed ...

regards
[Galaxy S II Original Android Development] buffer overflow:
Youtube and Tunein radio. d(^_^)b I have enable 12 module of the 15. and work pretty well for me.
[Galaxy S II Original Android Development] daniu:
Hi,

OK - just don't know what you mean with "of the 15" - in my xposed installer I guess there are about 50 to 100 available modules

regards
[Galaxy S II Original Android Development] buffer overflow:
This means i have 15 xposed module installed and i use just 12, the rest are disable. :)
[Galaxy S II Original Android Development] xhoster:
As I reported earlier, I am having a lot of reboots while listening to music and the music player crashes when alternating between portrait and landscape.

I also get a lot of reboots while doing other things (not just while listening to music). I also use xposed.
[Galaxy S II Original Android Development] anonimowywybryk:
Hello.

I apologize in advance for the mutilation of language, but I do not know English well because I use a translator, but something anyone can understand :)

My problem with the battery. Namely, about two months ago I bought a new original battery for your model samsung i9100. I do not know if that is normal, but when I use the wifi within 30 minutes battery becomes flat about 10%, or a lot? whether it is a quite normal? What is interesting in the statistics I see that 95% of the display consumes battery even though I completely darkened.

I do not know what to do ... when the phone is in standby mode overnight 7h battery is dropped by 1%, while when using the wifi is a tragedy: /

I came up with the idea to download the application DisableServices. can someone uses it and is able to help me with the exclusion of unnecessary wakeups Google Play services? because the list is as many as 352 ...
[Galaxy S II Original Android Development] mhkim4886:
I am using Settings - Display - LiveDisplay - Reduce power consumption turned off, but It is not correctly turned off.

When I turn it off, then the slide is turned off, but soon it is on again. (In settings, it is showing turned off)

If the option is on, our phone's MAX display brightness is lower than original.
[Galaxy S II Original Android Development] kai1313:
try reset your battery gauge

install betterbatterystats and see what made your battery draining wildly

and use greenify or amplify to hibernated some apps
[Galaxy S II Original Android Development] anonimowywybryk:
I tried to use the battery calibration (NeMa ), but unfortunately the battery is charged up to 100% of this that it can not recharge the seating 4,200 mA. maximum is the 4,186 mA. With greenify also tested but have nothing to hibernate there ; )

Ok so I test BBS
[Galaxy S II Original Android Development] daniu:
Hi

I don't know what nema means but there is another way to calibrate the battery:

iirc:

-charge till 100%

-turn phone off

-charge to 100%

-take off the battery and remove plug for some time

-put the battery back in and boot

Maybe that helps

Regards

Better learn English or look 4 a native forum
[Galaxy S II Original Android Development] 水島芝:
That's how to get the battery cycle into normal

But it really work to fix sudden drop
[Galaxy S II Original Android Development] the.gangster:
[MENTION=219477]Mizushima Chicago[/MENTION]:

Is that a question or a confirmation?
[Galaxy S II Original Android Development] Typhoon_Master:
endless boot caused by reparitioning?

Hi,

i went from CM11 to current CM12 nightlies without any problems, but my 2GB system memory came to an end, so i repartitioned my phones memory to 3GB system memory using the PIT Files "i9100 Preload Area Moddified Pit Files - NOT FOR STOCK ROMS!.zip"

Since then everytime when i tried to run CM12 it ended up in an enless boot. i waited 45min to finish, but i think my phone would never end booting.

doesn't matter if i do a clean install of cm12 or a install over cm11.

despite all that CM11 runs fine with 3GB System memory.

Does anybody already know a solution for this issue?

thanks
[Galaxy S II Original Android Development] kudos1uk:
The first command returned: mkfs.ext4: not found

The second command returned: /dev/block/mmcblk0p12 is apparently in use by the system; will not make a filesystem here!

Now that's interesting as I understood CM did not use the /preload but that response suggests it does, I can't see how any leftover Samsung JB junk/apk's could be in use by a CM rom so this is very strange.

---------- Post added at 06:36 PM ---------- Previous post was at 06:30 PM ----------

If you see my comment a couple of pages back you will see the problem, you should not use a pit with a modified /preload, if you do the new preload ends up unformatted and although CM does not use /preload it tries to mount it on boot and when it can't you get bootloop, lots of people have had that problem.

You need to format /preload to get it working.

I'm not sure which recovery will format /preload, as you see from my request LA's stack TWRP/kernel does not CM recovery does not and I don't think CWM works either, maybe someone else can suggest a recovery that will work for you.
[Galaxy S II Original Android Development] Zile995:
[MENTION=5710255]kudos1uk[/MENTION] format /preload works in XWMS3 Philz kernel recovery :)

Послато са GT-I9100 уз помоћ Тапатока
[Galaxy S II Original Android Development] Typhoon_Master:
Thank you for your answer.

Can I use "i9100 Pit Files 3GB - 8GB Collection by metalgearhathaway.zip"? Maybe that is a Pit-File without preload partition!?
[Galaxy S II Original Android Development] 水島芝:
A confirmation
[Galaxy S II Original Android Development] kudos1uk:
I don't know if you will get the formatted area back doing that, you can try, the reason it works when you flash a pit with an unaltered /preload is the original formatting stays, now you have used an modified /preload I really don't know if you will get the formatted /preload back if you flash a standard (I would doubt it). There were some instructions how to format the /preload in the unofficial thread a few months ago but I can't find it now.

EDIT: use Zile995 suggestion above, it will work.
[Galaxy S II Original Android Development] Typhoon_Master:
thank you for the information, i think i'll give it a try.

if someone knows a way to format it via command (adb or somthing) would be cool to.

anyway. how can you debug your boot-process in that way, that you know that the phone tries to mount /preload?
[Galaxy S II Original Android Development] daniu:
Hi

Just try another pit file. Had the same problem, used another pit file with original preload and now everything is fine.

Regards
[Galaxy S II Original Android Development] Typhoon_Master:
nice, worked!! :)
[Galaxy S II Original Android Development] Typhoon_Master:
I forgot to format the internal sdcard in cwm, now i have no option to format sdcard anymore.

In cyanogenrecovery is no option for formatting and TWRP recovery is also not able to format internal memory.

Is it somehow possible to do this via terminal emulator?

Settings menu says that sd card is currently verifying, when i want do delete it there.
[Galaxy S II Original Android Development] the.gangster:
Internal SD can also be mounted to PC and formatted from there.
[Galaxy S II Original Android Development] Typhoon_Master:
how?
[Galaxy S II Original Android Development] the.gangster:
How?

By either connecting your phone to a PC while it is up and running or by connecting it to a PC while you are in recovery.

Depending on your recovery you may have to activate options like "mount usb" or similar.

In TWRP-Recovery: Mount -> Storage: xxx (press the thin "button") -> Select Storage: eMMC (for internal) or Micro-SD (for external) -> OK -> Mount USB Storage

If I didn't forget something: Now you should have a mounted Drive in Windows that you should be able to format.
[Galaxy S II Original Android Development] cherryb8844:
Use philz_touch_6.48.4-i9100 recovery for format preload :)

Here the link http://xdaforums.com/galaxy-s2/deve...stock-kernel-cwm6-root-exfat-t1877270/page458
[Galaxy S II Original Android Development] Typhoon_Master:
cant mount emmc/internal sd-card

This is not working for me.

When i plug in my phone while running, i get an entry relating to my phone, but thats no Drive. Its like a Kamera without Drive-Letter, no formatting option there.

In the Mount Menu of TWRP-Recovery, eMMC is there but with 0MB. When i mount it, there are no log entries for that action and it dont give me anything on the pc.

Maybe the log entries after starting TWRP give some further ideas:

[COLOR="DarkRed"]E:Unable to recreate and-sec folder.[/COLOR]
Updating partition details...
...done
[COLOR="DarkRed"]E:Unable to mount storage.
E:Unable to mount /emmc durring GUI startup.[/COLOR]
Full SELinux support is present.
[COLOR="DarkRed"]E:Unable to mount /emmc/TWRP/.twrps when trying to read settings file.[/COLOR]
MTP Enabled

i thought of an way over terminal-emulator, but i dont know how.

// --=== Edit ===--

Holy ... Method in Recovery worked with my second PC, thank you very much! :)

But now i've got exFAT. Any option to switch to ext4 or f2fs ?
[Galaxy S II Original Android Development] the.gangster:
Strange.

One last try...

While running CM and connected, try Settings -> storage -> settings (three dots in top right corner) -> USB-connection :

Choose UMS.
[Galaxy S II Original Android Development] 水島芝:
Sorry, typo
[Galaxy S II Original Android Development] Gedablo666:
Hi all. I just wanna ask can I re-flash Gapps in CM recovery? Because my Gapps really old and I want to flash updated. And another question if I flash stock CM kernel with TWRP injected do OTA still work or I need to use app like CyanDelta? Thank you.
[Galaxy S II Original Android Development] Typhoon_Master:
already got it on my 2nd pc thanks you very much! :)

//--== Edit == --

Okay... I experimented with some file-systems, now i actualy can mount it on the pc, but whatever filesystem i format it with it isn't recognized by the phone so far :(

what filesystems does such a internal memory usualy have? fat32?
[Galaxy S II Original Android Development] Dr AM:
For me I have ext4 and PC recognizes it
[Galaxy S II Original Android Development] buffer overflow:
Linux or Window$ ? :D
[Galaxy S II Original Android Development] dsentered:
updated to latest nightly

today i updated my s2 from last unofficial build of 12.1 to latest 12.1 nightly . and surprising thing is this, without doing any data cleaning, without installing new google apps zip, it's working fine. no google app crash as it used to be before. this time i got lucky or really it's fixed now? :confused:

thanks to [MENTION=6159291]Lysergic Acid[/MENTION] for your hard working.