yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] rajasiman:
Um, I'm kinda stuck guys, please help me!

On the Galaxy S2 I currently have CarbonROM 4.4.4 installed with CWM-based Recovery 6.0.5.1. I'm trying to install this on the phone but have been facing setbacks all along. Good fortune that I took a nandroid backup before attempting to flash this. I don't know where I'm going wrong. I'm not sure if I can flash the SlimROM GAPPS since the application partition size is small in the S2, so tried increasing the app storage partition by flashing a pit file that allocated 4.5GB for the app storage and 6.3GB for other files; I wanted to flash the normal GAPPS package, but now PA GAPPS is no more :(. I think the repartitioning completed successfully, but then I messed up and had to reset back to the original partition structure. Restored the nandroid backup and then again tried flashing this ROM. I'm being shown an error and it just stops. This package is for the device GT-I9100, this device is i9100. So I went into the updater script and changed the assertion to i9100. Tried reflashing it, now no error is thrown, but the phone hangs at 'applying update'. I even tried flashing this ROM by using the SlimLP Kernel, same result. What am I doing wrong here? Thanks in advance.
[Galaxy S II Android Development] tcbr10:
Maybe you just need to wait more time is can be on applying update for something like 10 mins.

And for gapps you can try Pico from PA gapps.
[Galaxy S II Android Development] stylemessiah:
I wasnt aware Trickster even supported the S2....
[Galaxy S II Android Development] cyril279:
Hm, I thought this was an issue with my specific device tree, but apparently not...
[Galaxy S II Android Development] kalivos:
hi all..

found this strange behaviour in codec

installed "mv player" some of my video cannot play while in h/w mode (no video displayed but audio is working)

changing in s/w mode fixed this but video quality reduced

also video animation (the one that like movie trailer) has same issue in game kritika

dont know if this is a bug or not :D
[Galaxy S II Android Development] Dr AM:
Known bug
[Galaxy S II Android Development] eskriminal:
switch 'disable HW overlays' from dev options to on

it'll reset every boot though
[Galaxy S II Android Development] Arijit.Ray81:
UBER toolchain

Not sure if UBER toolchain can be applied to this but my OPO has been supersmooth since the swithover to it.
[Galaxy S II Android Development] TheMatrix2000:
If i download #beta5 the files name is: Slim-i9100-5.0.2.alpha.1.0.2-UNOFFICIAL-20150311-1540.zip.

It says "alpha". Is this correct??
[Galaxy S II Android Development] maniknarang:
Yup! Go ahead. It's Beta#5. :)
[Galaxy S II Android Development] psydex:
There's no performance menu, how do I change CPU speed / governor? :confused:

(I flashed SlimLP_kernel)
[Galaxy S II Android Development] buffer overflow:
No-frills CPU Control from Google Play. :)
[Galaxy S II Android Development] TheMatrix2000:
Jesus. What a great rom. And with your slimkernel my S2 is freaking fast and really stable.
[Galaxy S II Android Development] tobemaster:
Same here, only GApps won't work.

Any suggestions?

I flashed ROM + GApps the usual way, the ROM is working like a charm, GApps refuse to work / show up.
[Galaxy S II Android Development] tcbr10:
It's showed you that is flashed correctly?
[Galaxy S II Android Development] tobemaster:
Hi tcbr10,

it always says that everything flashed successfully .
[Galaxy S II Android Development] WeBMaZTaH:
[MENTION=5419355]warrior1208[/MENTION] currently downloading your kernel. Is there an app wherein I can customize the kernel?(i.e. stweaks, etc...)
[Galaxy S II Android Development] hawaiisteve:
Check out kernel aduitor on play store
[Galaxy S II Android Development] iekansh:
How can I possibly turn of the hardware lights? Anyone?
[Galaxy S II Android Development] tcbr10:
Oh if so I can't think on a solution. Sorry.
[Galaxy S II Android Development] wembleyy:
How about Slim_mini_gapps?
[Galaxy S II Android Development] tobemaster:
i tried them all. nothing happened.
[Galaxy S II Android Development] felix_w:
[MENTION=5419355]warrior1208[/MENTION],

