yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] dirkovic:
Odin no longer detects my device. Heimdall frontend detects my device, but flashing cmw doesn't change the recovery.

EDIT: Okay, I reinstalled the USB drivers, my phone gets detected again. I will try flashing cmw.

EDIT 2: Yeaahhh, I could flash a cwm recovery and reflash cm13. Everything works again :)

Thank you all for your help!
[Galaxy S II Android Development] MigoMujahid:
No, not true, I'm running cm14 android 7.1 and i ran cm13 and cm12.1 before, i never had a opengl drawing issue, i play high end games like asphalt 8 or modern combat, and it's fine, if that what you mean.
[Galaxy S II Android Development] crispaul12:
Please help

Hello

I have a Galaxy S2(I9100) and I would upgrade to CM-13 ROM.

My current configuration is:

- rooted phone, JellyBean stock ROM;

- Philz 5 Recovery;

- Odin and USB drive on PC, all working OK;

- external SD card storage (CM-13 ROM and GAPPS stored in).

May you please help, describing a step-by-step procedure to correctly install CM-13?

Thanks in advance
[Galaxy S II Android Development] MARCOSOFT:
I think the ideal would be to transfer the money raised to the Paypal account of Lysergic Acid, so he can choose and buy, as well as some accessory.
[Galaxy S II Android Development] todonormal:
Yes, i think too. [MENTION=6159291]Lysergic Acid[/MENTION], talk with [MENTION=7435356]Teekanne3000[/MENTION]

In other order, i think what [MENTION=6159291]Lysergic Acid[/MENTION] could work in Cm14.1 with a beer ;)

Question general: if i sell a phone with cyanogenmod+twrp to dummie, and (s)he do factory data reset ¿what it's the more easy for installer gapss? remember s(he) it's dummie... ¿What do you think?

http://xdaforums.com/general/general/selling-phone-mobile-cyanogenmod-twrp-t3503747
[Galaxy S II Android Development] BatDroid:
I knw Sgs2 is running fine.

But I need a reply from someone who actually knows how to fixit or what dev did to fix it in Sgs2.
[Galaxy S II Android Development] MigoMujahid:
Read this carfully:

http://xdaforums.com/galaxy-s2/development-derivatives/guide-want-to-update-to-cm13-read-t3313978/
[Galaxy S II Android Development] crispaul12:
First of all thank you much for your answer.

The problem is that in the Guide you indicates the starting point is a CWM or TRWP recovery, whilst my current configuration is Philtz Touch 5 recovery.

So, in order to follow that Guide, I need a preliminary step e.g. install CWM or TRWP (preferred) recovery preferrably by means of the Philtz Touch 5 recovery (I have currently)

Anyway thank you again for the kind help
[Galaxy S II Android Development] MigoMujahid:
The guide is very simple, and your current recovery isn't a problem, if you read the Odin method which i followed 3 times before, you would see that you flash cwm recovery with the pit file directly with odin and it will replace your current recovery, this guide can be used no matter what rom or recovery is installed, just go with it, it's fine

You don't need to have cwm or twrp already installed to follow the guide :)

Note: Philtz touch recoverys aren't preferable if you want to flash cm13
[Galaxy S II Android Development] andyhers:
Maybe you can reflash to stock rom with odin, or even repit again to get "cleaner" state.

When thing goes wrong, i usually flash to stock rom to "reset", unless cwm/twrp still working
[Galaxy S II Android Development] crispaul12:
Where is described the Odin method ?

Thanks
[Galaxy S II Android Development] MigoMujahid:
Here:

http://xdaforums.com/galaxy-s2/development-derivatives/mod-increase-partition-size-t3011162/page41

Read the first post and follow the instructions

Sorry the other link was a different way to repartition

I got confused :eek: because both threads were made by saber :laugh:
[Galaxy S II Android Development] dirkovic:
Thank you.

I managed to get my S2 working again by reflashing a cwm recovery. I thought about to repit the original pit file and reflash a stock rom and start all over again, but I was worried I would make a mistake and brick my device.

Now it's working like a charm and I want to thank [MENTION=6159291]Lysergic Acid[/MENTION] for his great work!
[Galaxy S II Android Development] sarimo1:
Gaaps

