yashsingh1/xdaforums huggingface dataset:
[Galaxy S II I9100G Android Development] adxamg:
FAQ

How to use TWRP recovery with i9100g cm12.1/cm13 roms:

This rom supports IsoRec TWRP recovery. It means, it can boot a recovery from another, usually unused partition on i9100g phones. Default recovery of cm13 is cyanogen recovery. When you flash isorec twrp recovery to recovery partition, rom will boot twrp recovery. Isorec recovery will stay there until you overwrite/delete your recovery partition. Updating rom will not touch isorec twrp recovery.

Installation instructions for i9100g isorec twrp recovery:

Download i9100g IsoRec TWRP 2.8.7.0 Recovery to your pc

Download & install Minimal ADB and Fastboot on your pc. Ask google to find it.

Copy twrp_isorec_i9100g_20160612.img to install dir of adb/fastboot.

When you connect phone to your pc it should be detected. If not, install samsung usb drivers. Then connect phone.

Activate USB debugging in developer options and confirm message on phone

Open a command prompt and change to install dir of adb/fastboot

to backup recovery image follow instructions in this thread under section 2: dumping rom partition (optional)

Copy & paste following commands, don't mistype, you can damage your phone with a wrong command here!

adb root

adb push twrp_isorec_i9100g_20160612.img /dev/block/mmcblk0p6

It should be flashed in some seconds. Wait until it's finished. When you restart to recovery now, you should see twrp, booting from recovery partition.

To remove isorec recovery, flash 'overwrite_isorec.img' with adb push command.

Some screenshots of i9100g cm13:
[Galaxy S II I9100G Android Development] Aditya18:
Beta ? Wait 4 review
[Galaxy S II I9100G Android Development] TheNazarok:
Give us some screenshots <3
[Galaxy S II I9100G Android Development] ROODYK:
Very strange sound became . What is the distortion . Please fix it.
[Galaxy S II I9100G Android Development] toppits:
<3 adxamg (no homo^^) big thx for making yet another Android update possible for this old phone!

You find some Information about it in the Alpha thread. Else you are welcome to try it out yourself and give us some Feedback :)

Is that a bug Report? Because that's not how it's done. That's not how any of that is done! And what's with that tone?

If you're trying to Report a bug, maybe try to be specific? Where does it happen? Headphones? Speakers? Music? Ringtone? What exactly did you Flash? You are not helping at all and then you try to Boss the dev around? :D shame on you!
[Galaxy S II I9100G Android Development] jimmylin86:
First thank for your hard work to bring new android for our devices. I installed and have some bugs:

- Open camera can't save the pictures.

- sometime when i make a call, i can't hear anything voice. When restart phone, it's normal.

- I got bootloop when flash the TWRP 2.8.7.0

Hope you'll fix it on next release

Sorry for worse English ?
[Galaxy S II I9100G Android Development] Gofred:
Thx a lot for this great work. :good:

The Problems I have:

- Screen is not rotating. Only few times after

Reboot it works.

- Music over BT doesn't work sometimes.
[Galaxy S II I9100G Android Development] adxamg:
Build cm13 20160523 is online.

- updated cm13 sources

- display autorotation fixed

- audio low latency test

- app standby/doze activated, testing battery life, first test seems to improve battery life when phone is dozing
[Galaxy S II I9100G Android Development] Fajib Sh AZ:
does the camera works for video calling in skype??

---------- Post added at 12:34 PM ---------- Previous post was at 12:30 PM ----------

may be u didnt set permission for storage for the open camera app.just check it in settings
[Galaxy S II I9100G Android Development] adxamg:
Skype voice calls are working. Receiving videos is working. Sending videos does not work at the moment. Sending videos should work now.
[Galaxy S II I9100G Android Development] McConnor:
Really nice! are the issues with the camera related to you now using open camera hal instead of proprietary Samsung files in this rom? Seems to be the last big chunk on the way to a fully functional Android 6 room for our phone...

Do you think it will be possible to either include twrp in this rom or use a persistent recovery as with the i9100?

Thanks for your hard work on this phone... much appreciated!

Gesendet von meinem GT-I9100G mit Tapatalk
[Galaxy S II I9100G Android Development] adxamg:
I have no plans to include twrp in this rom. Updating rom with cyanogen recovery is working. I used omnirom sources for twrp in cm12.1. But omnirom seems to be half dead.

