yashsingh1/xdaforums huggingface dataset:
[Galaxy S II I9100G Android Development] vodailam:
[MENTION=4863293]XPS_93[/MENTION] Glad to help something for you! :)
[Galaxy S II I9100G Android Development] toppits:
If you watch the video from my signature, you'll be able to figure out the apk problem. jk, but it could help you in the future.

It's already discussed on this very page, you just need to scroll up and read instead of just posting the same thing over and over again.
[Galaxy S II I9100G Android Development] :
^^This.

Thread cleaned.
[Galaxy S II I9100G Android Development] adxamg:
Just updated cm12.1 build to 20160515.

Android security patch level should be displayed correctly now.

About apk install problems: Post or send a logcat.
[Galaxy S II I9100G Android Development] vodailam:
I've just tested it! Everything seems OK now! I'll continue testing to find any error occur! :)
[Galaxy S II I9100G Android Development] EvsanDlg:
"ksmd" system process high CPU usage at sleep - CM12.1-20160312

Hi guys! I'm experiencing high CPU usage of system processes (most of all it's "ksmd") while my phone is asleep (or should be). I'm testing my device with "SystemPanel" monitoring app (v1.4.0) for two months beginning when I fully flashed CM12.1-20160312. At first time I thought it is normal because I'd installed a new ROM and it might have some work to do. But after 2 months of usage nothing changed. I use no app widgets, by the way.

"ksmd" uses 10-14% of CPU permanently in inactive device state and I think this is a problem. What should I do? Is it a good idea to shut down "ksmd" somehow?

P.S. In the screenshot with graphs the upper green graph shows CPU usage by "ksmd", the lowest green one - total CPU usage (shows the same 10% as by ksmd). The blue chart shows device usage (shows that was no usage).
[Galaxy S II I9100G Android Development] adxamg:
New test build i9100g cm12.1 20160620 is online.

There are major changes. I backported many of the cm13 i9100g improvements to cm12.1 branch. Open source camera. Kernel updates, zram, which should improve performance like seen on cm13 builds. Isorec boot support is also included. TWRP was replaced with cyanogen recovery in this build, which should be fully supported now (no need to use twrp to update this rom).

File size is more than 50 MB smaller than before, highly optimized :)

Hope i did not break something with this huge update. But first impression, performance and stability, was good. Camera needs maybe some extra work. Skype working for example? Post logcat of problems you may find.
[Galaxy S II I9100G Android Development] toppits:
Sounds awesome!

One question about recovery: is it beneficial to have cyanogen recovery? Since there's no backup option, imo TWRP is more useful or am I missing something?
[Galaxy S II I9100G Android Development] adxamg:
Cyanogen recovery is default recovery for cyanogenmod. With isorec you have the choice to use twrp.
[Galaxy S II I9100G Android Development] McConnor:
Ok, here is the first preliminary test:

TWRP Isorec boots correctly

ROM Installation for me does NOT work with Google Apps. I downloaded the recent correct edition; it installs fine but after boot Google Play Services are not installed. Like this I cannot use the playstore. Also the first start assistent wont come up and the like. I tried at least five times, did a thourough wipe before (dalvik, cache, android secure, system, data) and also tried with TK-Gapps latest version (this one wont even install)

I managed to get it working by restoring my latest TWRP Image (and here you know why I prefer it over Cyanogenmod Recovery) and then flashing the latest ROM Version directly over it. It wouldnt work the clean way - that would be something I need help or adxamg needs to look into...

Camera works, but after a Video recording I get a "Could not connect to the camera" Error. Photos are fine. I reported this error in length to adxamg. Here is a new log of this instance

https://dl.dropboxusercontent.com/u/1500968/2016-06-21-12-38-40camera.txt

System seems very responsive. Because I restored I have all my apps running and installed. For me that is an improvement.

GPS gets a fix fast with many satellites

