yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] heleneh:
No write access to sdcard0

After several attemps (different patitioning, formatting and mounting) I installed CM12.1.

First I repatitioned with Odin to 2G system, 4G data and flashed with PhilZ-cwm6-XWMS3-FOP-5.15.9.tar.md5 as the recovery of CM12.1 doesn't have the possiblity to format and mount the single partition. This seems to be the probs before as the data wasn't found during CM installation and due to the fact that the text is so small I didn't read it!

Anyway after repartition and flasching I wiped the factory, formatted system, data, sdcard and mounted them manually. Then I installed cm-12.1-20150817-NIGHTLY-i9100.zip and tk_gapps-modular-mini-5.1.1-20150816-signed.zip. It doesn't work and I reinstalled CM 12.1 and surprisingly it worked unless the UI was stopped during startup. So a third installation was done and now it works (al of this took one day). But I can't copy my WhatsApp folder with all pics to the internal sdcard0. It don't has write permission. So I installed UPDATE-SuperSU-v2.46.zip and it says it gives the datamanger (or ES Explorer) root permission but it still doesn't work and after confirming the right for datamanger the datamanger stopps.

What did I wrong?
[Galaxy S II Original Android Development] aleMarvel:
happen me too !

i resolved :

1)repartion with odin, file pit and STOCK ROM

2) when start, after configure, stock rom give me a message of "partition corrupted on sdcard, format?".. i response yes

3) after i installed cm12 and gapps

;)
[Galaxy S II Original Android Development] heleneh:
Thanks, bu do I have to do the complete installation again? Just because there is no write access to the internal sdcard? I don't have any problems installing apps and sometimes after restart of the phone it's possible to copy data to sdcard0 for some time. At first I managed to copy my old WhatsApp folder, but unfortunately not completely. Also it was possible to delet a wrong folder directly after connecting the phone to the PC, but then again permission denied.

I think I could copy all data when in parts after each startup but that won't solve the problem. No possibility without reflashing as everything else seem to work fine?? :(

Thanks!
[Galaxy S II Original Android Development] daniu:
Hi,

I don't think doing all again is necessary: just do a nandroid, repartition and restore the backup.

I can imagine that also formatting /preload was missing - that's why your device was not booting properly in the first place. I think philz is best in formatting everything

I guess you would regrett not doing it again. If something goes wrong: just put back the backup - not really big risk ...

regards
[Galaxy S II Original Android Development] heleneh:
Thanks, but I don't understand why repartition and restore the backup will solve the problem as the sdcard0 is there and I can install app on it only when I want to copy files to the sdcard0 it says I need to have root rights. Even if the rights were given to the datamanger it says it can only be read. I formatted sdcard as ext4.
[Galaxy S II Original Android Development] chrisXL:
Yes, msg was for you. Don't need sim or microsd. You need recovery tar file on your pc and kernel/rom/gapps in zip format in internal memory.
[Galaxy S II Original Android Development] daniu:
Hi

I think that ext4 is your problem. I heard that that does not run smoothly - check back some pages in this thread - iirc

Regards
[Galaxy S II Original Android Development] LeBourrin:
I'm agree with [MENTION=1601710]daniu[/MENTION]. First time I installed CM12 I formated sdcard0 with ext4 and I got problems. So I reformated with vfat and it's good now.
[Galaxy S II Original Android Development] heleneh:
OKay that could really b the problem. just to be sure:

1. I Make a backup with Nandroid (no backup feature in CM recovery?)

2. Repartion with odin (PIT file + philz_touch_6.48.4-i9100.tar.md5)

3. wipe all data, Wipe cache, Advanced wipe Dalvink cache

4. formatting system, data and sdcard0 (vfat)

5. Mounting system, data, sdcard0

6. recover backup

Is this the right way? Thanks guys!
[Galaxy S II Original Android Development] LeBourrin:
Ok but :

2. I think it's useless to repartition again if your phone is already repartitionned

2. Philz touch 6.48 is good. I avoid Philz touch 5.xx because I've had format problem.

4. formatting system (ext4), data (ext4) and sdcard0 (vfat)

4. don't forget to format preload (ext4)
[Galaxy S II Original Android Development] Weib67:
More logs about freezes

This is the logs of a freeze from a full stock CM 12.1 (12 august build). Happened after 100h of uptime. Very lite usage overall.

http://pastebin.com/uQMziEb5

And here from another I9100, 16 august, xposed, stock kernel, heavy usage and much less uptime (few hours).