Open camera is just an app, replacing camera2/snap. Instead of camera2/snap, open camera is able to use i9100g camera. Below this i'm using ti_omap4 sources from cyanogenmod now, because old camerawrapper does not work in cm13 anymore. ti_omap4 source is used for galaxy tab devices for example. Unfortunately i did not find a way to get it working with i9100g. Any ideas whats wrong? I would be happy to integrate a patch that will make camera.omap4 working.

For me, phone is fully functional. If somebody don't think so, stay at cm12.1 or any other rom you like.
[Galaxy S II I9100G Android Development] Aditya18:
Hi [MENTION=5813522]adxamg[/MENTION] Nice work for CM 13.

I got problem with SDCard. SDCard got Coruppted if i insert in device, but i tried in my PC, its work perfectly.

Can you explain that ? thanks
[Galaxy S II I9100G Android Development] donduckt:
the file .gapps-config.zip cannot be extracted, could you upload again?
[Galaxy S II I9100G Android Development] Aditya18:
gapps-config.zip work perfectly. Try again
[Galaxy S II I9100G Android Development] adxamg:
I replaced link to .gapps-config file in first post. Now it's linked to correct .gapps-config file which will remove stock camera as described.

Test build cm13 20160525 is online. I need feedback about camera. Use these two downloads to flash rom and open gapps stock:

Download cm13 20160525 camera test

Download .gapps-config file

Test: 1. Open Snap camera, try to take a photo; 2. Open Whatsapp, try to take a photo

Post a logcat of this test here.
[Galaxy S II I9100G Android Development] McConnor:
Yeah! Still in Portugal so no testing for me at the moment but I am eagerly watching the thread [emoji3]

Maybe also [MENTION=3503248]Jiangyi[/MENTION] could help. He has fiddled around with camera on OmniROM quite a lot and probably has much insight in the underlying code. Unfortunately he seems not around at the moment. Perhaps he emerges again to our help...

Gesendet von meinem GT-I9100G mit Tapatalk
[Galaxy S II I9100G Android Development] adxamg:
You're lucky! :)

I had not much contact with him since i build cm12.1. I would not expect this will change now.

So, any testers here? I need logcats from testbuild, posting above. In the meantime i will do some other camera-tests.
[Galaxy S II I9100G Android Development] stryker09:
I can probs only get you the results in a couple hours. It's 2am here :rolleyes:
[Galaxy S II I9100G Android Development] Bambulbizarre:
Hi,

I'm seriously lost. I left for a long time the world of custom roms and co. But today I'm trying to have this 6.x rom working on my i9100G. The rom works great but i can't flash the gaps (Never change my system partition size, and I seriously have a hard time to do it... I really need help please, I look at most of the tuto I found here for that but I don't understand a thing, i already soft brick my SGSIIG a couple times...)

Please helpe me guys =/
[Galaxy S II I9100G Android Development] PuYaU:
The i9100 device have official build on Cyanogenmod.. check at cyanogenmod download page for i9100.. here for i9100g..
[Galaxy S II I9100G Android Development] AndreasH123:
[MENTION=7586762]Bambulbizarre[/MENTION]

Did you follow the instruction "word by word"?

eg did you install gaaps with gaaps config file (extracted) immediately after flashing the rom, ie before the first boot?

(as you should...)
[Galaxy S II I9100G Android Development] Bambulbizarre:
The file is on my SD Card so It seems, even if could have done something wrong..

Well, I finally ended on 5.1.1, needing to be able to use my phone so i'll stay this way for now I guess.

Thanks for taking the time anyway ;)
[Galaxy S II I9100G Android Development] Surf Excel:
need clarifications

hey dev! i am big fan of your work.

wanted to ask few questions, hope you don't mind answering noob like me.

*i already have twrp installed. so if i install this rom, will it brick my device? since this rom is cynogen based, so is there any chance of bricking it? also how stable is this rom? i was hoping to get this into my primary device for daily work basis. :angel::o

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

how stable is your rom?
[Galaxy S II I9100G Android Development] vodailam:
"Build 20160616 is currently the final version from my side. I will start and upload a new build with updated cm13 sources (no device specific changes guaranteed) for a donation, honoring developers work. This is just to cover costs for computer/energy and a part of time consumption. When there is no new build, it just means nobody is willing to honor developers work. Sad, more than 99% of people using this rom do. If this is against any rule of xda, i will delete this project."