[IMG="https://4.bp.blogspot.com/-rAF-K5xmwLw/V3WKQwJRr0I/AAAAAAAABcE/idGQsJPcEEoEgXvRxJBC8tkcyxnm6OnxACLcB/s1600/geny51.jpg"]https://4.bp.blogspot.com/-rAF-K5xmwLw/V3WKQwJRr0I/AAAAAAAABcE/idGQsJPcEEoEgXvRxJBC8tkcyxnm6OnxACLcB/s1600/geny51.jpg[/IMG]every time i try to insall Gapps from cwm . i can't . and i don't know withch gapps i must download . please help me xda team .:crying::crying::crying::crying::crying::crying::crying::crying::crying::crying::crying::crying::crying::crying::crying::crying::crying:

and how to know my cpu device type .
[Galaxy S II Android Development] Draky50110:
i9100 = arm.
[Galaxy S II Android Development] Kurt Krummbein:
Research is not your strength ?

See "SPECS" on XDA-Device Page for SGSII

Google Exynos

Result: ARM

You're disqualified for this thread (not even knowing the CPU-arch), why don't you go to HOWTO threads, surely easier to understand for you ;).

Gtz

Kurt
[Galaxy S II Android Development] the.gangster:
[MENTION=6821830]sarimo1[/MENTION]

next time read opening posts of threads you post into.

Don't tell us you did.

And as I can predict your future already, make sure you read this guide twice.

So don't post here or anywhere asking why you get error #70 when flashing GApps.

Above guide explains all the steps to be taken for you to succeed.

Good luck.
[Galaxy S II Android Development] joks1:
Hi guys, i need total help.

So i have rooted JB 4.1.2 phone with:

- CWM Recovery 6.0.2.7

- 3.0.31 -Jeboo kernel

And i cant install anything. I cant install CM13 from CWM recovery, i cant install TWRP from anywhere (if i install from CWM, then installation is very fast and without errors, but i still load back up in CWM instead of TWRP. Heimdall gives me "ERROR: Claiming interface failed!"), adb root cant find my device in bootloader, only in recovery. Odin detects my phone at first, but as soon as i do driver reinstall in Zadig.exe, Odin doesnt see my phone anymore.

How do install anything?
[Galaxy S II Android Development] TriboDoP:
First of all: read Guide "how to update to cm13" by [MENTION=7005908]saber.[/MENTION]

One possible Solution without pc:

Update to cwm 6.0.4.7 or 6.0.5.x using your present cwm recovery.

Then flash with new recovery latest cm 11 (IsoRec kernel) and IsoRec twrp 3.0.2-1

In twrp use lanchon repit Tool and repit to 1gb System and 4 GB data.

When having repitted only then it is possible to flash cm13 and gapps using .

---------- Post added at 10:44 PM ---------- Previous post was at 10:41 PM ----------

At the End of my Post i forgot to write "using twrp" (to flash cm13 and gapps)
[Galaxy S II Android Development] joks1:
Nothing worked until i put in simcard. now i have used Odin with TWRP and Kernel. I am in TWRP but i am not sure if i have successfully formatted SDcard, i assume i am.
[Galaxy S II Android Development] TriboDoP:
Hi

It is not clear from your post:

are you on an isorec kernel and isorec twrp recovery 3.0.2-1 ?

and did you repit in twrp 3 using lanchons repit tool ? (If not sure about repitting - do it again)
[Galaxy S II Android Development] joks1:
i did these steps :

6. Click on the PIT button and locate and select your desired pit file