So long. If further specific tests are needed fire away. I will try to get logs and the like....
[Galaxy S II I9100G Android Development] adxamg:
about flashing rom after full wipe:

I remember reports from users, having problems with playstore after flashing cm12.1 with full wipe. Maybe this is not caused by recent cm12.1 changes. It could be caused by newer gapps? One user posted, problems solved with flashing older/other gapps-package.

Also it would be interesting, if rom and gapps gets flashed with cyanogen recovery, after a full wipe.

about backup recovery partition:

I tested modified twrp, but recovery partition is still not visible.

adb pull command can't also be used to backup partition. But something like this, could work:

adb dd if=/dev/block/mmcblk0p6 of=/sdcard/backup_recovery.img
[Galaxy S II I9100G Android Development] Android Top Seven:
Hi, This lasted ROM is stable at 100%?
[Galaxy S II I9100G Android Development] Surf Excel:
Results

thanks to McConnor for helping me out.

i flashed the build 12.1-20160515 with pa-gapps-modular dated 20150315.

and everything works smooth as butter, no hiccups, nothing.

the play store works fine, play services are working fine.

let me know if you want the link to the gapps file.

thanks to the dev adxamg for his work.
[Galaxy S II I9100G Android Development] adxamg:
New build cm12.1 20160730 is online.

Latest cm12.1 sources, updated android security patch level. Did not test this build.
[Galaxy S II I9100G Android Development] dummytest97:
hmm look nice rom... i will try it..:)
[Galaxy S II I9100G Android Development] mark1003:
Does this build includes twrp again?
[Galaxy S II I9100G Android Development] toppits:
I don't think so, but isorec twrp recovery works great.
[Galaxy S II I9100G Android Development] mark1003:
I thought isorec twrp is only for i9100? I am still using twrp 2.8.7.0 from adxamg.
[Galaxy S II I9100G Android Development] toppits:
Check OP "Additional information":

Cyanogenmod 12.1 comes with Cyanogen Recovery by default. This rom supports booting isorec twrp recovery. Flash twrp isorec recovery to recovery partition. Rom will use then twrp as prefered recovery and ignore default recovery. Follow flash instructions for i9100g isorec twrp recovery to replace recovery.

http://xdaforums.com/galaxy-s2/development/rom-cyanogenmod-13-0-t3381511/post66909201#post66909201

There are some posts in the CM 13 thread about it with some more information.

Be sure that you know what you are doing before flashing!!
[Galaxy S II I9100G Android Development] xdaschwallobert:
performs flawless, I came from stock, no problems encountered.

Huge thanks to adxamg!
[Galaxy S II I9100G Android Development] adxamg:
CyanogenMod team updated cm12.1 to cm12.1.1 to 'reflect latest security updates'.

New build i9100g cm12.1.1 20160812 is online with latest security patches from android security bulletin 08-2016.

Android security patch level is now 01.08.2016.
[Galaxy S II I9100G Android Development] toppits:
Thx for the updates!

I'm on the latest version now and I'm getting SODs. I think I had it already once on the previous update. Not sure if it's ROM related or an App is acting up. As soon as I find the time I'll make a clean Flash and report back.
[Galaxy S II I9100G Android Development] adxamg:
I did not see SOD with cm12.1 so far. Think it's not rom related.
[Galaxy S II I9100G Android Development] ThePhoenixII:
Hello,

I just tried :

1/ The procedure to install the Isorec TWRP 2.8.7.0 (xdaforums.com/galaxy-s2/development/rom-cyanogenmod-13-0-t3381511) with the image compiled by adxamg.

=> Everything worked fine

2/ To update to cm12.1.1 20160812

=> Everything worked fine here but I don't know what is SOD ;)
[Galaxy S II I9100G Android Development] McConnor:
Sod is when your phone becomes unresponsive while Screen is off (sleep of death). Only a Reset (10secs Power Button will Reboot it).

If you have not experienced it that's a good thing. Don't worry then...

