yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] heleneh:
Tried to to install Philz 6.48-4.zip on another phone to repartition and installing CM12.1.

The installation gives Error: This packcage is for 'galaxys2.i9100.GT-I9100.GT-I9100M.GT-I9100T.SC-02C' devices; this is a ''.

E:Error in /tmp/sideload/package.zip

(Status 7)

The system is rooted with CM and SuperSU Busybox and it's a GT-I9100 model.

On my phone I used Odin with PIT file and Philz as md5 for PDA but I will avoid to use a PC as I have probs with not recognizing the phone on USB.

Any help is appreciated. Thanks!
[Galaxy S II Original Android Development] daniu:
Hi

There is a way to repartition in recovery BUT ... it is very complicated and I'd sau you HAVE to be really good at linux. I am glad I did not even try it. I never heard that it can easily be done with the recovery.

I can however most likely tell you the reason for your connection problems: it's either the usb connector is dirty or broken. Mine was broken - I got a new one and was surprised how easy it is to exchange it. These connectors are often DOA (death on arrival) so it is much more important to find a good supplier than a cheap one ...

However at the moment there is no absolute need to repartition to install cm 12.1 - at the moment cm12.1 works with stock partitioning ...

Regards
[Galaxy S II Original Android Development] minghi1:
Delay on screen during incoming call.

hei guys how many seconds pass before the screen wake up during a call ? It's possible improve the response time of the dialer? Last CM12.1 nightly all stock.
[Galaxy S II Original Android Development] Weib67:
Hi [MENTION=6159291]Lysergic Acid[/MENTION],

Reading your post is almost a relief ! I was starting to think that this issue had such a low priority that you wouldn't even consider any related posts.

Please see below for a few logs about this:

This "9gag" test is quite quick to reproduce (a few minutes browsing the app is enough), However, it is not a freeze nor a reboot, the app just hangs. The strange thing is that it doesn't seem to happen on any other phone. So, maybe it has to do with some memory management problem.

Concerning the freezing problem, the frequency of them definitly depends on how hard I use the phone. The less I use it, the longer it will run without any freeze.

Personally, my setup can either freezes 2 or 3 times a day, as it can last 4 or 5 days if I have very little usage. Totally random at times.

You have already done a huge amount of work for this phone, and you are the reason why our community is still active.

To be honest, your support of this phone is the number one reason I still use it.

Finally, as many others, I would be very grateful if you managed to fix this freezes/reboots issue. :)

Thank you. :good:
[Galaxy S II Original Android Development] heleneh:
Ok. I installed PhilZ-cwm6-XWMS3-FOP.signed.zip and then Philz Touch 6.48.4. As you mentioned there is no possibilty to repartion /system but I need more space for /data to install Gapps micro and to have enough space for other apps. So I need to use Odin...

Problem is not the socket as I have the problem with this and also with my phone. Seems to be a PC problem. Will have to try on another PC.
[Galaxy S II Original Android Development] BenjyTec:
Can't confirm that. Using Nighylies for three weeks and only had about 4 reboots.

Gesendet: S2/ XDA Forums
[Galaxy S II Original Android Development] Weib67:
Lol, you just confirmed it then. Frequency depends on your personnal usage.

Plus, you had to manually reboot your phone when flashing nighlies, lowering the amount of unexpected reboots/freezes that occure after some time.

Anyway, you definitely are experiencing this problem.
[Galaxy S II Original Android Development] worldwar:
I, i have a problem. I have installed this rom but I need a recovery that can backup and restore. I have flashed the zip file of TWRP kernel, then I wipe cache but I have a loop at "Android is starting... finishing boot"

but I can enter in TWRP recovery, then I have flashed a temporary CWM and restore by backup, then I have reapeted the procedure, but I have installed TWRP kernel after gapps. But the loop still. Can someone help me?
[Galaxy S II Original Android Development] madmax00:
Yes, I have SuperSU v2.46 installed, in fact, other apps that requires root, like adfree, works ok... it's only titanium backup that fails.... I've tried erasing TB data and reinstaling... but I have always the same error :eek:

EDIT: I did it!! After removing and reinstaling TB again... it works!!!!

---------- Post added at 11:48 PM ---------- Previous post was at 11:46 PM ----------

+1