http://pastebin.com/QTbg6j3U

And another one:

http://pastebin.com/md4WFQKd

Hopefully they'll be useful. :cowboy:
[Galaxy S II Original Android Development] daniu:
Should work this away:

Concerning point 1: I would use LAs stock cm12.1 kernel with twrp - your backup of course also has this kernel and I would advice everybody to use this kernel anyways since you will need/want to do a nandroid then and now anyways ...

And yes - it seems like you can skip step 2, install philz from zip, wipe and format all partitions and I never did step 5 explicitly
[Galaxy S II Original Android Development] rommy667:
Upgraded from unofficial to this so far looks great the only problem i have is root is not getting granted even though ive enabled it in dev options anyone know how to fix this thanks.
[Galaxy S II Original Android Development] kostelo:
You should really perform a clean flash after fully wiping your device. Root works just fine for everyone.
[Galaxy S II Original Android Development] Spyr0s:
Why updating apps like Facebook takes almost half an hour on i9100? Flo is a little faster but still slow, is this a CM12.1 problem?
[Galaxy S II Original Android Development] kavi75:
Cyanogen Recovery

Someone please explain what are those Cyanogen Recovery near to Nightly Build?

How to install those img files?

What are advantages of those Cyanogen Recovery?
[Galaxy S II Original Android Development] the.gangster:
Ignore them.

They changed download pages for all devices, whether those have a separate recovery partition or not.

I9100 hasn't.
[Galaxy S II Original Android Development] heleneh:
Thanks for the confirmation.

Can't I use the new Nandroid App? This don't require to be in the recovery.

I tried to load PhilZ 6.x.x.zip via cyanogen recovery Apply update but it didn't work. After rebooting into recovery i've got always the cyanogen :confused:. If it's just a matter of formatting I would like to avoid repartion via Odin :(

Thanks for the help.

---------- Post added at 09:59 AM ---------- Previous post was at 09:18 AM ----------

Summarize:

1. Is it possible to Apply Philz 6.x.x.zip on cyanogen recovery?

2. Do I have to format only sdcard0 or all partitions?

3. If so System and data to ext4 and sdcard0 to vfat?

4. WhatsApp can't downöoad pics and vids and a manual backup isn't possible.....due to the wrong format?

sorry for the questions but i'm a newby to this.
[Galaxy S II Original Android Development] daniu:
flash supersu 2.46 from here: https://download.chainfire.eu/696/SuperSU

---------- Post added at 11:45 AM ---------- Previous post was at 11:34 AM ----------

Hi,

you are talking about onandroid? Read the requirements: either TWRP or CWM recovery ... will not work with cm recovery

You only need philz to format all partitions cause most other recoveries don't do it properly (either with or without error message). Use the signed version of philz - no idea where I found it -http://xdaforums.com/showpost.php?p=61647924&postcount=30. THIS philz recovery does not come with a kernel, so you need to flash some proper kernel (I would use LA's stock cm12.1 with twrp - I guess there is a link in the first post of this thread) before booting.

I guess you do not need to repartition again, but I also cannot see why you are so afraid of it ...

I don't know which format the partitions have, I used default for all of them.

So far I did not put back my old whatsapp data - but I guess you just copy it from the backup you did before doing anything (hmmm - maybe nobody told you before that it would have been a good idea to copy your internal sdcard to some place before starting ... I think it is there ...). AFAIK whatsapp does not keep the old data once you downloaded it.

regards
[Galaxy S II Original Android Development] heleneh:
So I aplied update via cyanogen recovery of philz_touch_6.48.4-i9100.zip and made a backup to sdcard1.

I tried to redoot to see if the data is there but it always reboots to philz recovery. Normal start up not possible, why? Should I have to reroot SuperSU?

Thanks
[Galaxy S II Original Android Development] daniu:
Hi,

as I wrote: philz touch is only recovery - no kernel - you can only format partitions and do stuff in recovery, but philz touch will actually really do the formatting ... Before botting the system you need to flash some recovery that comes with a kernel.

regards
[Galaxy S II Original Android Development] proze.za:
I just installed the 12.1 nightly for the first time and it's gorgeous! Everything seems to be working correctly. However the phone charges really, really slowly. It's been plugged in for over four hours now and still is only at 80% charged. It used to charge entirely in less than two hours on the same charger? I have Googled but have not found anything so far. Any ideas?
[Galaxy S II Original Android Development] heleneh:
Made a backup after Philz was applied and restored it after formatting but the system still starts in philz. So I instlled CM12.1 again and after restart the restored System was thre again (including all prvious installed Apps). BUT Wlan won't work :crying:!