Gesendet von meinem SM-G930F mit Tapatalk
[Galaxy S II I9100G Android Development] ThePhoenixII:
Ok. I will post if I notice such a bahaviour then.
[Galaxy S II I9100G Android Development] mblaster4711:
Sorry if this was posted earlier

Please fix link to

TWRP 2.8.7.0 Recovery only signed TAR for Odin
[Galaxy S II I9100G Android Development] ThePhoenixII:
I just tried to download it from the link in the description of this section. It worked for me : it opened a page on www.androidfilehost.com, then I followed the instructions to begin the download.

What happened to you exactly ?
[Galaxy S II I9100G Android Development] AhmAdDev99:
Great ROM!

Till now i was using SlimKat 4.4.4, I was think it's better performance and battery friendly.

But after upgrading to this ROM LAST_BUILD it's AMAZING

THANKS MAN. YOU ARE AMAZING! :good:
[Galaxy S II I9100G Android Development] kalle12:
Hi,

thanks for this build which finally now runs on my SGS2. Unfortunately I had lot of trouble with openGApps which I could install without problems on a cm12.1 modded SGS+ (I9001) before. But with I9100g the Google Play Service did not install on phone - play store could not be started (just a short flicker of a white app background). Google account could not be configured. In apps list (all apps) the Google Play Service was not seen.

I tried both - cm-12.1.1-20160812-UNOFFICIAL-i9100g.zip as well as this cm-12.1-20160515-UNOFFICIAL-i9100g_SIGNED.zip with the proper openGApps (linked above nano and also the full-variant). Nothing helped. I could see other apps installed like play store itself but with every install trial the play service was missing :(

Finally I did download the play services apk from apkmirror and installed it in running cm-12.1. Now it works!!! :))))) but I wonder why the normal installation on the i9100g did not work ...?????
[Galaxy S II I9100G Android Development] adxamg:
In this case, try to flash an older build of cm12.1 (from early 2016) first. Maybe also an older version of gapps. This way it worked for me.
[Galaxy S II I9100G Android Development] AhmAdDev99:
The only problem i have is camera.

Google camera is not working [Force Close]

Retrica is lagging and it doesn't preview the image, but when i click capture it will capture the image normally.But -width -height is not true at all.

SnapChat camera captures Low-Quality pictures.
[Galaxy S II I9100G Android Development] adxamg:
I uploaded i9100g cm12.1 20160916.

- security fixes; android security patch level 01.09.2016

- f2fs fstab entries

Did not test this build.
[Galaxy S II I9100G Android Development] adxamg:
I uploaded i9100g cm12.1 20161015.

- security fixes: android security patch level 01.10.2016

I did not test this build. File size shrinked about 15 mb compared to 09/2016 build. Could someone test and give feedback if it's booting normal and nothing missing?
[Galaxy S II I9100G Android Development] adxamg:
I just tested a clean installation of i9100g cm-12.1 rom. I updated initial post. Follow first time installation instructions to setup phone with cm-12.1

It seems newer opengapps don't work well with later builds for i9100g.

I recommend to use i9100g-20151210-cm12.1 rom and cgapps for initial setup. After finishing setup, update to latest cm-12.1 rom.
[Galaxy S II I9100G Android Development] gokhanacaar:
google play services stopped error .

google account is not added .

previous versions are stable.

Sorry for my bad is English
[Galaxy S II I9100G Android Development] adxamg:
I continued initial cm-12.1 setup (clean flash). Best solution for first time installations seems to be latest cm-12.1 build and pa-gapps 5.1 Nano.

I also updated first post with download links to pa-gapps 5.1 Nano. Setup wizard finished successfully. Playstore working normally.
[Galaxy S II I9100G Android Development] adxamg:
I uploaded i9100g cm-12.1 20161112.

Changes:

- Kernel security fix 'dirty cow'

- Video/Audio synchronisation improvements

- Screencast fix (not tested)