same problem here, I had to reflash everithing again and stay in CM kernel...
[Galaxy S II Original Android Development] rINanDO:
When your phone reboots, it reboots normally? I have experience freezes and eventually reboot when using Catlog but this app isn't that memory consuming. It just happens after a few minutes scrolling up/down looking for my own debug messages before my phone freezes. When it reboots the phone is still unusable and needs a hard reboots to boot normally. I posted the logcat in this thread.

I've seen the logs, but it is not easy to find the actual cause. My guess is that multiple processes causes corruption/deadlock by chance. How and why.......nobody knows...yet ;)
[Galaxy S II Original Android Development] rommy667:
Quote:

Originally Posted by 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?

Same problem here i just went back to pre flash with nandroid.
[Galaxy S II Original Android Development] 水島芝:
Hello, I'm here to report about Display and Light, and also Sounds too

I'm in build 20150821

When I'm open it, Settings goes crash

I hope someone fix it

Thanks
[Galaxy S II Original Android Development] Lysergic Acid:
I've been really busy lately, not only with the college but enjoying my life out of internet too :p

I guess I'll spend a lot of time on CM again when CM 13 comes out, so I'm just breathing some fresh air.

I'm gonna save these logs and read them carefully, maybe something show up. I've done some experimental tests for this issue, but using the phone for one or two hours straight sucks, I hope I get some consistent info in the logs.

Btw guys, never forget to mention/quote me or send me a pm when you want me to read something, don't be afaid, I'll not bite you :D
[Galaxy S II Original Android Development] daniu:
Hi

Ah - that's how we can get your attention ...

Seems like at the moment there is no custom kernel that runs under cm12.1 - neither your twrp nor lanchon's trim enabled one ...

Can you do something about that?

Regards
[Galaxy S II Original Android Development] vj_dustin:
Finally partitioned and booted Lollipop for the first time!

Using 19/8/15 build.

Loving it, thanks for all your efforts. Way better than Kitkat, even Video recording works :highfive:

Some bugs though

1. Musicxmatch plays exactly 1.5 songs before going dark. Fortunately stock music player works.

2. Random reboots sometimes, faced in imgur, FB Lite, Stock Browser

3. Have faced this only twice in the 2 days I've used this ROM, the screen kind of gets weird, I mean I touch my homescreen or app drawer button and instead it keeps adding widgets :eek:

I have switched to L Launcher now and locked the desktop now, so haven't faced that again though.
[Galaxy S II Original Android Development] wolfanger:
Me too. Indeed kernel stock changed,
[Galaxy S II Original Android Development] BenjyTec:
I have a question: Is it possible to get the stock kernel as a zip file from somewhere? Thanks in advance.

Gesendet: S2/ XDA Forums
[Galaxy S II Original Android Development] wolfanger:
In first post Lysergic Acid linked a zip with twrp version of stock kernel (signed), it was extracted from an old cm 12.1 rom ( 08/05 i guess). I think it's incompatible right now with latest builds.

Hope Lysergic Acid will update that kernel zip, twrp is useful.
[Galaxy S II Original Android Development] heleneh:
Repartition after installation CM12.1

Stupid question. Is it possible to repartition without setting up,the complete system by:

1. Apply Philz. 6.48.8 and make a backup

2. repartition with odin, Pit file + Philz kernel

3. Wipe for new Rom, Format sdcard0 vfat

4. Restore Backup

5. reinstall CRM12.1

I'm just learning....so thanks for the support!

BTW: Formatted accidentially my external SDCard. Any possibilty to get the data back?
[Galaxy S II Original Android Development] juanjosepablos:
But TKGApps can ONLY be installed on top of an existing installation of TK GApps. And CYANOGEN does not format just /system so you must reset your personal data.
[Galaxy S II Original Android Development] Dr AM:
Flash signed PhilZ then reflash everything again
[Galaxy S II Original Android Development] essenov:
OK, starting again as my phone restarted while I was writing..

My /system looks recognized correctly as 1GB, but still not enough. There was no free byte after flashing 0702+gapps from the cm wiki.

I managed to free some space by removing system apps, but I afraid they will come back when I flash the next build, even the flash may fail because of insufficient space?

I'm not 100% sure, but I think the unofficial was much smaller?
[Galaxy S II Original Android Development] chrisXL:
Hi all, just a question. Freezes keyboard-related are still present?

Thanks LAcid for your hard work.
[Galaxy S II Original Android Development] Lysergic Acid:
Quoting myself here...