coming from SlimSaber 20141221, with TWRP2.7.1.0, upgraded flawlessly (no need to change recovery, you were right)....

from now on, a happy user of SlimLP Beta#5....quick and smooth, everything i tested so far works without problem...

Thank you!
[Galaxy S II Android Development] tobemaster:
Its me again... i tried to find my mistakes and, in fact, if i try to wipe for a new rom install i get the following error message:

E: format_volume: make_ext4fs failed on /dev/block/platform/dw_mmc/by-name/HIDDEN

I'm using CWM v6.0.4.5

May this prevent my GApps from working?

EDIT: Got it working!

How i did it:

Flashing PIT File and stock ROM with ODIN.

(PIT file: 4GB System Partition)

EDIT: Flashing CWM v6.0.4.5 with ODIN

Wipe like usual

Flashing BETA#5

Rebooting and and shutting down device.

Boot to recovery

Flashing GApps (minimal): https://www.androidfilehost.com/?fid=95916177934545543

Wiping Dalvik/ART cache.

Reboot.

Everything works like a charm now!
[Galaxy S II Android Development] felix_w:
Could you post a link of the specific 6.0.5.1 CWM you used ? I already found up to 6.0.5.0 version.

Thank you in advance! :good:
[Galaxy S II Android Development] cyril279:
Ignore me, tobemaster got it working.

I do still recommend leaving the partition sizes stock, and using a GApps package that only installs play services (the play store), then get EVERYTHING else from the play store, which will install to /data.

My suggestion:

format /system (from recovery)*

install ROM

install Gapps (PA pico)**

install supersu (optional)

reboot to system

* There are backup scripts in /system/addon.d that are designed to allow certain installations to be restored after a firmware flash. You may have a GApps conflict from a prior installation. This step ensures a clean firmware/GApps install, without affecting the /data partition.

** fewer GApps on /system, more consistent results. Install the rest from the play-store (they install to /data).
[Galaxy S II Android Development] tobemaster:
Why should i leave it stock?
[Galaxy S II Android Development] Vicentebon:
HI mate,! Thanks for the useful info. By the way, could you share your pit file? I'd appreciate it.
[Galaxy S II Android Development] tobemaster:
I attached the file i used.

Hope it'll help!
[Galaxy S II Android Development] otti17:
Until now everything was working fine, but sometimes there was a kind of memory leak and I had to reboot my phone. Today I installed the latest xposed framework and the "Fix Lolipop Memory Leak"-module. The leak (lag) seems to be gone :)
[Galaxy S II Android Development] WeBMaZTaH:
How did you install your xpose? I'm currently on CM12 3/19 with xpose, installed the apk file then flashed the ARM zip but i think it's not installed. See screenshot.
[Galaxy S II Android Development] otti17:
I did it the same way and I have this message too. I think it only says, that this framework can installed only via custom recovery. This is just a hint for updating the xposed framework. I also installed Gravity Box for lolipop and it's working fine.
[Galaxy S II Android Development] TheMatrix2000:
Yes. This is correct behavior. But i deleted Xposed. To much alpha. Some apps crashes with xposed installed (without any modules). Like the Navi "Sygic".

It's reproducible.
[Galaxy S II Android Development] WeBMaZTaH:
So, are you saying that even though that I flashed the zip file for exposed, IT IS working. But it can only be installed through custom recovery?
[Galaxy S II Android Development] otti17:
Yes, if there is an update in the next time, you can install it only via recovery. That's what it means.
[Galaxy S II Android Development] WeBMaZTaH:
Thanks man. :)

So, I return to SlimLP via backup and tested Fix Lollipop Memory Leak from Xposed, so far so good(compared to now). Here's what I did with my phone:

1. Flashed SlimLP Beta#5 (almost a week now).

2. Flashed PA-Gapps stock (I have 1GB partition).