edit: Audio/Video synchronisation is much better now in Youtube for example. I used build 20161112 (clean flash) with pa-gapps and deactivated AudioFX.

edit2: screencast was fixed for omap4 devices (not tested)
[Galaxy S II I9100G Android Development] adxamg:
I uploaded i9100g cm-12.1 20161120.

Changes:

- security fixes: android security patch level 01.11.2016

I updated once again first post. I found out, first time installation working also good with open gapps dated from 20150821. Use link from first post, when you make a clean install of cm-12.1.
[Galaxy S II I9100G Android Development] jsbeyond:
hard work,thx.any plan for cm14.1?
[Galaxy S II I9100G Android Development] Zismo:
Guys, help!

Contacts sync (google,telegram) doesn`t work, what to do? My contacts list is empty, but in telegram i see their numbers.

CM 12.1 Last | GAPPS Pico 5.1

I9100G
[Galaxy S II I9100G Android Development] snapper87:
Hey!

could u provide me with your build settings (repo settings, local_manifests)? I would like to build this from scratch based on your sources.

thanks in advance
[Galaxy S II I9100G Android Development] adxamg:
Too many other projects at this time.

But i could build cm-11.0 with latest security patches eventually, when there is demand for it?! Official builds stopped 8/2016.
[Galaxy S II I9100G Android Development] ze7zez:
Good decision.

How [MENTION=2604804]kldoc[/MENTION] wrote:

"camera has been a hell on nougat, no matter what brand or model"

Do it! I am a lover of the old models of smartphones and certainly check once, as security fixes changed the functioning of the CM11.
[Galaxy S II I9100G Android Development] kldoc:
Given Google more or less killed Camera HAL1 on Nougat, and given how many devices rely on hacks to actually be able to use the camera properly, it could have been easier :p
[Galaxy S II I9100G Android Development] Surf Excel:
brightness slider is having some issues in the latest build. known bugs still prevail. other than that everything is working pretty fine.
[Galaxy S II I9100G Android Development] adxamg:
Build 20161120 will be the final version of i9100g cm-12.1 and cm-13.0.

Cyanogen services shutting down.

Lineage os project announced.
[Galaxy S II I9100G Android Development] McConnor:
For it device this is... What? A new beginning? The end? Will there be much change for developers like you if they want to support older devices? Anyway, no matter where this goes from here - thanks for your hard work for this phone so far. It still lives on and does its work reliably thanks to you!

Gesendet von meinem SM-G930F mit Tapatalk
[Galaxy S II I9100G Android Development] snapper87:
You can still build 12.1 with lineage sources. Its just a bit of work to fix manifests

Gesendet von meinem E5823 mit Tapatalk
[Galaxy S II I9100G Android Development] adxamg:
It means, there will be no new 'official' cyanogenmod builds for any device anymore. CyanogenMod is dead. Sources will not be updated any longer.

But cm sources where forked to lineage os. Developers will be able to use these sources for future builds. But i expect they will concentrate on newer android versions, like 7.1. Not the one running best on i9100g, like android 5.1. When android 5.1 sources will not be changed (android security patches etc.), it makes no sense to build new roms based on lineage os sources. I guess android 6.0 would be supported some more time, because many of the official cm builds where based on it, but unfortunately i9100g android 6.0 builds have some issues (gps fix, sound distortions).
[Galaxy S II I9100G Android Development] adxamg:
As expected, lineage android 5.1 sources were not updated with latest android security patches. It's still patch level 01.11.2016.

I would patch cm-12.1 sources based on security bulletins myself, but googles documentation of aosp changes for older android versions is non existent. Links they provide are for master (latest) branch only, which does help sometimes, but in most cases, source code is completely different to 5.1 branch.

And best, they write into security bulletin, aosp 5.1.1 sources were updated, but it's not there or not public available/hidden. :mad:
[Galaxy S II I9100G Android Development] bidzmar:
thanks for this one sir. good job and i love the effort, keep it up sir. will try to read on the cm13 before upgrading. thankssss
[Galaxy S II I9100G Android Development] McConnor:
This is still a fine ROM. I still get the video problems I earlier described - then again I am beginning to think that this might be related to me swapping the camera module from the original one (LG, I think) to a Sony module because of its better low light frame rate and colors. That never was an issue on stock or OmniROM though... Then there is the non functional flashlight toggle - other than that the ROM is very stable....

Adxamg is about to delve into some low level debugging in order to perhaps enable newer lineage roms to be run on this phone. Kudos for this initiative! If anyone reading here happens to have expertise in such matter he probably is more than welcome to contribute knowledge over in the i9100g cm13 thread...

Gesendet von meinem SM-G930F mit Tapatalk
[Galaxy S II I9100G Android Development] HTC_Never:
OK; so there will be no further builds from now on?

After few weeks as a happy user, i now experience a black screen of death 1 to 3 times a day (unresponsive phone, like switched off). With a clean install, after a full wipe - and a new battery. There are no power saving apps installed...

Is there something i should try - except going back to the old (pre 201611) version?

Minor bug.: print services (introduced in 4.4) always crash, no matter which of the many printing apps i use (HP printing service, CUPS, Cloud Print).. Discovery of printers works fine, the actual print dialog appears to break.

(Excerpt / logcat with HP printing app in use / printer already discovered) -

03-05 15:18:55.153 E/AndroidRuntime(4672): FATAL EXCEPTION: main

03-05 15:18:55.153 E/AndroidRuntime(4672): Process: com.android.printspooler, PID: 4672

03-05 15:18:55.153 E/AndroidRuntime(4672): android.view.InflateException: Binary XML file line #244: Error inflating class android.widget.ImageView

...

https://dl.dropboxusercontent.com/u/37819653/LOG.txt

[EDIT]: last one appears to be a genuine Android bug, probably unfixed before Android N :rolleyes:
[Galaxy S II I9100G Android Development] sonic_ear:
Me too!
[Galaxy S II I9100G Android Development] HTC_Never:
Tested my phone with "eMMC Brickbug Check" and found out it has the VYL00M chip with FwRev 0x19 labeled as insane. There was also an error when repartitioning the device (e2fsck -fp /dev/block/mmcblk0p10 ended with error 4) - mysteriously gone after a 'wipe' (lanchon-repit-20160317 method).

So i guess i have a hardware problem i cannot resolve.

The app page https://play.google.com/store/apps/details?id=net.vinagre.android.emmc_check suggests there are 2 variants of the problem.

There is also some info on https://xdaforums.com/showthread.php?t=1644364 , but the remedies do not apply to our SG II.
[Galaxy S II I9100G Android Development] sonic_ear:
[MENTION=5813522]adxamg[/MENTION] have you know about this?
[Galaxy S II I9100G Android Development] HTC_Never:
I think he does. I was only searching for an explanation for the random shutdowns (sudden deaths) i experienced. MMC corruption seems plausible.

Except for a PIT workaround (described in the 2nd thread), there is not much a software developer can do.

Such a workaround is hard to test if you don't own the buggy hardware.
[Galaxy S II I9100G Android Development] sonic_ear:
There is a way to fix that?
[Galaxy S II I9100G Android Development] adxamg:
There are several patches adressing emmc bugs.

https://xdaforums.com/showpost.php?p=54295205&postcount=4
[Galaxy S II I9100G Android Development] sonic_ear:
So i can download them? But which one I read all and get confusing. Can you give link to download?
[Galaxy S II I9100G Android Development] toppits:
IIRC the eMMC Brickbug was fixed way back with Stock JB by Samsung. Before it could brick your device if you wiped.
[Galaxy S II I9100G Android Development] adxamg:
It means, there are already patches inside cyanogenmod sources, also for i9100g, to prevent emmc errors.

Not much you can do, when hardware gets broken because of old-age.
[Galaxy S II I9100G Android Development] sonic_ear:
Okay now I understand. Thanks for fast reply.
[Galaxy S II I9100G Android Development] sonic_ear:
I have camera issue and keep saying cant connect to camera
[Galaxy S II I9100G Android Development] McConnor:
That is what also happens to me after recording videos (couldn't really be fixed for me) does not happen after photos...

Gesendet von meinem SM-G930F mit Tapatalk
[Galaxy S II I9100G Android Development] sonic_ear:
So there is a way to fix this or we cant do anything about it?
[Galaxy S II I9100G Android Development] McConnor:
Adxamg tried but up to now couldn't succeed. Does not happen that often for him though...

Gesendet von meinem SM-G930F mit Tapatalk
[Galaxy S II I9100G Android Development] sonic_ear:
My camera always showing cant connect to camera even reboot my phone. But I tried uninstall camera app and replace with open camera by convert open camera to system app. It seem to be okay for now and no more error cant conmect to camera.
[Galaxy S II I9100G Android Development] HTC_Never:
I narrowed down the problems with my phone (screen of death, unresponsive phone) to a bad repit. Because it works perfectly after i went back to a stock 4.0.x ROM - and a factory default PIT.

To verify my hypothesis, i also tried the march 2016 flash (offered here some time ago). And to my bewilderment, it started to crash in a same way as the 201611xx version. After that, i repitted the internal flash to standard parameters (system=0.5G-data=2G-sdcard=max-preload=0.5).

Bought a non Exynos based smartphone with LineageOS support (LG G4), but will keep the old one for tests.
[Galaxy S II I9100G Android Development] sonic_ear:
How to factory repit on cm12? It is possible to do factory repit on custom rom?

---------- Post added at 04:41 PM ---------- Previous post was at 04:31 PM ----------

Unresponsive when sleep make it very annoying. I need to reboot everytime it dead. So there is a way to factory repit on cm12? About storage i can use link2sd or apps2sd and i dont worry about it.
[Galaxy S II I9100G Android Development] HTC_Never:
Everthing can be found in this forum. Please use the search function (keyword: I9100G)...!

How to flash ROMS for Galaxy S2 I9100G via ODIN

Download ODIN > Odin3-v1.85.zip

Download Galaxy i9100G compatible PIT File > omap4_all_20110627_emmc.pit

Download Odin3-v1.85.zip > Open It!

ADD PIT File (omap4_all_20110627_emmc.pit) into ODIN > PIT.

Add Your ROM into ODIN > PDA

Turn Off your Phone first

Then goto Download mode by holding <Home+Power+Vol down>

Continue step of the Phone Screen.

Plug in the USB cable > You will notice ODIN recognize it by Yellow filled square .

Click "Start" of ODIN.

...... keep watching and praying for few mins! (hopefully 1-2mins)

Source:

https://xdaforums.com/galaxy-s2/general/how-to-root-install-cwm-recovery-flash-t1814801

Get the PIT (omap4_all_20110627_emmc.pit) from here:

https://www.dropbox.com/s/x5pt07322kbqfh6/omap4_all_20110627_emmc.pit

DO NOT flash the PIT file (u4....pit) included in the ODIN package -

https://www.dropbox.com/s/1y45bj6h1g9r1jr/Odin3-v1.85.zip

If you have never used ODIN, please find a page with screenshots. Never touch any check boxes.

Got the 4.0.4 all-in-one package from

https://xdaforums.com/galaxy-s2/development/collections-official-firmwares-kernels-t2199288

You will have to pick one that is right for your country...

Note that 4.1.x kernels were never fixed by Samsung IMHO (unresponsive black screen / sleep of death in screen saver). So keep away from them and do not update.
[Galaxy S II I9100G Android Development] sonic_ear:
---------- Post added at 11:06 PM ---------- Previous post was at 10:55 PM ----------

[/COLOR]

Okay Thanks!
[Galaxy S II I9100G Android Development] mohmedxpmpa:
any new update to security ?