Your /system partition may have 1, 2, or 3gb, the ROM uses a block-based OTA, and the /system block has about 500mb. So yeah, the system files have ~400mb, if you install some gapps you reach 500mb easily.
[Galaxy S II Original Android Development] ringen00:
I installed it OTA and flashed some basic gapps. I still have 7GB system partition! Explain that! :)
[Galaxy S II Original Android Development] MartinX3:
You mean, if i had a 1 GB sized /system partition and install the official build, it can only use 512MB from it and the rest is unusable/lost/unpartitioned space?
[Galaxy S II Original Android Development] juanjosepablos:
That project is no Longer updated . Should I use this flavor: http://xdaforums.com/galaxy-s2/deve...5-11-2012-philz-touch-3-00-cwm-based-t1840223
[Galaxy S II Original Android Development] essenov:
And what occupies the other 500 MB? I expected they are empty or missing, but they are full..
[Galaxy S II Original Android Development] Lysergic Acid:
Basically yes, the only way to use the full space is flashing a non-block based OTA, that's not only painfully slow, but was also breaking the gapps backup when updating the ROM (you may remember that you need to reflash gapps everytime on unofficial builds). As in the official builds you can't flash the gapps when you get the CM Updater notification, I had to choose this way. I may fix that later, but for now that's what I could do.

Nothing, this is not showing your partition, but your block.

Go to terminal and type: cat proc/partitions, in mmcblk0p9 you'll get the amount of blocks you have in your system partition, multiply that by 1024 and that's the number of bytes your partition has (depending on the pit file you flashed).

then type: df, it will show your blocks size and used space, there you can see the block is ~500mb large.
[Galaxy S II Original Android Development] Thindboy:
Hi Lysergic Acid,

How come you are still not listed as official Maintainer in Cyanogen Mod's i9100 Wiki Page

Tell the CM guys to show you some love. They need to update the page. You deserve the credit!

Keep the good work up! Have a nice day!
[Galaxy S II Original Android Development] nhmanas:
any swap enabled kernels? and which one do you prefer; swap or zram?
[Galaxy S II Original Android Development] juanjosepablos:
Thanks that is how I fixed. But when applying cm-12.1-20150702-NIGHTLY-i9100.zip PhilZ Recovery was gone again.
[Galaxy S II Original Android Development] Lysergic Acid:
They know the wiki is outdated, I remember an IRC chat of a few days ago where Psycho|3oy said they would update the wiki, but nothing till now :p
[Galaxy S II Original Android Development] suprvenu:
Recovery

After updating to official nightly the recovery is CM stock recovery. Had been using Clockwork Mod recovery till now in all unofficial versions. Even when flashing cm11official builds cwm recovery did not change. Is there a way to get back cwm recovery?
[Galaxy S II Original Android Development] DaveKing:
com'on.... LA. We want to use full gapps or whatever we want in system part. It doesn't make any sense to limit the system size to 500mb. LP use system partition to cache and art mem, and in my case it rise to 350mb with all aps! Of course you know that... does it matter if people has 1,5gb (like me) or 1gb like some other or 750mb in system?! I lost time with this 02/07 in vain just because of this crop thing. Sorry, but big fail imho. Btw, reached +20000 points with dorimanX in Antutu for the first time! =D

Cheers.
[Galaxy S II Original Android Development] Tekkla:
Relax. This is only day 2 of official nightlies. An your lost of time had not happen if your read this topic BEFORE installing the ROM an it's first update. ;)
[Galaxy S II Original Android Development] DaveKing:
"OTA" man... I don't need to read anything cause it don't have anything to read in that menu! I don't have to think that this kind of errors could have be done by experts in the subject... 500mb in LP system?! damn... people it's my opinion. Respect it, like I respect others opinion. I know it's difficult in a freedom world. You guys have the bad habit to treat others like kids or morrons... and you shouldn't! If you think a bit, you know that others may have little time to read all the pages of this foruns, cause have a lot of work and a life outside the NW, like every developer here has and we respect it. So you should relax too, and let people have the opinion they want to have, if they don't offend anyone!

Chill out...
[Galaxy S II Original Android Development] Foley_76:
I finally managed to do a clean Installation of CM 12.1.

First of all thanks for the great work!

The only gapps I was able to install have been, as mentioned, the pico gapps.

Now I wonder how to install the Google Search App and the Off-Line Speech Files.

I know I can install Google Maps and such things via Playstore, but those Speech Files?

Or how is that app called in the App Store?