3. Flashed SlimLP Kernel (HYPER/sio).

Then, just now:

4. Installed Xposed APK

5. Flashed Xposed ARM via recovery.

6. Downloaded Fix Lollipop Memory Leak.

COMPARISON:

1. Lag vanished. Well, not totally.

2. I am connected to Wi-fi and charging my phone. It does not heat up or even warm.

Will report more if this. Thanks to those who reply. :)
[Galaxy S II Android Development] otti17:
Yes, you're right. The lag is not totally vanished. The module fix only the memory leak caused due to the screen off animation, which is not releasing the ressources. There are some more leaks and we'll have to be more patient for other fixes.
[Galaxy S II Android Development] Android-Freak2012:
Dosen`t work, because with this app high-level tacts (more than 1.2 GH) are not possible, because the uppermost value is in the concerning menu, unfortunately, just 1.2 GHz.... :(

---------- Post added at 03:05 PM ---------- Previous post was at 03:05 PM ----------

Dosen`t work, because with this app high-level tacts (more than 1.2 GH) are not possible, because the uppermost value is in the concerning menu, unfortunately, just 1.2 GHz.... :(
[Galaxy S II Android Development] hawaiisteve:
The app will only display the frequencies the kernel offers. Stock kernel only goes to 1.2ghz, so that's all you see. I'm on the modified kernel from op and I have 1.4ghz available...

Alternatively, you can try trickster mod but I like kernel aduitor better. Has cleaner material design and easier to use. Both apps have all the UV and O'c options as well as gov tuning, I/O, LMK tuning and more...
[Galaxy S II Android Development] silverio28:
i did the same steps 1,2,3,4,5

but after instal Xposed ARM 20150308 via recovery my phone enter in a boot loop
[Galaxy S II Android Development] nothingman1976:
Try to wipe cache and art cache from recovery
[Galaxy S II Android Development] Android-Freak2012:
Hi Steve!

Can you tell me, where I find the Kernel you use or can you give me an link?

Thanks,

Android-Freak
[Galaxy S II Android Development] hawaiisteve:
Its in the op...
[Galaxy S II Android Development] Neelkanth:
[MENTION=5419355]warrior1208[/MENTION] any news about 5.1 yet?

Sent from my GT-I9100
[Galaxy S II Android Development] maniknarang:
Soon...

http://www.xda-developers.com/slimroms-updates-on-the-horizon/

Regards. :)
[Galaxy S II Android Development] Neelkanth:
*evil laugh* hahaha now that's what I'm talking about. :thumbup: :)

Sent from my GT-I9100
[Galaxy S II Android Development] trandus:
BT issue?

Hi,

I've installed the SlimLP after bad experience with CM12. The SlimLP works really fine! but...

There is an issue with BT: after a some time (from a few seconds to tens minutes) the headset stops working. Connection is alive, but it is impossible to use the headset until phone is rebooted. It's a little bit frustrating :)

The same problem was in CM12 and it was solved about a month ago.

Regards!
[Galaxy S II Android Development] GreekDragon:
Any updates?
[Galaxy S II Android Development] mk4588:
Low storage

Is there anyone who has a low storage problem as me? I could not restore my apps which I was using on slimsaber. Now I'm stuck... Please help....
[Galaxy S II Android Development] sh1bby:
Repartition your internal storage using an appropriate PIT file. You'll find lots of instructions in this and Lysergic Acid's CM12 thread if you search for it.
[Galaxy S II Android Development] Pyvesb:
Hey warrior, any news regarding your application as official maintainer? :)
[Galaxy S II Android Development] Neelkanth:
+1 man. It will be good if you become official maintainer.

Sent from my GT-I9100
[Galaxy S II Android Development] j1gga84:
[MENTION=5419355]warrior1208[/MENTION]

what do you think of Uber tool chain? https://plus.google.com/+ChetKener/posts/YzMJEkzPQgp definitely much faster and smoother than linaro and SlimSaber.