7. Click on PDA or AP and select your kernel .tar file (look at this post if you don't have one: Pre-made kernel tar Link)

i think i used "I9100_1GB-System_3GB-Data_512MB-Preload.pit" and i definitely used "kernel-Lanchon-TRIM-IsoRec-20160207-cm-13.0-i9100-for-ODIN.tar"

i have no idea about how good or bad that kernel is.

But after everything, it shows 3GB of total internal storage, and 10GB free SDcard0 storage.

And Holy COW! i tried everything for the biggest part of the day, but then i put in simcard and successfully used odin, and 20-30minutes later i am already in lockscreen of CM13!

edit: i also flashed latest "twrp-3.0.2-1-i9100.img" while i was in recovery mode, before installing CM13.
[Galaxy S II Android Development] TriboDoP:
So finally everything worked out fine

Btw lanchons kernel is allright but when flashing cm13 you will have cm13 kernel anyway.

Regards
[Galaxy S II Android Development] joks1:
Yes, so far it looks all worked out. My phone was behaving very weird without simcard - wifi automatically turned back on right after i switched it off, debugging mode was disabling itself sometimes (this probably made biggest problems why things didnt work).
[Galaxy S II Android Development] MARCOSOFT:
Lysergic,

Have you received this money to buy a new S2 I9100?
[Galaxy S II Android Development] todonormal:
I think what [MENTION=7435356]Teekanne3000[/MENTION] and [MENTION=6159291]Lysergic Acid[/MENTION] know...
[Galaxy S II Android Development] Teekanne3000:
pocketrule is sending a s2 to lysergic. if it arrived, i will transfer the money. if it will not arrived, i will send a second one.

edit: i have read the quotation that lysergic can buy a s2 in his country. i will transfer the money to him as soon as possible.

greetings
[Galaxy S II Android Development] Lanchon:
Xposed

hi!

so on September 27, this was committed to CyanogenMod:

https://github.com/CyanogenMod/andr...mmit/b8be33b0bedec211708c4525b9d3f3b4effb385c

making it incompatible with the Xposed framework.

i never used Xposed before, but suddenly i have a need to test some things. tough luck...

could anybody post a pre-Sep 27 nightly of i9100 CM here?

alternatively, are there any unofficial CM builds for the i9100 that disable the problematic fd whitelist?

thank you!

EDIT: NEVER MIND! i found some builds already, thanks!
[Galaxy S II Android Development] todonormal:
Incredible [MENTION=4141005]Lanchon[/MENTION] !!!! :):o:D. Thanks for your great job:good:
[Galaxy S II Android Development] Mojtaba1991:
Hi :)

I want to use "Autostart Manager" in Clean Master and disable auto starting of some applications, but clean master can not "Granting..." for this work! (i have enabled root access for clean master before)

please help...

How can i manage applications autostart in this nice ROM?!:silly:
[Galaxy S II Android Development] MigoMujahid:
Try Using another app like "es task manager", "startup manager", or "All-in-one toolbox"
[Galaxy S II Android Development] BenjyTec:
Hey my friend, I think you're starting to mix up the CM13 and CM14 thread ;)

[MENTION=5848932]Mojtaba1991[/MENTION] go to Settings --> Privacy Guard --> Advanced and swipe to "Boot' tab. Maybe that's it what you are searching for.
[Galaxy S II Android Development] Lysergic Acid:
As [MENTION=7435356]Teekanne3000[/MENTION] said, [MENTION=7750699]pocketrule[/MENTION] will send me a s2 from Germany, I expect it to arrive in a month or so :)
[Galaxy S II Android Development] MigoMujahid:
Oh, sorry, you're right about that :D :silly:
[Galaxy S II Android Development] BenjyTec:
But no need to delete the post, maybe this answer helps nonetheless.
[Galaxy S II Android Development] joks1:
While we are a bit offtopic, i have similar question about autostart programs. Are there any alternatives to where i can disable triggers that autostart programs? I hate when a lot of programs autostart just because i connected a cable, or i connected to wi-fi. I have no reason to keep Dropbox for example running in background.

I would use Geminy App, but it crashes all the time when i modify these settings, worked good on old 4.1.2 Android.
[Galaxy S II Android Development] MigoMujahid:
Ok, I wrote it back with some editing...

---------- Post added at 09:26 PM ---------- Previous post was at 09:19 PM ----------

You can refer to [MENTION=6747943]BenjyTec[/MENTION] answer 4 posts back (i guess..), or my answer 5 posts back (also guessing... :D)
[Galaxy S II Android Development] Lanchon:
sorry, i've been out of touch with XDA. L.A., have you lost your S2?? if you know anybody visiting buenos aires from BR i can give them one for you