I think I must come back to CM 11 now. Anyway, thank u so much for your work! :)
[Galaxy S II I9100G Android Development] TheNazarok:
is it stable for daily use?
[Galaxy S II I9100G Android Development] AndreasH123:
It depends on your priorities: If you need location by "gps only" or like to hear music with good sound or need a camera with zoom: cm 13 is insufficient. Otherwise it is better compared to the last cm 11 nightly which I have tested in 06/16.

...TWRP isorec backups secure against accidents.

I use cm 13 for "daily use" and like it :)
[Galaxy S II I9100G Android Development] mr.haqeem:
can sum1 help me step by step how to install gapps for this rom? i can install it but cant open play store. and also got "AOSP keyboard" error
[Galaxy S II I9100G Android Development] McConnor:
My first advice is: read the first post - completely!

Gesendet von meinem SM-G930F mit Tapatalk
[Galaxy S II I9100G Android Development] mr.haqeem:
Already do as the post say but google play store still cant open. I think bcoz of the gapps not installed the play store services. Any solutions?
[Galaxy S II I9100G Android Development] jochensp:
Use TWRP from the first post to install gapps (it doesn't worked for me using Cyanogenmod recovery).

Use an old version of gapps.zip (open_gapps-arm-6.0-stock-20160609.zip worked for me, the one from 20160727 didn't).
[Galaxy S II I9100G Android Development] adxamg:
Build i9100g cm13 20160730 is online.

Latest cm13 sources, updated android security patch level. I did not test this build.
[Galaxy S II I9100G Android Development] mr.haqeem:
dude..thanks a lot. it workS. ;)
[Galaxy S II I9100G Android Development] AndreasH123:
I installed cm 13 160730 after making backup with TWRP isorec.

Installation was fluid...but gps and camera zoom are still not working...sound on youtube is very bad/electric...imho worse than before.

...possibly as bad as with the withdrawn version cm 160618 ???

Sound at phone calls is normal.
[Galaxy S II I9100G Android Development] adxamg:
I see, patches with sound changes were still in this build. I will remove last changes and rebuild it.

New build cm13 20160731 is online. Last sound config changes were removed.
[Galaxy S II I9100G Android Development] AndreasH123:
Thank you for the upate !!

I checked with the new update music on youtube again. The sound seems to be now of same quality as in cm13 160616, i.e. acceptable for occasional hearing of music imho, but probably insufficient if you want to enjoy music really for a longer time :)
[Galaxy S II I9100G Android Development] vodailam:
Have you gotten any problem about the camera, AndreasH123? For example, you took some photo and camera got problem "disconnect" :confused:
[Galaxy S II I9100G Android Development] AndreasH123:
[MENTION=404544]void[/MENTION]ailam

yes...I had installed "open camera app" and had no probs except zoom not working. Then I tried a number of camera apps for archieving zoom..in a number of cases thereafter the error appeared for every camera app: "can not connect with camera".

So I deinstalled these apps and everything was ok again with open camera.

(Could be that I additionally cleared cache or even overinstalled cm 13 just one time more.)
[Galaxy S II I9100G Android Development] vodailam:
Thank u so much for your information, AndreasH123! Maybe I must wait for new updating (with the fixed camera)! :fingers-crossed:
[Galaxy S II I9100G Android Development] Adrian-66:
Check the last Update.

Handsfree over bluetooth to car audio radio is the tone muffled as underwater, you can hear only very poorly.

The Car Radio is Audio 20.
[Galaxy S II I9100G Android Development] marcimix:
Solution for GPS

Developer option --> root access -> and choose Apps and ADB.

Now I have GPS signal about couple second but before I don't have even get a fix.

CHEERS!
[Galaxy S II I9100G Android Development] irfan from indonesia:
Can you help me ? My base band version is unknown and my imei is lost :'(

Thank before :)
[Galaxy S II I9100G Android Development] adxamg:
You have an i9100g phone? Try a clean flash as desribed in first post. Maybe try an older build of cm13 first.
[Galaxy S II I9100G Android Development] adxamg:
Someone using cm13 could verify this?
[Galaxy S II I9100G Android Development] irfan from indonesia:
But before i flash this rom my rom is official 4.1.2 and my baseband version is unknown, my imei is null/null