Fusionjack uses it since a short time and on SlimSaber it is much snappier than SlimSaber ;)

You could consider it for 5.1 :)

Regards

Sent from my GT-I9100 using german Tapatalk 4
[Galaxy S II Android Development] painx:
After you install custom kernel , applications data are lost or nevermind?
[Galaxy S II Android Development] Wolfey7:
Installing custom kernel won't remove your applications data. ;)
[Galaxy S II Android Development] lilicaull:
Does this ROM have pie controls ?
[Galaxy S II Android Development] buffer overflow:
Yes, read in OP. SlimPie. :)
[Galaxy S II Android Development] painx:
I have few questions :

1) How to fix fuel gauge problem (battery decrease after reboot from 43>19)?

2) How to make stable the performance settings(they changed to default after reboot)? I have installed the custom kernel.

3)How to fix error " Unfortunately Apollo has stopped" ? (I tried to clean data , disable and enable app few times.) If can't be done , what music player do you recommend me?

4)Nova Launcher is best than Slim Launcher ?Should I use it?

5)Where can I find drivers for the phone can be connected via USB?My phone connects but my drivers appear empty.

PS:Don't tell me to go and Q&A thread because I already asked there.
[Galaxy S II Android Development] GreekDragon:
1. Try Fuelgaugetool on play store https://play.google.com/store/apps/details?id=com.sekara.fuelgaugetool only click one time and then reboot and left the device to charge on 100% and then reboot the phone.

2.If you mean Cpu or voltages settings just try setcpu or in Perfomances(on settings) click Save at boot after you select what you want.

3.Unfortunally from what i found. Apollo sometimes is crashes in 5.0.2. I recommended you Marine Music Player or poweramp

4.I prefer Nova Launcher

5. If you connect your phone to pc did you see something?
[Galaxy S II Android Development] :
The fuel gauge thing has happened to me on every custom rom I've ever tried. I don't believe there is a fix for it, I think it is a hardware problem in the s2. The only thing that works for me is to only reboot after fully charging the phone or close to full charge(I know not always possible)

The other issues, I would try [MENTION=5419355]warrior1208[/MENTION] 's new slimsaber build. He has started a new thread for it here

The launcher is personal preference, I know a lot of people prefer nova but like I say each to their own

If your phone is recognized by your computer and you can transfer files etc, you have the drivers installed. The computer wouldn't recognize the device otherwise
[Galaxy S II Android Development] maniknarang:
If you guys want to try SlimSaber Lollipop, then head onto this thread. SLIMSABER 5.0.2 LOLLIPOP

I would update both the ROMs pretty soon: First the SlimSaber providing more kernel flags for optimizations and fixing reboot bug, and then eventually updating SlimLP to 5.1 when the sources are ready.

Regards! :)
[Galaxy S II Android Development] maniknarang:
A big thanks to [MENTION=2122937]otti17[/MENTION] for donating 5 USD. I am sorry for posting weeks later, as I just saw the PayPal E-Mail. I would try my best to live upto all the S2 XDA Members' expectations.

Thanks once again!

Regards! :D
[Galaxy S II Android Development] otti17:
Just a small motivation and thanks for your job ;) keep up the good work for our good old S2.
[Galaxy S II Android Development] painx:
My phone looks connected and the drivers from sdcard and internal storage are empty. I mean like this.
[Galaxy S II Android Development] GreekDragon:
When you connect your phone to PC Open your phone unlock your phone(pattern, pin etc if you have it) and wait if you see anything.
[Galaxy S II Android Development] painx:
You don't understand, it's not from the phone. It's from my pc , I guess I need some drivers because at my friend's pc worked and showed that auto play window.
[Galaxy S II Android Development] GreekDragon:
Ok then, Drivers problem Install KIES or open it if you have it to install automatic the drivers.
[Galaxy S II Android Development] chefen.chef:
Android Keyboard has stopped working