EDIT: i might go to Rio in december myself
[Galaxy S II Android Development] akhelmet:
Hi,

How to turn stock samsung rom, i tray but stuck samsung logo, cache clean dos not work

thanks
[Galaxy S II Android Development] Lysergic Acid:
My mom broke her phone (dropped on water is my guess, but I'm not sure), so I had to hand over my s2 as it was the only phone we had not being used as a daily driver. So now she's using CM13 lol
[Galaxy S II Android Development] the.gangster:
And is your mom aware of the burdon you handed over to her? To take care of 40 million phones out there?

I don't know how I would cope with such a responsibility.

;)
[Galaxy S II Android Development] Wachicamo:
Is just me, or the latest nightlies are draining battery faster compared to 2016-06-30?
[Galaxy S II Android Development] todonormal:
Xposed solution http://xdaforums.com/showpost.php?p=69732008&postcount=4556
[Galaxy S II Android Development] Lysergic Acid:
Lol

She's kinda old by now, so she has no idea about the responsability that s2 had. She also has no idea why I needed the phone, as it wasn't my daily driver. Well, trying to explain is a waste too :p
[Galaxy S II Android Development] joks1:
whats that? patch to increase battery life? btw - download links dont work.
[Galaxy S II Android Development] todonormal:
Because new version of xposed it's good: http://xdaforums.com/showthread.php?t=3034811

Battery life, configure your apps...

In marshmallow, autostart apps in Settings-->Memory too
[Galaxy S II Android Development] joks1:
Thanks. I will test my new CM13 for 1-2 weeks, and if battery wont improve, i will try this patch.
[Galaxy S II Android Development] todonormal:
For battery, the better it's buy new. Momax or Yiboyuan original, very good for me. I bought others very bad (nohon, for example)
[Galaxy S II Android Development] kiodo1981:
Has anyone having problems with Whatsapp? It's deleting some messages, showing notifications for already read messages and don't always send msgs. I tried to cancel my account without restoring old conversations but it still has problems and also tried to reinstall but didn't work. I'm using 21 November build. Thank you.
[Galaxy S II Android Development] mirhl:
For the hundredth time, it's supposedly a problem with F2FS. I already posted back for possible clues.
[Galaxy S II Android Development] kiodo1981:
I've been using F2FS for over a month and it's the first time I'm having problems with Whatsapp.
[Galaxy S II Android Development] lookwhoshere:
is there a way I can upgrade from 11.1 to 13.xx the latest version, what would you recommend?
[Galaxy S II Android Development] franticfreddy:
Use the forum search function, open your eyes and follow given instructions.

There exist its own thread on how-to upgrade to CM 13. :angel:
[Galaxy S II Android Development] jojobg:
F2FS is sometimes getting corrupted on logical level after some usage and dirty flash upgrades. Get the SD card a fsck / chkdsk pass.

edit: Just fixed corruption on my S2+ via adb shell fsck.f2fs on unmounted mixed partition. Phone was in reboot loop due to that.
[Galaxy S II Android Development] lookwhoshere:
what makes you think I dint do that!!

for all those looking to upgrade to 13, I ended going to upgrade to 12.1 only as its a more stable version.
[Galaxy S II Android Development] Klaerchen:
I have the impression, that my S2 uses less battery and does not any longer tend to "lock up" when I activate WiFi since this commit: https://review.cyanogenmod.org/#/c/163897 (I build my own "nightlies" every now and then).
[Galaxy S II Android Development] Draky50110:
Don"t know why there is no more build :/

Last is 21...
[Galaxy S II Android Development] Network_Pro:
I was able to install it like this:

- Put device into download mode: charge battery to 50+% or max if its an old battery; remove battery, wait some minutes, put battery back in, Hold Volume Down, Home & Power until screen shows some logo, release power and continue holding Volume Down and Home button until disclaimer appears, press VolUp/Down to navigate menus and Power to select option.

- Flashed I9100JHLSB_I9100PTRLSB_I9100JHLS2_HOME.tar.md5 with Odin3_v3.12.3 (to update any modems radios etc lower level firmware images)