I've got a TWRP Backup from Online Nandroid. Can it be restored via Online Nandroid or do I need another recovery? to recover TWRP Backups?
[Galaxy S II Original Android Development] daniu:
Hi

Well - of course after restoring your backup it is same as before (including philz). So you need to flash some kernel (which you did by flashing cm again)

Concerning onandroid: I never did it - no idea how it works ...

Concerning wifi: no idea - never had any issue with it - just read that it can happen.

Regards
[Galaxy S II Original Android Development] heleneh:
Thanks. How can I restore a TWRP backup? As this backup was made when all worked (incl. WLAN) I suppose it will work again after restoring. What do I need to restore this backup?

Edit: Just find in advanced of philz where you can switch to TWRP mode. When I want to restore and open the file there is a list of files. Should each file be restored or is it one file in parts and I only need to rstore and-sec file?

Edit: After restore with TWRP without MD5 checksum all services stopped after restarting (but WLAN icon was there...). After restore the philz backup WLAN doesn't work...

It seems that I have to start from scratch.....grrrr!
[Galaxy S II Original Android Development] adrianogoes:
Quote Spyr0s:

"Why updating apps like Facebook takes almost half an hour on i9100? Flo is a little faster but still slow, is this a CM12.1 problem?"

I have the same problem.

On the previous versions before the latest I've always had problems to install and update Facebook app.

Now, on the latest ROM, I can't event install Facebook app at all and I did a clean install.

I tried Play Store and direct download from APK Mirror. Tried official, betas and alphas versions with no sucess at all.

Please help!

I'm using Facebook Lite instead. :P
[Galaxy S II Original Android Development] Lanchon:
failure to boot into recovery makes me suspect you have a hardware issue. probably your emmc is failing. its happening a lot lately. the emmc really takes a beating working for years without trim.

if you repartitioned, you need to go back to stock partitioning to flash stock. you can also try flashing a known good custom kernel via odin and boot into recovery. if it doesnt work, its a strong indication that ur phone died.

cm does nothing to the phone, the emmc is just crappy and dies of old age.
[Galaxy S II Original Android Development] heleneh:
Did a new installation from scratch and now everthing seems to work fine. I appreciate your support. Thanks!

Just a last question: I've got the notificati0nof new CM updates. These have to be installed via recovery (apply update) after download?
[Galaxy S II Original Android Development] chrisXL:
Hi all, has anyone experienced with soft reboot when in call (build 08/20)? I tried to flash many times but always the same result. Ok all previous builds.
[Galaxy S II Original Android Development] maly_szcz:
Simple answer - no.

Just download and hit install. Phone will reboot, install, reboot again and you'll have a new CM's version installed.

Regards,

Daniel
[Galaxy S II Original Android Development] Lysergic Acid:
Two commits to fix video playback have been merged and will be present in the next nightly, one to correct the "green lines" and another to fix a black screen while playing mpeg4 videos :good:
[Galaxy S II Original Android Development] markandrion:
Any solution to the heating and fast draining battery issue? Thats a major problem I think?
[Galaxy S II Original Android Development] daniu:
Hi

Doesn't seem like many ppl have that - I don't ...

Have you tried removing the battery for a while? There is also the method to go in airplane mode and then shutting down before removing battery.

If that does not help: betterbatterystats or wakelock detector is your friend.

Regards
[Galaxy S II Original Android Development] cherryb8844:
What about random reboot my friend ?
[Galaxy S II Original Android Development] ShaggyM:
Hi Lysergic Acid,

Thanks a lot for your efforts, please keeping updating the rom. I am using your rom without any issue.
[Galaxy S II Original Android Development] LeBourrin:
And thanks to [MENTION=2222292]rINanDO[/MENTION]. He's really engaged in the debuging of our S2.
[Galaxy S II Original Android Development] Pa9an:
What plug do you mean by that?

Or do you mean, remove the battery and leave it unplugged for a while before re-plugging it in?

---------- Post added at 06:49 AM ---------- Previous post was at 06:45 AM ----------

Isn't that FPBug something that should affect all i9100 ??

How come, some (most?) people seem not to have it with pure CM12.1 ?

