yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] gianluca.cecchi:
Hello, I'm currently on cm13 24/09 with my i9100 that I use as a daily phone.

It is 2 days that when I put it under charge (to the wall) I can neither see the flash icon on top nor the "charging" word at the bottom.

But the battery count increases up to 100% and in fact I can then use it all day long as usual..

I'm going to eventually flash the just newly released 30/10 over it, but just to know if this sort of behavior already happened to other guys and if it could be a sign of any problem with the physical usb connector on the phone.

Thanks in advance.
[Galaxy S II Android Development] Sub_Zero2:
Good idea!
[Galaxy S II Android Development] ajislav:
Try the short way first, I.e. format preload
[Galaxy S II Android Development] KaeptnAmerica:
Sounds promising

Hi [MENTION=6560258]the.gangster[/MENTION],

I will try this as soon as I'm back at my device. Currently I'm at work and this is gonna be a long day. So my next post will be in about 12h. But i defenitly will post back, so that you - and all other readers - know whether my problem is solved or not.
[Galaxy S II Android Development] cainwireshark:
please can someone assist me in getting this file please thanks CWM 6.0.4.9.zip file KitKat Compatible to flash Marshmallow
[Galaxy S II Android Development] Saber:
Hi,

In the OP, there is a guide you can follow to upgrade to CM13.

If possible, you should be using TWRP 3.x along with a kernel that supports the isolated recovery (dorimanx on stock jb).

Saber.
[Galaxy S II Android Development] -zalo:
here you go
[Galaxy S II Android Development] KaeptnAmerica:
Where is preload located?

Hi,

as mentioned i would like to format the preload partition. But now have the problem to figure out which one this is.

In my /etc/fstab there are only:

In the TWRP-GUI 3.0.2.1 in the wipe menu, there is no option for the preload area. Someone also mentioned emmc. Also emmc is not findable for me in here.

Again please help me :confused:
[Galaxy S II Android Development] TriboDoP:
Hi

I still believe the most easy way is to use lanchons repit.

While waiting for other advice you could read the excellent Guide by [MENTION=6560258]the.gangster[/MENTION] (in german) on: Android Hilfe s2 (how to) verändern der partitonen mit und ohne datenerhalt....
[Galaxy S II Android Development] the.gangster:
[MENTION=7828900]KaeptnAmerica[/MENTION]

As being said already, only philz recovery offered the option to wipe from its GUI.

That's why we recommended the repit-script to do the job. But it is simply issuing a terminal command in TWRP recovery.

The preload partition is /dev/block/mmcblk0p12 (aka /dev/block/platform/dw_mmc/by-name/HIDDEN)

So:

mke2fs -t ext4 /dev/block/mmcblk0p12

Should do the trick.

make_ext4fs (depending on runtime environment of a recovery) could also be used.

[MENTION=7031250]TriboDoP[/MENTION]

Thanks

Edit: [MENTION=414800]arnab[/MENTION]

There were suggestions to add the preload partition to TWRP long ago but I don't remember your opinion on that. But in my honest opinion it would be a good thing to have the support for it in there.
[Galaxy S II Android Development] KaeptnAmerica:
Booting since 12:06

Thank you, for your help.

I think i got a little further. After formating the preload i rebooted the phone. Now in ticks of 30 seconds the phone vibrates.

After a not measured time at the bottom of the screen the phone states preparing X of 22 Aps.

Then when reaching the 22nd app the phone states at the bottom "Starting apps..."

After that instead of entering Android, the flashing cyanogenmod comes again, and the procedure starts as described above.

Maybe I should try to re-install CM13.1 and maybe the Kernel?

---------- Post added at 01:35 PM ---------- Previous post was at 01:08 PM ----------

Wuhuuuu, after re-installing CM13.1 within TWRP the system started after a few minutes. Stated to preparing 90 Apps and then CyanogenMod welcomed me with the installation procedure.