- Flashed CWM-KitKatCompatible-i9100.tar with older Odin3_v1.85.zip (didnt work with Odin3_v3.12.3.zip) (gives Triangle warning on boot because of detected customization)

- Installed recovery-the.gangster-IsoRec-TWRP-3.0.2-1-i9100.zip (from sdcard)

- Once in TWRP, flashed twrp-3.0.2-1-moddedbythegangsterforpreload-i9100.img

- Advanced Wiped all partitions; again flashed the TWRP img to Recovery (before reboot) just in case it gets lost from all the wiping

- Installed lanchon-repit-20160923-system=1G-data=same-sdcard=max-preload=min+wipe-i9100.zip to resize system

- Installed cm-13.0-20161121-NIGHTLY-i9100.zip and open_gapps-arm-6.0-pico-20161130.zip (open_gapps-arm-6.0-aroma-20161130.zip is missing Play Store)

Maybe you can be more specific like this in your main posts in the threads ? This took me hours to research because the author didn't mention it, when it should have taken just minutes.

No wonder why Open Source is not popular at all with this time waste just to install.

Not complaining, just criticizing.
[Galaxy S II Android Development] Klaerchen:
You got the wrong discussion forum (it's S2 here).

But, generally a device receives nightlies only from one branch. Since S5 has moved to CM14 nightlies, there are no longer CM13 nightlies. Only snapshots from time to time.
[Galaxy S II Android Development] robby2107:
It dosn't matter, because the last nightly works very fine. [emoji6]

Gesendet von meinem GT-I9100 mit Tapatalk
[Galaxy S II Android Development] Sub_Zero2:
Seems the i9100 has been very well maintained... I see people complaining about problems over at the i9300 thread all the time
[Galaxy S II Android Development] 0670:
When will snapshot build relase? [MENTION=6159291]Lysergic Acid[/MENTION]
[Galaxy S II Android Development] Namoi:
Guys,

Sorry to double post (i posted also on the cm13 update guide) as I usually refrain to do so and try to first solve my issues by myself, but this time i am really stuck.

I am coming from Dirty Unicorns, so I obviously repited my GS2 initially with a min preload, but as i read that could be problematic I repited using 512MB for preload. Of course sytem is 1GB and data is 6GB.

I am also using latest IsoRec (I even tried with the one from The Gangster which allow to wipe preload).

All partitions are wiped.

Nonetheless I always get Error 7 (not 70) when I flash latest Nightly (also tried with past nightlies).

I don't get it. I read one trick is to edit the updater script and remove the first line (assert), but I want to test this only if it is the only solution.

Do someone has a clue ?

Thanks

Edit: I also noticed that the installer script resize my system partition to 500GB after installing oO.
[Galaxy S II Android Development] seugirdor:
I did the same thing. I looked everywhere for a list of known issues with the CM13 on the i9100, since i didn't find it i installed the CM12.1.
[Galaxy S II Android Development] rnd83:
build error

This might not be the best place to post this. If you know a better thread please let me know.

I followed the CyanogenMod wiki to build CM13 but got a build error because LOCAL_MODULE := libUMP is defined twice. Once in

hardware/samsung/exynos4/hal/libUMP/Android.mk

and also in

vendor/samsung/galaxys2-common/proprietary/Android.mk

which gets created by the extract-files.sh script in

device/samsung/galaxys2-common/

.

If I remove i9100 from the filter in extract-files.sh to force building the version from

hardware/samsung/exynos4/hal/libUMP

I get an error about a missing libfimc.so. This can be corrected by setting BOARD_USES_PROPRIETARY_LIBFIMC to false. This will build the version from

hardware/samsung/exynos4/hal/libfimc

.

So I now have a build that works without pulling in proprietary files for libUMP.so and libfimc.so. The phone seems to be working fine. Cameras, both front and back, work. Video works too. Any hints what else I could test?

Anyway, I think this should be corrected in the official build (I'm guessing nobody has run extract-files.sh for a long time), but I don't know if the way I did it is the best way. Maybe the two libs should be removed from extract-files.sh altogether, but this could affect other devices as well.

Here are the changes I made:

device/samsung/i9100

diff --git a/extract-files.sh b/extract-files.sh
index f4e2b6b..8d9b09c 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -79,6 +79,7 @@ done

USE_CAMERA_STUB := false
BOARD_USES_GENERIC_AUDIO := false
+BOARD_USES_PROPRIETARY_LIBFIMC := false
EOF

(cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__VENDOR__/$VENDOR/g > ../../../$DEVICEOUTDIR/$DEVICE-vendor.mk

device/samsung/galaxys2-common

diff --git a/extract-files.sh b/extract-files.sh
index 978e51d..cd428bd 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -89,7 +89,7 @@ done

LOCAL_PATH := \$(call my-dir)

-ifneq (\$(filter i777 i9100 sc02c n7000,\$(TARGET_DEVICE)),)
+ifneq (\$(filter i777 sc02c n7000,\$(TARGET_DEVICE)),)

include \$(CLEAR_VARS)
LOCAL_MODULE := libUMP

I also removed the line system/lib/libfimc.so from proprietary-files.txt just to be sure, but hat is probably not necessary.

I have no idea how to use Gerrit, especially when it affects two 'projects' at the same time. Maybe someone with more knowledge can look into this. Thanks!
[Galaxy S II Android Development] Namoi:
Well i tried evrything i could to install it, but even from a fresh CM12.1 install i still get that error.

So I began to suspect something going wrong with the updater script.

Well, I spoted 2 differences between CM12.1 and CM13 updater script.

In the latest the data partition is defacto converted to f2fs AFAIK

mount("f2fs", "EMMC", "/dev/block/mmcblk0p10", "/data", "");

The second one is a check that lead to the error i i get

if range_sha1("/dev/block/mmcblk0p9", "16,0,32770,32801,32803,33315,65535,65536,65538,66050,91028,98304,98306,98337,98339,98851,131071") == "bddc5ce4e3ab918c1ff8916f7ae4e80c44b4522c" then
if range_sha1("/dev/block/mmcblk0p9", "18,32770,32801,32803,33315,65535,65536,65538,66050,91028,91540,97792,98304,98306,98337,98339,98851,131071,131072") == "53d82ebd27c7d13f672ebc847bec3eefad9fb23b" then
ui_print("Verified the updated system image.");
else
abort("system partition has unexpected non-zero contents after OTA update");
endif;
else
abort("system partition has unexpected contents after OTA update");
endif;

So I changed the first to

mount("Ext4", "EMMC", "/dev/block/mmcblk0p10", "/data", "");

Which probably is neither a bad or a good idea (even if i noted under Dirty Unicorns some problemes using F2FS)

But mostly I dirty removed the check.

Then I installed CM13 again, and guess what ? no errors of course as i removed the checks, but mostly it boots !

So I don't know what is wrong with this updater or what is wrong with my device, but the two don't like each other.

If OP can investigate why this check is present now and why on some (well, ok my) device it derps that could be great.

Thanks
[Galaxy S II Android Development] Lysergic Acid:
We will have no snapshot builds of CM13 unfortunately
[Galaxy S II Android Development] marzametal:
Q about new nightly...

Does cm-13.0-20161204-NIGHTLY-i9100.zip have the December Security Updates?
[Galaxy S II Android Development] rogers11:
No, it hasn't.
[Galaxy S II Android Development] iron86:
How about CM14.1?
[Galaxy S II Android Development] mirhl:
I have blue balls for bug reports to open they won't accept on jira without a stable build.
[Galaxy S II Android Development] kiodo1981:
I know there are many varialbles, but...

How many hours of screen on?

I turned on display energy saving and brightness adjusted at 30%, my display is on for 1.45hrs.

The bluetooth is on because it is connected to my Cubot V1 and 2G data (WiFi 20 mins).

I'm now using CM13 20161204 with nano opengapps. I'm using ForceDoze.

Is battery consumption right?

Thanks
[Galaxy S II Android Development] Lysergic Acid:
I'm holding it a little till I get the s2 that is supposedly sent to me, but it will be done :)
[Galaxy S II Android Development] Boolian:
Duplicate post