Hey guys, i have tried twice to install the rom but every time the keyboard fails and "Android AOSP keyboard has stopped working" or something like that and I cannot install another keyboard or even get on my wifi because it has a password. I have installed by wipe/factory reset clean dalvik/cache, with the same result. Both tryed cleaning dalvik/cache before and after install of ROM/Gapps. I have used Gapps from OP any advice?

Chef
[Galaxy S II Android Development] maniknarang:
Beta#6

Hey guys,

Here is the new build - Android 5.1 :D

THIS BUILD IS STILL A WIP/EXPERIMENTAL BUILD. IT HAS A PURE AOSP BASE, AND HENCE LACKS ESSENTIAL FEATURES. TRY IT IF YOU REALLY WANT TO. EVERYTHING IS FUNCTIONAL FOR USE, BY THE WAY!

Beta#6 (14-04-2015)

Updated Slim Sources to Lollipop 5.1

Enabled LPM mode charging percentage

Included zRAM updates (Enabled XVMALLOC and ZRAM_FOR_ANDROID)

Enabled IDLETIMER

MORE UPDATES TO COME VERY SOON!

Enjoy, and Regards!:D
[Galaxy S II Android Development] Dr AM:
I think in 5.1 there is no need for zram ,, I'm using Omni 5.1 with no zram and 124 apps and no lags or appearance of memory leak at all

Also it was removed from CM12.1 :)

But thanks for your hard work :)
[Galaxy S II Android Development] Android-Freak2012:
Hi warrior1208!

Have I properly read the Posting and have understood?

Does everything function so far???

Is the german language integrated?

Am I able of flash this 5.1-ROM about a running 5.0.2-ROM (5.0.2 from 14.04.2015, from you too) without wiping data/cache?

Greetings,

Android-Freak
[Galaxy S II Android Development] GreekDragon:
Probably yes you can flash it. Not every fuction works so far. German language is integraded i think.
[Galaxy S II Android Development] j1gga84:
From every bigger "version jump" (5.0.x to 5.1.x) I would suggest a fullwipe to avoid potential errors :good:

I think every function that works in 5.0.2 also works in 5.1 or am I wrong?

German language is integrated, SlimROMs are international like every other builds before :good:

regards
[Galaxy S II Android Development] GreekDragon:
yeah? Because on CM12 i jumped to CM12.1 Without having errors or something.
[Galaxy S II Android Development] maniknarang:
Yes, everything works or functions normally, as it did on 5.0.2

The only thing missing at the moment is customization of the ROM. It comes with time, though.

Regards.:)
[Galaxy S II Android Development] j1gga84:
Yes but you can also try it without a fullwipe, in both cases I do a backup first, then I am on the safe way :)

regards
[Galaxy S II Android Development] souler456:
Does Navigation Bar Customization present now? You know, like assigning Custom Shortcuts and stuff...? :confused:

:D :) ;) :good:
[Galaxy S II Android Development] sourly64:
I get the PUK bug ,by asking for the PIN code !!!!!!!!!!!!! Maybe my SimCard is now locked again .I have to check :crying:
[Galaxy S II Android Development] Lachty1:
I have bootloop when i install Beta#6. Must I do factory reset? I install only rom 5.1 a zero gapps.
[Galaxy S II Android Development] sourly64:
Iam lucky .When i insert the PUK code ,SimCard is not locked :cool:
[Galaxy S II Android Development] Android-Freak2012:
Hi!

I have made just the update from the last 5.0.2-ROM to the 5.1-ROM.

I have made before the update no factory reset (full wipe), but after the update a dalvik cache wipe.

Unfortunately, I seem to get stuck in the boat animation. How long do the first boot last after the update?

How can I solve the problem?

In the extreme case: Am I able without problems flash on the 5.0.2-ROM back?

Greetings,

Android-Freak
[Galaxy S II Android Development] maniknarang:
Well, it takes around 4-5 minutes to boot for the first time. But, since you dirty flashed it over 5.0.2, I cannot confirm whether it works or not.