:) can you help me please ? I very need advice from you :)
[Galaxy S II I9100G Android Development] McConnor:
As far as I know imei is not recoverable - that's why it is advised to save it once before. Without it mobile connectivity is impaired...

Gesendet von meinem SM-G930F mit Tapatalk
[Galaxy S II I9100G Android Development] adxamg:
New build i9100g cm13 20160813 is online.

Updated cm13 sources and several security patches from latest android security bulletin.

Android security patch level is now 01.08.2016
[Galaxy S II I9100G Android Development] qqqqluck:
The build i9100g cm13 20160813 can not boot
[Galaxy S II I9100G Android Development] ruudschmahinda:
confirmed, can not boot into recovery/updater either. got to sideload TWRP again.
[Galaxy S II I9100G Android Development] adxamg:
Ok, i removed this build.

Edit: There where many changes when i synced repos for last build. Maybe just wrong time to build. I noticed some warnings about recovery, maybe also relevant. Need to check it, when there is time.
[Galaxy S II I9100G Android Development] toppits:
Is there? :D

GPS is the only thing keeping me from going to CM13. Can someone confirm if location services are working well enough to use navigation?
[Galaxy S II I9100G Android Development] McConnor:
Right now I got the cm 12.1 Rom Installed. I will see if I find the time to flash cm 13 again these days to verify. All in all I find it unlikly that this should remedy the GPS Problems but we will see. Other people should please also Report back as imho this really is the last big Show Stopper of cm13 for this phone...

Gesendet von meinem SM-G930F mit Tapatalk
[Galaxy S II I9100G Android Development] adxamg:
I uploaded build cm13 20160816. Could someone test, if this one is booting.

No changes, just new cm13 sources. If it's again not booting, it's a bigger problem. :mad:

Edit: I removed this build. Don't have time to analyse this at the moment. I would recommend to use cm12.1. It's running well and android security patch level is up to date.
[Galaxy S II I9100G Android Development] irfan from indonesia:
Why i can't install gapps in this rom sir?

Error code:70 via twrp

What can i should going to do sir?

Or i can install gapps with another way sir?

And can you help me fix my IMEI and baseband version sir ?

Thanks :)
[Galaxy S II I9100G Android Development] Adrian-66:
wait download the cm13 20160816 and check this.

Sorry not work. I can not Boot and have no recovery.

I can only flash with odin.
[Galaxy S II I9100G Android Development] PuYaU:
Latest build are not booting