I do use DorimanX kernel on top of CM12.1 due to battery drain and camera overheating at the moment I installed CM12.1... :(
[Galaxy S II Original Android Development] gadam40:
Somebody also have problem with bad percentage of battery? Often when I reboot phone, my battery drain from 40~70% to 1~15% Also when I charging my phone when I do reboot battery gain to half charged...
[Galaxy S II Original Android Development] heleneh:
Thanks! I didnt install them as it came up during configuration of the phone. Can I reseach for updates? How?

I need to flash another one to CM. Can I just repartion with Philz to 2G system and 4G data and the wipe for new rom and install cm and GApps?

Thanks for the great help here!
[Galaxy S II Original Android Development] madmax00:
Hi everyone, I've just installed that rom and tk-mini gapps and works right, but... I can't get root access for Titanium Backup in orther to restore my apps... I've checked the root access in developer options and installed SuperSU correctly. In fact other apps seems to have root access, but TB continues saying "can't get root access... with command /system/xbin/su". I've tried /system/xbin/su in Terminal and works fine....

Any ideas?
[Galaxy S II Original Android Development] daniu:
Hi,

sorry - I guess that was my keyboard. I meant: remove it - not unplug ...

Have you tried stock kernel or directly switched to dorimanx? I did have your issue with dorimanx but not with stock kernel. I am not sure, but isn't FPBug hirtory?

regards
[Galaxy S II Original Android Development] str0be:
@ Lanchon

Tank you for your reply.

I tested many reflash with ODIN, with different version, from different stock Firmware or Custom Recovery like Philz one. Everything seems always to be fine, but phone still stuck on the yellow triangle.

As you said, it's now an old one, and sometime it's of course acceptable that the hardware failed !

And finally, happy you to confirm that CM Lolipop Nightly has nothing to do with it, coz I have another one, and I will be very happy to go back to LSD's Cyanogen ROM !

Have a nice day.
[Galaxy S II Original Android Development] BenjyTec:
Same here.

Gesendet: S2/ XDA Forums
[Galaxy S II Original Android Development] Pa9an:
I had my S2 on stock (Samsung) 4.1.something and wanted to bring it to Lollipop.

So, I rooted the device, flashed a revovery and put CM12.1 on it.

When I booted it, it gave me a hot camera and the battery drained down to 10% within MINUTES.

I read about the issue and finally found DorimanX kernel.

Installed it and it seemed to cure the issue.

What I didn't do is to do lots of testing with the 12.1 stock kernel, if the issue may have went away by itself somehow (maybe after more rebooting or some other stuff).

Do you think there is a good reason to try that again?

Flash the latest daily AGAIN to overwrite the DorimanX kernel and hope for the better?

Basically: Is that FPBug fix already built into stock kernel CM12.1 ??

Would that battery "calibration" still be useful?

Thanks for your insights!!
[Galaxy S II Original Android Development] Mauste:
I apologize if this has been asked and answered already, but I have not had any luck with my searches.

My problem is that I cannot write to sdcard0 in the cm12 official nightlies. I am able to place files to its root, but I am not able to copy files to any of the directories (for example …/Downloads/).

How can I solve this issue?

I upgraded to the official nightlies from the unofficial cyanogenmod 12 and in that one, I did not encounter this problem. I have also enabled root access and it works.
[Galaxy S II Original Android Development] rINanDO:
Yes, i also have strange this battery percentage behavior. I think it is more my battery age (2011!). With a normal full charge when activated my phone does 8 hours. When reaching 20% my screen flickers with a curreny of 2900mV and shuts off....

But when I don't use my phone in the last 20% battery life, it shutdown normally. Possibly the white colors are very battery consuming ;)
[Galaxy S II Original Android Development] str0be:
@ Lanchon

OK, I tested ONE LAST TIME (I swear !) after more than x20 try, and this time from a different computer and a different USB cable. Result unfortunatly the same : ODIN logs are OK (see herehunder), but phone doesnt reboot and is still locked on the Samsung logo with yellow triangle (note that I didn't repartionned my phone anytime)

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> I9100PXXLSU_I9100PXXLS8_I9100PXEFLS3_HOME.tar.md5 is valid.

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/004> Added!!

<ID:0/004> Odin engine v(ID:3.1005)..

<ID:0/004> File analysis..

<ID:0/004> SetupConnection..

<ID:0/004> Initialzation..

<ID:0/004> Get PIT for mapping..

<ID:0/004> Firmware update start..

<ID:0/004> SingleDownload.

<ID:0/004> boot.bin

<ID:0/004> NAND Write Start!!

<ID:0/004> cache.img

<ID:0/004> factoryfs.img

<ID:0/004> hidden.img

<ID:0/004> modem.bin

<ID:0/004> param.lfs

<ID:0/004> Sbl.bin

<ID:0/004> zImage

<ID:0/004> RQT_CLOSE !!

<ID:0/004> RES OK !!

<ID:0/004> Removed!!

<ID:0/004> Remain Port .... 0

<OSM> All threads completed. (succeed 1 / failed 0)

Anyway, thank you for your help and to have confirmed me this hardware issue and that Cyanogen has nothing to do with it. So let's go to upgrae my second S2 from stock to LSD Firmware !
[Galaxy S II Original Android Development] Xerroneous:
Have you flash the update?

UPDATE-SuperSU-v2.46.zip https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip?retrieve_file=1
[Galaxy S II Original Android Development] AloneOnTheDark:
When I flash the LA's kernel with TWRP on the latest roms I can't use my phone because UI crashes. I think there is something new in the original kernel starting from 08/19 release and it's missing on LA's "old" kernel. Am I the only one with this problem?
[Galaxy S II Original Android Development] gyu84:
Hi! Sorry if this asked and answered already, but I didn't find any solution.

Is there any way to send SMS from call log? When I get call from an unknown number and I can't answer, I didn't find any option to send SMS to that number, only if I add the number my contacts or enter manually in the Messages app.

Thanks!
[Galaxy S II Original Android Development] heleneh:
Can I reseach for CM updates? How?

I need to flash another one to CM. Can I just repartion with Philz to 2G system and 4G data and the wipe for new rom and install cm and GApps?

I managed to format my external SD (I'm such an idiot). Is there any App or Windows programm to restore the data? I used a PC Programm that found some files but interpreted it as excel files.

Thanks for the great help here!
[Galaxy S II Original Android Development] pilgrim011:
+1, can't perform a call (receive call or dial number) because the device soft reboots immediately.
[Galaxy S II Original Android Development] chrisXL:
+1 (from 08/20 build)

It's working for you with stock CM kernel?
[Galaxy S II Original Android Development] verticalleap:
updates after 8/14 seem to have broken all the memory editing tools , why's that?
[Galaxy S II Original Android Development] ledzgio:
install gApps

I have flashed latest nightly and rebooted, now I have Cyanogen Recovery and I don't know how to flash gapps, any idea?

I see Cyanogen Recovery (not CWM) and it doesn't allow me to select the gapps zip fine, I click on Apply Update and I get "Innstall failed". Please help, how don't know how to fix it!

UPDATE: seems I need to install TWRP because Cyanogen Recovery doens't work for me, how can I do that?

thanks
[Galaxy S II Original Android Development] RhonGwapo:
Good Day!

You think it will work on Samsung Galaxy S2 sc-02c?

Thanks for the rom, I'm using it on my old Galaxy S2 gt-i9000.
[Galaxy S II Original Android Development] daniu:
stfw
[Galaxy S II Original Android Development] BenjyTec:
Deleted

---------- Post added at 04:10 PM ---------- Previous post was at 04:08 PM ----------

You should have flashed Gapps directly after ROM without reboot... Now you have to flash a signed recovery through cyanogen recovery first, and flash Gapps with it. You can use TWRP or CWM (I use CWM):

Links:

TWRP: https://www.androidfilehost.com/?fid=24052804347787517

CWM: https://www.dropbox.com/s/veqsqw7wrz9of7q/philz_touch_6.07.9-i9100.zip?dl=0

Gesendet: S2/ XDA Forums
[Galaxy S II Original Android Development] the.gangster:
What GApps did you choose??

TK-Gapps are signed, so you should be able to flash'm even in CM Recovery.

But you can get failures if you choose too big ones.

If you are still on stock partition size (/system partition size of 500MB) you have to choose TK-PICO-GApps.
[Galaxy S II Original Android Development] Lysergic Acid:
What random reboot?
[Galaxy S II Original Android Development] Fr4nz83:
Lysergic,

there is definitely some kind of memory management issue which occurs when using memory-hungry apps (like Chrome, Spotify, BBC news). These issues causes (I'm speaking for myself, but other users report similar experiences, as you can see from many of the posts in this topic) at least one-two reboots per day.

Unfortunately no one was not able to find an exact way to reproduce the issue, but it's definitely and consistently there.

I'd say that about 20% of the posts in this thread points out this issue, and we where guessing why you didn't give an answer so far :)