But then the battery drained to 2% and CyanogenMod shutted down the system :(

Now I've to wait the battery reaching a little bit of more power to re-start the system.

I'll be reporting back when my phone has sufficient power.

As for now [MENTION=6560258]the.gangster[/MENTION] thank you for your help with properly setting up the filesystem for the preload area.

Man, am I happy right now.
[Galaxy S II Android Development] KaeptnAmerica:
System is running on CM13.1 YEAH!!

Good evening everybody,

my Samsung Galaxy SII is running again. I thank you very very much. Especially [MENTION=6560258]the.gangster[/MENTION] for your help. Without your help I wouldn't know about the location of the preload area and how to re-format it.

Also thanks to [MENTION=7031250]TriboDoP[/MENTION] and [MENTION=7192829]franticfreddy[/MENTION] for your first hint with the preload area and indications to work on that.
[Galaxy S II Android Development] the.gangster:
[MENTION=7828900]KaeptnAmerica[/MENTION]

Your welcome. And not that it would be important to mention, but it was also me, hinting you on the preload being the problem first. LOL. Otherwise I wouldn't have posted at all if that would had been mentioned already.

Most important: you finally made it!
[Galaxy S II Android Development] keretapanau:
Hi....

Does any one have a problem to install apk file download from website not from play store?
[Galaxy S II Android Development] Sub_Zero2:
Yes i had this problem when google apps where continuously crashing...

This also made the weather service in the clock widget to fail...

I solved the problem by doing a clean install with the latest open google apps pico
[Galaxy S II Android Development] keretapanau:
I already do clean install latest cm13 with latest opengapps but i still cannot install apk files.
[Galaxy S II Android Development] keretapanau:
Here bugreport
[Galaxy S II Android Development] hasni2005:
i have done all steps described in 1st post

but still root wont work

when i need root access in some apps it said that the device is not rooted
[Galaxy S II Android Development] Sub_Zero2:
Fitst you have to enable root in developer options... And sometimes you have to do an update to a later version for it to take effect

---------- Post added at 01:19 PM ---------- Previous post was at 01:17 PM ----------

I'm in thailand at the moment on vacation, anf i'm trying to download the bugreport. Problem is it's slow.... Hang in there
[Galaxy S II Android Development] Sub_Zero2:
[MENTION=5158841]keretapanau[/MENTION]

I'm sorry i don't have the proper tools atm to view your bugreport, as i'm on vacation..... Someone else has to do this
[Galaxy S II Android Development] todonormal:
Do you work teamviewer quicksupport: http://xdaforums.com/showpost.php?p=67137377&postcount=75 ? how to?
[Galaxy S II Android Development] iistoryahi:
I think the problem is the apk that your trying to install is not updated or not supported on 6.x.x , try to download the latest version , let's see if it works
[Galaxy S II Android Development] keretapanau:
The apk file that i downloaded is the latest version. For example i downloaded whatsapp apk file from official whatsapp website. Still i cannot install it. But on my other phone, using android MM, i can install that file.
[Galaxy S II Android Development] cainwireshark:
thanks mate
[Galaxy S II Android Development] owaismukhtarkhan:
Hey guys, can u point me to most stable nightly!
[Galaxy S II Android Development] the.gangster:
Same question as a month ago?

Same answers as the ones you got already back then...
[Galaxy S II Android Development] owaismukhtarkhan:
You remembered [emoji12] , bro i am on cm12.1 and i have only one cell phone and i need cm13 for my daily driver thats why i am asking. So, i ask again can you point one out!!!

Thanks in advance bro
[Galaxy S II Android Development] gianluca.cecchi:
I previously used cm12.1 and at beginning of October I switched to cm13 version 24/09 and I'm currently with it even if I plan to update with latest releases.

Summary report

- wifi is better than in cm12.1 in my opinion and also drains less battery

- on the contrary 3g is good but it consumes more than in cm12.1 in my opinion

Typically during the day I'm connected to wifi for about 8 hours and in this situation 3g is automatically switched off and I arrive at evening with at least 20% (you risk if you use browser that in my opinion in both 12.1 and 13 consumes a lot... tried default one but also chrome)

I think that with all the day long in 3g I'm going to have problems to arrive at the end of the day (but similar also in cm12 even if less)

Bluetooth ok: tried with car

GPS ok: tried a travel with maps of about 30' in a sunny day with average speed of 60km/h (so not inside a city) and it consumed about 17%

Tried a travel of about 1h10' in similar situation with car charger connected to the phone: started at 59% and at the end I had 61% battery

verified chromecast worked very well (only youtube)

I have 3 gmail accounts configured (2 business and 1 free) and one imap mail account configured inside gmail app itself: no problem

whatsapp with several groups no problem

I also use dropbox and some other apps, no one had problems.

basic camera and video is good (not very much tested)

I had uptime of more than 10 days without particular accumulated lagging, while in cm12.1 I had to reboot after about 5-6 days, otherwise all became slower and less usable.

In 40 days I had only 2 crashes: one I presume due to initial usage of google keyboard (happened during charging at night: I found phone black at morning) that gave problems also in cm12.1.

Then I decided to use aosp keyboard that seems in cm13 more similar to google keyboard even if not the same (in 12.1 at the end I used swype )
[Galaxy S II Android Development] iistoryahi:
did you check the Unknown Sources on security settings ??
[Galaxy S II Android Development] keretapanau:
yes...already done that...still cannot install...
[Galaxy S II Android Development] Sub_Zero2:
Can you point me to this apk, post it here, or is it something personal like pornhub.apk ? (Kidding) :) I mean, is it something that's not freeware?
[Galaxy S II Android Development] owaismukhtarkhan:
Thanks bro,