So we have bigger problem. :(:(:(
[Galaxy S II I9100G Android Development] ruudschmahinda:
the 20160731 does work fine for me, but I do not use gapps anymore... it is sooo awesome! fdroid for the win.. haha!!

anyways, what I actually wanted to comment: how awesome would a simple apt-get update && apt-get dist-upgrade -y be.. why google, why so complicated!!!
[Galaxy S II I9100G Android Development] Adrian-66:
or you can look first post.

******

Download .gapps-config file: and Flash this.

Download Google Apps:

Open GApps (recommended: ARM, 6.0, Stock (Download)) and flash this.

******
[Galaxy S II I9100G Android Development] McConnor:
Newest CM13 build is not available anymore - I just realized that when I wanted to check the GPS ADB thing that was reported earlier. If adxamg releases a new build I will test it - the next week I have some time on my hands; perhaps adxamgs manages to bring up a new build until then.
[Galaxy S II I9100G Android Development] adxamg:
Another try. I setup cm13 build on computer used also for cm12.1 builds. Download cm13 i9100g 20160828 (Edit: Removed, wait for new build)

Update: I noticed file size of boot/recovery image is exceeding partition size of this device in builds later than 20160731. This device is really getting old haha :silly:

Usable partition size = 8.388.608

Boot image 20160731 = 8.388.224

Later builds had more than 8,388.

Let's see what will happen, when i shrink it a little bit.
[Galaxy S II I9100G Android Development] PuYaU:
Yeah sir still not booting.. i also feel the recovery things coz, not booting is 1 thing, and even recovery cannot open after flash, look like as you said recovery space prob ??? .. yeah this divice is old, but its gold, try not to forget that ???
[Galaxy S II I9100G Android Development] ruudschmahinda:
confirmed
[Galaxy S II I9100G Android Development] adxamg:
I uploaded i9100g cm13 20160829. Boot image is now slightly below partition size limit. Feedback welcome about booting. And gps also.

Edit: Link removed, download latest build from first post.
[Galaxy S II I9100G Android Development] Adrian-66:
Okay download the last build and check this.

Install is run .....

Okay is boot is working!

wait for complete boot process .....

okay new configuration all install apps on handy is working. (finish)

okay Handy compelt boot. is working. check GPS.

very nice and many Thanks to you!!!!! GPS is working and have 9 Satellite. very good more check later or other user. :).
[Galaxy S II I9100G Android Development] ruudschmahinda:
I can confirm a successful boot and apps working as intended.

Will listen to the audio and test GPS later tomorrow.

THANK YOU!!!
[Galaxy S II I9100G Android Development] ruudschmahinda:
GPS with Osmand~ works perfectly

Audio still has the noticable high pitched ringing noise especially when bass is playing. With and without AudioFX turned on.

I do not have gapps installed though.
[Galaxy S II I9100G Android Development] ThePhoenixII:
Hello,

I just give it (20160829) a try :

- Isorec TWRP 2.7.8.0 installed

- repartition system using REPIT

- following instructions on the first page

All the installation process is ok : I have a clean CM13 install.

As far as I tested it, it works pretty well (GPS included)

What is not working for me :

- Snap camera (org.cyanogenmod.snap): tap on the icon, it asks for right to access resources, i say ok for all, it seems to run but stops suddenly.

If I try to use it through messaging (com.android.messaging), this latter just says that the camera is not available. I also tried with Viber but no more luck.

I thought it was fixed or it is just my config ? Is Open Camera still recommanded rather than Snap ?

If you need logfile, just tell me how to do.

What is working with some additionnal manipulations :

- Connect to a PC using USB : I cannot see the storage (internal and external) by default.

As a workaround, I have to go in the Developper Options->select USB configuration->select MTP.

I will try to use it daily and post back if there are more problems.

Edit : With 20160830, the snap camera is working. There is no zoom nor panorama though.
[Galaxy S II I9100G Android Development] adxamg:
Oh, i moved to another build machine, i guess i forgot one patch for camera. Wait for next build and snap camera should work again, also builtin camera functions in apps. About connection to pc, you have to activate usb mounting on your phone. standard is charging mode only.
[Galaxy S II I9100G Android Development] McConnor:
That will be the build I will try as soon as I am back Tomorrow and it is available...

What is it with the sound anyway? It was working so smooth on cm 12.1 - has cm13 changed so much in ways of audio that the well proven configs don't work right anymore?

Gesendet von meinem SM-G930F mit Tapatalk
[Galaxy S II I9100G Android Development] ThePhoenixII:
I will wait then :)

Thanks again for your hardwork.
[Galaxy S II I9100G Android Development] adxamg:
I uploaded cm13 i9100g 20160830.

Added camera patch.

This build was built with 'cm mini phone' config instead of 'cm full phone' config to save some system space. Some grafics/animations have lower quality and some shell tools are removed (unzip...). It's a test build. If it breaks something i switch back to cm full phone. Feedback welcome.
[Galaxy S II I9100G Android Development] Adrian-66:
okay camera is working sorry no zoom

can not found panorama photo on camera app? This has previously not worked.
[Galaxy S II I9100G Android Development] ThePhoenixII:
I confirm that the camera is now working for photo and movie. Panorama is not working (the application stops and exits).

Some more tests :

- there are still sound distortions on system sounds like notification

- playing music (mp3 files) with built-in application (com.cyanogenmod.eleven) or watch a movie : I think it is an acceptable quality as I don't notice more distortions than on CM11 or 12.

- playing music (mp3 files) with built-in application (com.cyanogenmod.eleven) and output it using bluetooth device (bose soundlink) : the output is broken (start playing, then stop and start again and stop once more and so on). With CM 11 and 12, it worked fine.
[Galaxy S II I9100G Android Development] McConnor:
I also noticed the Bluetooth problem with my headset which makes listening to audio books impossible. Didn't test latest version yet. Perhaps tomorrow.

Gesendet von meinem SM-G930F mit Tapatalk
[Galaxy S II I9100G Android Development] adxamg:
I did not change bluetooth or audio (?) config in this build. I read in motorola razr thread (also an omap4 device) they also have bluetooth issues (no connection at all). There is also no solution so far. And this device has official cm13.

Someone using bluetooth connection for something different than audio? It would be helpful to know, if other bluetooth devices have a stable connection or not. Smartwatches or something like this.