But a clean flash does work. :)
[Galaxy S II Android Development] maniknarang:
Oh dear! Thank God your SIM's working fine. I'll look into this in the next build. Not sure why SlimTeam excludes this patch, everytime.
[Galaxy S II Android Development] sreinst1:
When you say that customization is missing, do you mean that all the things in the "WHAT'S INCLUDED" section in the OP are not really included? :)
[Galaxy S II Android Development] maniknarang:
Yeah, somewhat they are missing. Actually, those things are added in the frameworks packages, which are being heavily updated by the SlimTeam. We shall soon have a perfect 5.1 build.

Regards:)
[Galaxy S II Android Development] Android-Freak2012:
Hi!

Thanks for your help....! :)

My phone was 15-20 minutes in the bootanimation and this was for me very mysterious...!

I had flashed the last 5.0.2-ROM back and my phone work, but.....I had to uninstall the Apps Hangouts & GMail, because these Apps with start again from the system were finished. The Slim File Manager is missing too....

Question:

Can it be that of the bootanimation loop after flashing the 5.1-ROM has originated because I had forgotten the 5.1-Gapps to instal?
[Galaxy S II Android Development] :
No, gapps are completely seperate from the rom. You could (and some do) not flash gapps at all, and the rom will work just as well. You just don't get any play store or services
[Galaxy S II Android Development] wihushae:
Did a clean flash with 5.1, without any problems! :D

Is this correct that I need a new gapps package, and the one for the previous 5.0.2 version isn't working?
[Galaxy S II Android Development] GreekDragon:
I dont understand. In 5.1 you always using a gapps thats works on 5.1 and NOT on 5.0. If you use 5.1 gaaps on 5.0 version.This will never work.
[Galaxy S II Android Development] wihushae:
Never mind!

With your question I got my answer. (I have the old gasps version from the previous rom, and I just wanted to know if I can take this or if I have to download new gapps. -which I have to! :))
[Galaxy S II Android Development] GreekDragon:
Better download the new one.
[Galaxy S II Android Development] wihushae:
Another thing: with 5.0.2 and long pressing the home button I came to the recent apps. In 5.1 this doesn't work anymore! Can anyone confirm this?
[Galaxy S II Android Development] GreekDragon:
dont works.
[Galaxy S II Android Development] Android-Freak2012:
Yes, I can conform this.... :(

---------- Post added at 12:35 PM ---------- Previous post was at 12:29 PM ----------

So, I have created it: 5.1 runs on my S2 :)

I have made a full wipe (factory reset etc.). Afterwards the ROM and afterwards the Gapps 5.1...

Thank you very much, warrior1208...

Greetings,

Android-Freak
[Galaxy S II Android Development] Strokesws:
Physical home button is not waking up device. Anyone?
[Galaxy S II Android Development] wembleyy:
I.m on beta5. A little afraid to flash beta6. There is no hardware button customisation?
[Galaxy S II Android Development] wihushae:
Yes I can confirm this!

Another bug: in 5.0.2 double tapping the taskbar (where the battery icon is) switched off the screen. Now nothing happens!

Also swiping it down on the right side opened the quick setting, now you have to double swipe :(
[Galaxy S II Android Development] Android-Freak2012:
Yes, I can this confirm too.... :(

---------- Post added at 08:46 PM ---------- Previous post was at 08:42 PM ----------

This bug with the statusbar I can confirm too...

---------- Post added at 09:07 PM ---------- Previous post was at 08:46 PM ----------

Hi....

I would like to announce a possible bug:

If I flash the 5.1-ROM and 5.1-Gapps, then the system starts, everything runs perfectly.

If I flash the SlimLP_Kernel.zip now, however, afterwards the phone starts, the system starts - but after the app optimisation (with me 114 pieces) the phone restarts and begins this app optimisation once more. This happens over and over again in loop.
[Galaxy S II Android Development] felix_w:
Same for me!

Also, every time i boot, after normally entering correct PIN, i am prompted to enter PUK and reset PIN code.