this is very useful for me. going for update.

---------- Post added at 08:57 AM ---------- Previous post was at 08:55 AM ----------

Thanks bro,

this is very useful for me. going for update
[Galaxy S II Android Development] keretapanau:
U can try downloaded this apk file on the website...

https://www.whatsapp.com/android/

Or try downloaded other apk file on the website

Pornhub.apk...hmmm....hahaha...will consider it later...lol
[Galaxy S II Android Development] Sub_Zero2:
Ahhh... The whatsapp messenger... Saw some posts about it here a couple of months ago... Downloading it now....

---------- Post added at 07:24 AM ---------- Previous post was at 07:09 AM ----------

@keretapanau : i've just downloaded and installed it with no problems whatsoever... Even starts and runs ok....

Try again following this procedure:

* Use titanium backup to backup the apps you don't want to disappear

* Download latest nightly

* Download latest opengoogle apps, pico package for arm

* Go to recovery

* Wipe System partition (keep media) and /cache partition

* wipe dalvik cache if available

* flash latest nightly

* flash opengoogle apps pico

* reboot

And you should have it working!

When you've completed the setup, go to dev options and enable root for apps... Download titanium backup and restore the apps you backuped previously..

Mind this last edit

And for reference, i used cyanogen recovery to do this
[Galaxy S II Android Development] keretapanau:
The problems appear recently only. Dont remember on what build that problem occure. On latest build of cm13, i cannot install the apk file. Not only whatsapp apk file, others apk file also cannot instal including pornhub.apk, lol....:laugh::laugh:

Ok sir, i will try make another clean flash on cm13+gapps...thank you for afford and guide....really appreciate it...

p/s: sorry for my bad english
[Galaxy S II Android Development] Sub_Zero2:
Ok i'm on 13102016 nightly atm... Since i'm in thailand atm and internet is slow.... Will update to a recent one soon, and have a test :)

P.s. bad english is nothing to be sorry about!
[Galaxy S II Android Development] gianluca.cecchi:
Hello,

about dirtyc0w.

Is it correct to say that our kernel is android_kernel_samsung_smdk4412 source?

I see this commit on 20th of October 2016

https://github.com/CyanogenMod/andr...mmit/6c0837fc69be45a1a1bf91c433ac3a4955597c4e

Does this mean that if I download and update my cm13 with cm-13.0-20161102-NIGHTLY-i9100.zip I am ok?

Thanks,

Gianluca
[Galaxy S II Android Development] TriboDoP:
my s2 says: smdk-4210
[Galaxy S II Android Development] gianluca.cecchi:
Hmm.. when I rebuilt beanstalk for kitkat for my i9100 device I seem to remember the smdk4412 part for kernel was used.... going through my old logs in fact I see in that build instructions file I made:

$ grep kernel my_instruxtions_file.txt

Adding dependency: CyanogenMod/android_kernel_samsung_smdk4412 -> kernel/samsung/smdk4412

Using default branch for android_kernel_samsung_smdk4412

Fetching project CyanogenMod/android_kernel_samsung_smdk4412

From git://github.com/CyanogenMod/android_kernel_samsung_smdk4412

I don't know if in following versions a different kernel was picked up....
[Galaxy S II Android Development] LeBourrin:
Yes our kernel is android_kernel_samsung_smdk4412. We got the dirtyc0w patch.

PS: smdk4210 and smdk4412 were merged long time ago.
[Galaxy S II Android Development] Typhoon_Master:
Does anyone have problems with syncing calendar and contacts with the google account?
[Galaxy S II Android Development] Sub_Zero2:
I'm now on the 31102016 build, and whatsapp install without any problem, and runs ok.... I tried to download the 02112016 build, but it's stopping all tje time because of packet loss (thai mobile internet)

Anyway, how's your progress on getting it to work?
[Galaxy S II Android Development] keretapanau:
Right now still under process installing back my apps....file manager always stop, force close...i'll wait until process installing apps done first then i'll try later....will revert to u back...
[Galaxy S II Android Development] Sub_Zero2:
I recently had the file manager problem... All you have to do is go to settings, apps, tap on file manager app, tap on data, and then clear all the file manager data... Then it will work...
[Galaxy S II Android Development] hwasdin:
Hello,