Sorry, if it seems a dumb question, but I am new to installing Google Apps separate.

And by the way, what to do with that CM Picture in the upper right when scrolling down on Home Screen? When I touch it, it says "this contact does not exist". Is that normal?
[Galaxy S II Original Android Development] lukss12:
Just open Contacts app and select the first row
[Galaxy S II Original Android Development] daniu:
I guess no and yes:

I think that should work - just 2 things: backup your sdcard0 - it is not included in the nandroid

If you use a kernel with cwr or twrp in the first place you don't need to flash cm after restoring. Seems like la's stock kernel with twrp does not work with the latest roms though

Regards
[Galaxy S II Original Android Development] wolfanger:
For recovery data on your sdcard you should try TestDisk or PhotoRec 7.0 on computer. It's open source software, supporting almost every os.
[Galaxy S II Original Android Development] JavaScout:
Hi, friends! Can someone update me about the defect investigation related to keyboard freeze? It is still present and very annoying.
[Galaxy S II Original Android Development] heleneh:
TestDisk didn't find my SDCard in the USB Cardreader. I've Installed a recover app it founds already 55 files but its a 30G card. Will take some more time :(. Hope it recovers all data.
[Galaxy S II Original Android Development] ledzgio:
I have downloaded TK-Gapps latest version PICO and, without rebooting, I tried to install it but no luck, it said that another version of gapps was installed so it failed.

BTW I just deleted all the files regarding gapps from phone, rebooted on CM recovery and flashed again with success. :D

---------- Post added at 01:59 PM ---------- Previous post was at 01:58 PM ----------

I have managed to fix the issue but CM recovery is very basic, how can I install TWRP or CWM, just flashing as usual? which one do you suggest?

thanks
[Galaxy S II Original Android Development] LeBourrin:
[MENTION=6159291]Lysergic Acid[/MENTION]

I confirm the System UI crashes with the signed TWRP kernel. Today I've done a CLEAN install :

- cm-12.1-20150821-NIGHTLY-i9100.zip

- stock_kernel_twrp-signed.zip

- tk_gapps-modular-pico-5.1.1-20150721-signed.zip

I try "Fix permissions" in TWRP recovery with no changes. So I reflash cm-12.1-20150821-NIGHTLY-i9100.zip in order to get stock kernel and no more system UI crashes.
[Galaxy S II Original Android Development] 水島芝:
I flash the 20150821 using TWRP signed and get no error

After flash it, I reflash the signed TWRP and still get no error

Is it incompatible?
[Galaxy S II Original Android Development] LeBourrin:
Hum strange ... Here is what I done :

- Come from CM 11 (with 2Gb System partition)

- Format all partitions with Philz Touch 6.48

- I flashed ROM, Recovery and Gapp in a row (I mean I don't reboot the phone)

- Phone got stuck after Applications optimization, at the "Finishing boot" step

- Force reboot and got "System UI crash"
[Galaxy S II Original Android Development] BenjyTec:
Yep, just flash it via CM recovery (apply update). I recommend Philz, but now you should wait, because there appeared some problems with the kernels that are included in both recoveries (UI crashes at TWRP, bootloop at Philz). You only should use them if you directly reflash the ROM again afterwards to get stock kernel again, which is included in the ROM. Let's hope for fixes!

Gesendet: S2/ XDA Forums
[Galaxy S II Original Android Development] 水島芝:
Here's what I done after failed installing unofficial version

- Flash ICS stock ROM using ODIN

- Flash JB stock ROM using ODIN

- Flash CWM still using ODIN

- Flash SlimKK via CWM

- Flash custom kernel and repartition via CWM

- Flash LP Official nightly and Pico GApps

- Flash TWRP signed

- Upgrade to build 20150821 using TWRP

- Reboot to system and reboot to CM recovery

- Flash TWRP signed

still no error, but i downgraded it into build 20150808 because the light and sound button fc in Settings
[Galaxy S II Original Android Development] the.gangster:
Well indeed, after I struggled with settings crashing in build 20150820 immediately after startup and entering sim pin when running on [MENTION=6159291]Lysergic Acid[/MENTION] TWRP-injected kernel, as well as on [MENTION=4141005]Lanchon[/MENTION] TRIM-kernel, these have vanished now after I returned to stock kernel (of Nightly 20150821)

When I was affected I could also reproduce the crash by trying to go to 'about phone' -> status. Now no more.

But apart from that I did not realize severe errors.
[Galaxy S II Original Android Development] Lanchon:
thanks!

FYI:

http://xdaforums.com/galaxy-s2/help/qa-trim-speed-cyanogenmod-galaxy-s2-t2910715/post62424223

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

never ever ever flash ics!!! It ***can*** brick your phone!!!
[Galaxy S II Original Android Development] the.gangster:
[MENTION=4141005]Lanchon[/MENTION]

I'm not sure what you try to hint me at. I was/am already following your Trim-threads and also read that post already.

Edit: Sorry!

Should have read till the end before posting.

Good news. Thank you very much!!!!
[Galaxy S II Original Android Development] Lysergic Acid:
Very well, I'll sync my sources and update that zip. Should be up tomorrow ;)
[Galaxy S II Original Android Development] daniu:
Hmmm ... since you do something abt kernels - is it impudent to kindly ask you to rethink the possibility of a twrp kernel with trim enabled? I think lots of people would love to see that

Regards
[Galaxy S II Original Android Development] 水島芝:
I flash ICS because my system has been repartitioned. I failed to flash JB because of repartitioned system and the JB stock was packed by one file so i need the pit files in order to fix it
[Galaxy S II Original Android Development] Lanchon:
repartition with stock pit if u need, but never flash ics!!
[Galaxy S II Original Android Development] 水島芝:
Is it compatible to flash stock pit files from ics and jb stock ROM?
[Galaxy S II Original Android Development] Lanchon:
what are you talking about? afaik there is only one stock pit, no samsung update repartitions the phone. flash pit? compatible? dont understand.
[Galaxy S II Original Android Development] The King of Hearts:
contacts sync

After flashing it for the first time.

Contacts aren't syncing with my google account.

My other phone who have the same google account sync normally !

So I don't have any name in contacts it is empty.

I try to manually syn from accounts. it says it is sync with today's time.

Any suggestions ??
[Galaxy S II Original Android Development] 水島芝:
Anyone experiencing this battery jumping issue?
[Galaxy S II Original Android Development] Piyoosh_Singh:
Few queries

1. I am coming from unofficial do i need full wipe?

2. Does this ROM have CM fm?

Suggestions

I want to have CMactions like chop twice for torch and etc...
[Galaxy S II Original Android Development] heshan_1010:
No you don't need to full wipe. I upgraded from unofficial to official wiping only the cache and dalvik cache.
[Galaxy S II Original Android Development] Resync:
Today's doesn't work for me I used CyanDelta it stuck on the last thing after optimizing apps.
[Galaxy S II Original Android Development] heshan_1010:
Then try using titanium backup to save all your apps, do a clean install and then restoring the apps from TB.
[Galaxy S II Original Android Development] BenjyTec:
How did you use CyanDelta? When I tried, got an error that a CWM recovery is needed...?

Gesendet: S2/ XDA Forums
[Galaxy S II Original Android Development] Resync:
https://www.androidfilehost.com/?fid=24052804347787517

first post ;)

twrp
[Galaxy S II Original Android Development] BenjyTec:
Thanks for your response. Haven't you got any problems with UI crashes? Some other users reported this as a bug of TWRP kernel.

Gesendet: S2/ XDA Forums
[Galaxy S II Original Android Development] Resync:
nope not really (occasionally freezes hangups such stuff) i only have problems with latest nightly :D

i cant get it to work, i guess ill wait another week to update^^
[Galaxy S II Original Android Development] iistoryahi:
Yes , i experience this mate
[Galaxy S II Original Android Development] davidmarli:
Hi,

i want to flash my old s2 with cyanogenmod 12.1

My phone is in 4.1.2

I don't want to make it bad so can someone help me ?

1 - I must install a cwm compatible ? the 6.0.4.6. I find a web page where it says to install it by copying it to a sd card but I got no card with me. It won't work if I copy the file to the phone directly ?

2 - I have to install via the cwm the 12.1 build and the gapps pico ? But Do the two files have to be on the phone before installing the CWM ?

Thanks fo your response.
[Galaxy S II Original Android Development] Giobio:
1) You have to install another cwm before because the original can't flash directly it.

2) Yes - yes (need an sd card)

If you have an original firmware, you need to get a rooted device for first.

Second, I suggest you to change the pit file using Odin (the 5.1.1 rom and gapps to install are bigger than original). But you can try jumping this step.

If you are Italian, I can explane all steps in private...