I asked here once (but in wrong topic), so I will ask You again. Is there any module, any way - to block sliding status bar in lock screen? (turning off "fast sliding" won't help).
[Galaxy S II Android Development] BenjyTec:
Sync works good for me, only annoying thing is that for a few weeks now, every contact is tripled in my contacts list. Anyone else? I'm on a two months older build BTW.
[Galaxy S II Android Development] Sub_Zero2:
[MENTION=5158841]keretapanau[/MENTION] : how's it going... Did you get it to work?
[Galaxy S II Android Development] Lysergic Acid:
I would accept a s2 with a broken screen, actually any s2 that's not in use and won't be missed. As a full time student I cannot afford a new phone for development until I finish my college and get a job :D

CM14 will probably get out but a bit delayed, cause I mean, I can review commits just looking at them, my knowledge on the device is enough for that, but fixing myself the issues is a problem.
[Galaxy S II Android Development] Ferdinandgab:
is someone facing this issue. when the phone is charging and its on(im using it) wont charge. it does the opposite. i need to let it charge alone and it will do it(it heats alot) when the phone is off and charging this issue does not appear. another thing i saw was when it was charging with the phone off. it said some % level and when it booted up it showed up a lot more %. no more issues i see. just getting slow sometimes
[Galaxy S II Android Development] todonormal:
I think in xposed, and found this: http://xdaforums.com/showpost.php?p=69476164&postcount=2631

I think what xda should have a section of donations of hardware for developers :(:(
[Galaxy S II Android Development] Teekanne3000:
Hallo,

i have make a crowd funding campaign for Lysergic Acid to bring a new device to him.

If you have questions, please ask me.

https://www.generosity.com/community-fundraising/samsung-galaxy-s2-i9100-for-lysergic-acid--3

Greetings

Teekanne
[Galaxy S II Android Development] hwasdin:
Not working, but thanks for answer :good:
[Galaxy S II Android Development] Sub_Zero2:
[MENTION=6159291]Lysergic Acid[/MENTION] : I've donated $15 for your new i9100!

Come on people!!! The goal is now 14% on the way!! Donate here https://www.generosity.com/community-fundraising/samsung-galaxy-s2-i9100-for-lysergic-acid--3 ....

(Thanks to [MENTION=7435356]Teekanne3000[/MENTION] for putting up this crowdfund)

(I could have sent you an i9100 where a veeery small component on the motherboard is fried... Problem is that i'm in thailand atm and will stay here for 2 more months, so no use)

C'mon people, donate!
[Galaxy S II Android Development] EngineJoe:
[MENTION=5158841]keretapanau[/MENTION] : Make sure package installer has storage permission allowed.
[Galaxy S II Android Development] keretapanau:
Sorry for late reply. On vacation with no data coverage and wifi. After a few clean flash, only now i can install the apk file. Thank you very much for your guidance sir.

---------- Post added at 05:39 PM ---------- Previous post was at 05:35 PM ----------

I dont change any setting from the day that i use cm13 and can install apk file. The problem just occured on latest build. But now its already ok, i can install back the apk file. Tq
[Galaxy S II Android Development] Draky50110:
Have a problem with photo : photo app is ok but when using external app like barcode scanner, it is not a clean view and then it can not scan anything with photo camera :/

On camera app, I just have to touche the screen to focus/clear but on external app it is not possible.
[Galaxy S II Android Development] Sub_Zero2:
Very good. Told you it was gonna work ;)
[Galaxy S II Android Development] LeBourrin:
I confirm the auto-focus bug with Barcode Scanner and QR & Barcode Scanner apps.

But ... in Barcode Scanner, if you go to the Settings and uncheck "Use auto-focus" box, you can scan barcodes more easily.
[Galaxy S II Android Development] Draky50110:
Problem is that focus does not work in other app, like french "cosmic shell star wars" ;)

Seems it is a CM13 bug :/
[Galaxy S II Android Development] Sub_Zero2:
You can donate to the maintainer of this device here: https://www.generosity.com/community-fundraising/samsung-galaxy-s2-i9100-for-lysergic-acid--3

I've allready made a donation!
[Galaxy S II Android Development] Boolian:
Don't have credit card for Indiegogo - tried to donate via Paypal (caioschnepper@gmail.com) but it said "recipient cannot accept personal payments"
[MENTION=6159291]Lysergic Acid[/MENTION] what is best way to Paypal you a donation?
[Galaxy S II Android Development] Teekanne3000:
Hello,

if you want, you can donate via paypal to me, and i will add it to the Indiegogo/Generosity campaign.

Please ask me and i will send you my paypal id.

Greetings

Teekanne
[Galaxy S II Android Development] owaismukhtarkhan:
I can't select multiple message in message app, is their a way to do that or i have to live with this???
[Galaxy S II Android Development] Sub_Zero2:
27% allready on the fundraising... Keep it up people :)
[Galaxy S II Android Development] gianluca.cecchi:
Not that I'm a security expert, but while QR & Barcode Scanner app only requires camera and archiving space permissions, the other one seems to require too many things in my opinion (contacts... why????) and I didn't install....

BTW: is there a way to say to the QR & Barcode Scanner app (or in general to an app that needs access to camera) which camera app to use when it scans? It seems to me that in general, with and without autofocus settings enabled, it results quite difficult to focus, especially for barcode recognition...
[Galaxy S II Android Development] LeBourrin:
Yeah you're right. First versions of Barcode Scanner has not so many permissions. Updates added them. But i'm too lazy to find an other app :p

I thinks that's not possible.
[Galaxy S II Android Development] the.gangster:
[MENTION=7435356]Teekanne3000[/MENTION]

I really appreciate your idea and your initiative to collect for a device for our maintainer. So please don't get me wrong.

Also, this should *not* keep anyone else from donating as at least two members spent money already.

I would suggest, once the targeted amount of the foundraiser program got reached you'd rather donate the money itself to |ysergic acid, instead of buying a phone and a battery in Germany and ship it half way around the world. Apart from saving payments for shipment twice, he might be able to buy two devices for the same money in his country (and might also still have suitable batteries left).

Plus (and what I am more concerned about as you might have missed that):

The saved shipments would cover the 3rd-party costs that will be charged, as you most probably don't have a bank account in the US and might not have realized these additional costs for non-US money transferes. At least these additional 25$ are not part of your calculation. But if you have such a banking account (or can still choose one of someone living in the US when the disbursement is due) saving these extra-charges will make it much more efficient. Just wanted you to be aware.
[Galaxy S II Android Development] Teekanne3000:
[MENTION=6560258]the.gangster[/MENTION]

Thank you.

Is anyone here with an American bank account?

Greetings

Teekanne
[Galaxy S II Android Development] aminya:
Hi, does cm13 support recording from external microphone or external usb soundcard?
[Galaxy S II Android Development] Sub_Zero2:
Well.... Instead of buying it in germany you could cut some shipment expenses and just add the $25 fee... If you have a bank in germany with regular internet login, you can transfer the money directly to lysergic acid's account for free (just that it takes 2-5 working days)... Atleast that's how it works here in norway.... Now if lysergic acid don't have a credit or debit (visa/mastercard), how is he going to buy the phone?

[MENTION=6159291]Lysergic Acid[/MENTION] : Give us some info about the matter here, what do you think?

Anyways, just continue donating, people!
[Galaxy S II Android Development] kiodo1981:
I found this

http://www.ebay.it/itm/Smartphone-S...113281?hash=item4d4db3d681:g:rXgAAOSwZVlXiLbk

and this

http://www.ebay.it/itm/SAMSUNG-S2-G...936815?hash=item2119b0c86f:g:m2IAAOSwLnBX8hfV
[Galaxy S II Android Development] LeBourrin:
It's done, I made a donation on Generosity for Lysergic.

Other CM13 users, you can do it !
[Galaxy S II Android Development] job89:
There is a nice promotion on aliexpress on 11.11 when you search for samsung s2, maybe something for Lysergic
[Galaxy S II Android Development] Sub_Zero2:
The crowdfunding is at 32% allready after just 1 day!

Donate here: https://www.generosity.com/community-fundraising/samsung-galaxy-s2-i9100-for-lysergic-acid--3

The maintainer of this device needs you to donate so he can develop for cm13/cm14, because he needs a i9100.

C'mon people!
[Galaxy S II Android Development] Cintra2:
Worked OK for me just :)
[Galaxy S II Android Development] todonormal:
Write to apk developers

In other order, all donations it's very good for Lysergic, but i think too what it's better money because he can bought in Brasil: http://lista.mercadolivre.com.br/i9100#D[A:i9100]
[Galaxy S II Android Development] Draky50110:
If every app have a problem with auto focus, it is a bug, not every app problem...
[Galaxy S II Android Development] BenjyTec:
I guess you're right, I noticed the same focusing problems at Whatsapp's in app camera. Anyone else?
[Galaxy S II Android Development] Boolian:
Build 20161102 - Whatsapp auto focus working Ok.

Can confirm Barcode Scanner does not auto focus. It has not worked for a long time/previous builds.

Have not tried other scanners.

Other apps with camera access focus Ok.