yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Original Android Developmen] PolishVodka:
Don't remember, but in this kernel sources which i uploaded, was a package named "ramdisk.zip"(?).

Here is boot.cpio (rom ramdisk) and recovery.cpio (twrp).

Unpack somewhere to new directory everything, edit in <kernel_source>/usr/initramfs.list all direction to files correctly and once more put "make" (don't need to build everythings from zero).

Here is script to extract initramfs from boot.img

https://github.com/ChronoMonochrome/utilities

You cannot repack boot.img like standard kernel, make changes as you want in ramdisk or recovery and rebuild kernel every time (just "make" command, this will split initramfs cpio with current builded kernel).
[Galaxy S Advance I9070 Original Android Developmen] superuser#1508:
Which is currently the best kernel for CM11 on Janice?

---------- Post added at 10:03 AM ---------- Previous post was at 09:59 AM ----------

Is there a GPS fix? I might have missed it. I reverted to KK as the GPS was not working for Pokemon GO.
[Galaxy S Advance I9070 Original Android Developmen] Art2016:
I think there isn't GPS fix now. It's still not working.
[Galaxy S Advance I9070 Original Android Developmen] rodrengo:
Is xposed compatible?
[Galaxy S Advance I9070 Original Android Developmen] DaksAnkit:
Yes, you can download v86 sdk 23 by rovo89 . flash it with xposed installer 3.0 apha4..

:good:
[Galaxy S Advance I9070 Original Android Developmen] rodrengo:
Failed when flash v86 sdk 23...
[Galaxy S Advance I9070 Original Android Developmen] psycrow17:
I'm trying to install rom in CWM v.6.0.5.1...and i have "Stasus 7. Installation aborted" O_o

What CWM-version need to install? I thinked in MK-kernel 6.0.1 last version of CWM (6.0.5.1)

Or need install in TWRP like as CM11?
[Galaxy S Advance I9070 Original Android Developmen] Cassiusss:
Install Modded CyanogenMod 11, then retry to install CyanogenMod 13.
[Galaxy S Advance I9070 Original Android Developmen] Wozniax1:
I recently got the same problem, try flashing mk kernel in TWRP first http://xdaforums.com/galaxy-s-advance/orig-development/kernel-mk-kernel-t2978377 ,and then CM13. For me it worked.
[Galaxy S Advance I9070 Original Android Developmen] psycrow17:
Yes, i'm install MK Kernel r6.0.1 to my CM11 by Epirex and i have this problem. So for me it's not working.

Oh, trying to install stock firmware...And it's work! After i'm install 4.1.2, then MK Kernel, It's work. Yeah!
[Galaxy S Advance I9070 Original Android Developmen] DaksAnkit:
how can that be possible i never have had trouble with it.

did you follow all steps carefully .

I am assuming that your phone is rooted

here is what you need to do if you have tried installing once and failed flash xposed uninstaller first and reboot so that older files won`t contradict with fresh installation

1: get the xposed framework ( sdk 21 is using KK sdk 22 if using LP rom or sdk 23 if using MM rom )

put it in sdcard

2: get xposed installer apk file

3: Install xposed installer apk

4:boot into recovery install/flash xposed framework.

5:reboot [wait for few minutes it takes few extra minutes to reboot after first installation.

---------- Post added at 10:55 PM ---------- Previous post was at 10:50 PM ----------

YOU NEED TO FLASH A COMPATIBLE RECOVERY

TWRP / PHILZ should do cwm is not compatible

try flashing twrp in odin
[Galaxy S Advance I9070 Original Android Developmen] psycrow17:
Yes-yes...i'm fix my problem

Find interesting bug. After end call get message "in application Phone error occurred". This doesn't effect at work, but gets after every call. After wipe bug repeated
[Galaxy S Advance I9070 Original Android Developmen] Recognized:
Bug report for 18/7 build, after 2days usage:

1) After disconnect from phone call, it pop-up error message: " Unfortunately phone has stopped. "

2) Sometimes WiFi after disconnect won't auto reconnect and can't select eg. Malaysia for WiFi Region Code.

3) Can't install big app eg: Facebook and some moderate app eg: DropBox, Chrome need to do "clean up" and try re-download few times to successful install.

4) If install adblockplus (ABP), phone will go laggy (already OC at 1.2Ghz) suppose due lack of ram.

Overall good job if only install few and small app [MENTION=5371721]Epirex[/MENTION], waiting stable ROM from you. Thank you~ ^^
[Galaxy S Advance I9070 Original Android Developmen] sXhokage:
Cast screen not Working

----------------------------------

I'm trying to cast my screen to All cast reciever by chrome addon but everytime I start it says Unfortunately,*app* has stopped.

I tried mirror app to cast screen as well as record screen but failed.and tries some other app and still the same result. I hope u can fix that too.

Anyway thanks for the awesome rom. Keep up the good work buddy :)
[Galaxy S Advance I9070 Original Android Developmen] iso188:
Try Airdroid. It worked for me.
[Galaxy S Advance I9070 Original Android Developmen] Recognized:
Another major bug:

GPS location with mobile data also can't detected.

Which mean GPS can't function in any mode: High Accuracy, Battery Savings or Device Only.

I am not sure why you said only can't function only in "Device Only" mode.
[Galaxy S Advance I9070 Original Android Developmen] d3br0wn:
Hey Guys,

just a short reporting.

Flash worked as soon i used the newer version of TWRP,

after reflash with the updated Version from 18. my Google Service stopped crashing,

Camera works again and GPS looks like its working (not tested with mobile data),

WLAN autoconnect seems to work again.

Now i've got a question: When someone call me, my Phone (app) don't show the Contact, just the number but the number is mapped with a contact.

Is here someone with the same problem or does someone know how to solve it?
[Galaxy S Advance I9070 Original Android Developmen] mickpr:
Really?

> Flash worked as soon i used the newer version of TWRP,

Which exactly version did you use?

> after reflash with the updated Version from 18. my Google Service stopped crashing,

Really, in my case - it crashes still

>Camera works again and GPS looks like its working (not tested with mobile data),

Camera has worked, but GPS - nope!

Shall you test the GPS in "device mode", please. :) In my case (and not only in my case) it doesn't work at all!

Please test, and let us to know.

Thanks in advice.

Michal
[Galaxy S Advance I9070 Original Android Developmen] d3br0wn:
I needed the newer version of TWRP cause i got some meta errors when i tried to flash the custom rom.

It's the TWRP 3.0.2-0, link is somewhere here in this thread. Update the recovery kernel with heimdall (or use odin).

With the 3.0.2-0 i was able to flash the CyanogenMod 11 and then directly the 13, installed the gapps from here and as soon the update was available, i flashed it.

Since i flashed the updated rom it stopped crashing. Maybe you need to check the permissions of your apps or need the google play app.

Yea camera has worked but when an app like whatsapp used it, i had to activate it double times (first shot won't work)

.

i use high precision, device mode doesn't work at all, thats correct.

but is here nobody with the contact problem? (my post above)
[Galaxy S Advance I9070 Original Android Developmen] Recognized:
GPS can't function.

Did you test use Google Navigation or Waze to some destination?
[Galaxy S Advance I9070 Original Android Developmen] Migual12:
Flashed it as described above. After flashing cm12.1_janice-261115 and booting, the previous version TWRP 2.8.7.0 shows again although I have selected not to flash recovery in the developer options. :confused:

Meanwhile found a solution
[Galaxy S Advance I9070 Original Android Developmen] rakshushetty:
Plzz suggest me a link to go back to stock ROM.
[Galaxy S Advance I9070 Original Android Developmen] Cassiusss:
Go to sammobile.com and by searching for your phone model you will find the firmware for your country and instrunctions for installation with Odin.

If you don't want to use Odin then you can install this, it's stock firmware heavily debloated.
[Galaxy S Advance I9070 Original Android Developmen] ChronoMonochrome:
[MENTION=5371721]Epirex[/MENTION],

Hey there!

Recently I was working on janice support in chrono kernel - theoretically it should be possible to run both codina and janice using same kernel (with a some dirty trick, though). Do you have some time to this kernel:

https://github.com/ChronoMonochrome/Chrono_Kernel-1/commits/master/

?

It's only necessary to replace "androidboot.hardware=samsungcodina" with "androidboot.hardware=samsungjanice" in CMDLINE of codina_defconfig - I'm planning to do it at run-time (e.g. by repacking kernel and replacing this line using sed), but for now it would be good to know, if it can simply run when this line changed in sources. So if it can run with only this change, then this is first cross-device kernel ever :D

Thank you and sorry for OT :)
[Galaxy S Advance I9070 Original Android Developmen] Recognized:
I experience ChronoLP kernel since PolishVodka ' s OMNI 5.1.1 last year but I not sure izit your kernel or not.

If yes, then your kernel really awesome.

Thank you [MENTION=5695278]ChronoMonochrome[/MENTION] for help, hope [MENTION=5371721]Epirex[/MENTION] will consider to use it.

And if possible please give him some guide to fix "GPS problem". Thank you!
[Galaxy S Advance I9070 Original Android Developmen] ChronoMonochrome:
You probably mean one of older versions of chrono kernel built by PolishVodka.

Thanks for your opinion, btw :)

I'm afraid, there is not much to suggest, especially if this problem is happening for some users, while not for some another. In marshmallow, we use a new lib named libste_symbols.so that implements some missing symbols required by gpsd binary, and as far as I can see, it's already implemented by Epirex. I suppose, you have to play with gps.conf settings - there are many variants can be found over Internet and I'm unsure if there is some universal config that works for everything. For me the standard version of gps.conf works as well (but not everywhere, e.g. near the window only), though I never used it for anything but app GPS Test.
[Galaxy S Advance I9070 Original Android Developmen] PolishVodka:
On Janice there is no gpsd binary (GPS hal, gps.montblanc.so, need to load gpsd deamon and than gps.xml for codina) only gps.montblanc.so, but its size is a lot of bigger than our, so probably everything's is in one binary code.

I'm not sure but for codina and janice is the same broadcomm GPS chip?
[Galaxy S Advance I9070 Original Android Developmen] jadega:
Dude you're really Awesome, I've been watching your work since you Joined xda and I appreciate your Hardwork and Dedication :)
[MENTION=5371721]Epirex[/MENTION] is an awesome Developers if you both work as a team I hope Jaince and Codina will have a Bright Future :)

One more thing, Will this kernel support Multiboot?
[Galaxy S Advance I9070 Original Android Developmen] Recognized:
CM 13 Teamwork???

[MENTION=4881398]PolishVodka[/MENTION] any chance you update your CM 13 (I prefer your ROM) ? or help Epirex make a stable CM 13 ?
[Galaxy S Advance I9070 Original Android Developmen] ChronoMonochrome:
Yeah, if so, it might be worth to try using gpsd & gps.montblanc.so blob from codina.

P.s. shim libraries, such as libste_symbols.so seems to be cannot loaded by any of hardware libs by setting LD_SHIM_LIBS, (don't remember if LD_PRELOAD works either, probably it must do?). One possible way to get it loaded is to make dummy wrapper gps.montblanc.so that loads both shim lib and the original gps blob. I'm from mobile now so can't describe how exactly to do this, although my hardware_u8500 repo should contain commits with such trick done for camera & gralloc libs.

UPD. Ok, actually there is one much easier way to load shim library - original gps blob can't be modified, but it's easy to modify whatever opensource lib, on which relies gps.montblanc.so (list of such libs can be get by using strings gps.montblanc.so | grep "\.so" command) - dirty & cheap, but should work too.
[Galaxy S Advance I9070 Original Android Developmen] sXhokage:
Guys, anyone else having problem with WiFi Hotspot?

I can't seem to get it to work. I noticed it when I was trying to share some files with my friend. Currently reverted back to CM11, and thinking of reflashing this rom. So anyone else having this problem?

---------- Post added at 02:27 PM ---------- Previous post was at 02:20 PM ----------

And also I know the Question that I'm going to ask is not allowed in XDA, and pardon my curiosity, But I really want to know this:

Which romis best for playing Games, some little heavy games like Modern Combat 4(With GL Tools tweak of course) and some other like Dungeon Hunter 5 and so on.

Honestly I can't really download all the roms and test it myself because my internet speed is very slow and I'm afraid if I'll damage my phone by flashing roms over and over again.

Anyway thanks for your concern :)
[Galaxy S Advance I9070 Original Android Developmen] Epirex:
Thanks for trying to give support to janice

It's a very interesting project, I'll take a look more later :D

About GPS bug for janice, my friend [MENTION=6660908]NV-Dev[/MENTION] helped me find the problem. apparently janice have the same problem as exynos devices

gps.montblanc.so uses androidGetTid definition (Deprecated in marshmallow)

I edited the blob based on this commit and I get GPS working again. but the system crashing in first GPS connection (See log)
[Galaxy S Advance I9070 Original Android Developmen] ChronoMonochrome:
Hmm, I thought codina and janice should be using very similar GPS implementations, but apparently this is not a case - I can't find any use of androidGetTid function in both gpsd and gps.montblanc.so.

About GPS blob crash, seems that it's caused by some incorrect work of DBGPRINTF function in janice GPS blob (probably it passes an incorrect parameters to vsnprintf function from libc thus causing it to crash). Try suppressing it by renaming DBGPRINTF to whatever another name (but with same length), using sed. Be sure to provide an implementation of this renamed function in whatever lib that is used by GPS library, e.g.

// ___PRINTF (DBGPRINTF) function declaration
int ___PRINTF(const char *format, ...)
{
return 0;
}

I don't know for what exactly DBGPRINTF is used, apparently it should be doing some work around debugging and therefore it's possible that suppressing this function won't hurt. I'm also doing assumption that this function is similar to C printf, but probably it doesn't matter since the declared above function can recieve as much parameters as it's passed to it.

UPD:

the following is a diff of vsnprintf function in 4.4.4 vs 6.0.1:

diff --git a/libc/stdio/vsprintf.c b/libc/stdio/vsprintf.c
index 846ee8a..8b1a088 100644
--- a/libc/stdio/vsprintf.c
+++ b/libc/stdio/vsprintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vsprintf.c,v 1.13 2006/01/06 18:53:04 millert Exp $ */
+/* $OpenBSD: vsnprintf.c,v 1.15 2009/11/09 00:18:28 kurt Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -31,28 +31,33 @@
* SUCH DAMAGE.
*/

+#include <limits.h>
#include <stdio.h>
#include <string.h>
-#include <limits.h>
#include "local.h"

-#if defined(APIWARN)
-__warn_references(vsprintf,
- "warning: vsprintf() is often misused, please use vsnprintf()");
-#endif
-
int
-vsprintf(char *str, const char *fmt, __va_list ap)
+vsnprintf(char *str, size_t n, const char *fmt, __va_list ap)
{
int ret;
+ char dummy;
FILE f;
struct __sfileext fext;

_FILEEXT_SETUP(&f, &fext);
+
+ /* While snprintf(3) specifies size_t stdio uses an int internally */
+ if (n > INT_MAX)
+ n = INT_MAX;
+ /* Stdio internals do not deal correctly with zero length buffer */
+ if (n == 0) {
+ str = &dummy;
+ n = 1;
+ }
f._file = -1;
f._flags = __SWR | __SSTR;
f._bf._base = f._p = (unsigned char *)str;
- f._bf._size = f._w = INT_MAX;
+ f._bf._size = f._w = n - 1;
ret = __vfprintf(&f, fmt, ap);
*f._p = '\0';
return (ret);

Apparently, it changed too drasticallly so now the call __vfprintf(&f, fmt, ap) no longer works as it was supposed to in 4.4.4. You can also try renaming vsnprintf call in GPS blob and providing an old version of this function (taken from 4.4.4).
[Galaxy S Advance I9070 Original Android Developmen] lesilva:
Staff was with version 4.3 and I'm trying to switch to this more when I start installing it in error and aborts, you have to change the kernel or CWM / TWRP.
[Galaxy S Advance I9070 Original Android Developmen] Cassiusss:
Install this, then retry to install CyanogenMod 13.
[Galaxy S Advance I9070 Original Android Developmen] Epirex:
Okay, after trying many things, finally fix the GPS blob crash using the original GPS configs for janice

Thanks for your help Chrono :highfive:
[Galaxy S Advance I9070 Original Android Developmen] DaksAnkit:
You are awesome !! :good: , please post the FIX in a fashable file or atleast a small guide for the nOObs !!
[Galaxy S Advance I9070 Original Android Developmen] Epirex:
Sure, falsh this zip from TWRP and reboot to system ;)
[Galaxy S Advance I9070 Original Android Developmen] jadega:
Thanks a lot Bro!

You're Awesome :)
[Galaxy S Advance I9070 Original Android Developmen] Recognized:
Hope it work. Thanks for your effort Epirex and kind help from Chrono.
[Galaxy S Advance I9070 Original Android Developmen] pinux89:
Work for me. Seems better than cm11 gps...now fix inside home like the xt1039
[Galaxy S Advance I9070 Original Android Developmen] RhapsodyInDroid:
This file change some things beside GPS? Only curiosity.

Sorry my bad english.
[Galaxy S Advance I9070 Original Android Developmen] No-Lags:
Hello .. Bro.. Can you implement to ur cm11 builds too? I've been trying to install into cm11, but the GPS is stilln't working properly i think. :( anyway thanks 4 ur awesome jobs.
[Galaxy S Advance I9070 Original Android Developmen] Epirex:
The zip flasheable only change the gps.montblanc.so and sirfgps.conf fixed for Marshmallow

I think the problem of GPS in CM11 is on the other part, I will try to see if I can fix it there too
[Galaxy S Advance I9070 Original Android Developmen] gravit0n_:
Device GPS is working, hurray! Thanks guys.
[Galaxy S Advance I9070 Original Android Developmen] jadega:
[MENTION=5371721]Epirex[/MENTION] I'm on the 2nd CM 13.0 Update and Flashed the GPS but still my GPS isn't working, Can you Guide me Bro :)
[Galaxy S Advance I9070 Original Android Developmen] Cassiusss:
Have you tried to test the gps with this?
[Galaxy S Advance I9070 Original Android Developmen] jadega:
Yes! I tried it, it shows GPS "Not Fixed"

Is it working for you?, are you on the Latest Build?

Do I need to flash Gapps for worjing GPS?
[Galaxy S Advance I9070 Original Android Developmen] Cassiusss:
Yep, I'm on last build.

GPS wasn't working at first, but then I tried the GPS test app and now it's working fine.

Gapps are not needed for GPS. ;)
[Galaxy S Advance I9070 Original Android Developmen] jadega:
I'm on the 2nd Build maybe this is the reason for GPS error anyways thanks for your Quick reply :)
[Galaxy S Advance I9070 Original Android Developmen] Cassiusss:
Yeah, maybe the 2nd build have different GPS files, so the only way to solve the problem would be to create a patch for that specific build.

Anyway, why are you using 2nd build? Is better than latest build?
[Galaxy S Advance I9070 Original Android Developmen] jadega:
Well, I already exceeded my Data Limit due to which I'm not getting High Speed

But I'll update Tomorrow ;)
[Galaxy S Advance I9070 Original Android Developmen] jadega:
Tried on 18/07 Build still GPS Status is "No Fix"

Help me Bro!
[Galaxy S Advance I9070 Original Android Developmen] Cassiusss:
First go to Settings -> Location -> Mode, and select "Device only".

Now go outside (or near a window at least), open GPS Test and the number of "In View" (below No Fix) should increase. :)
[Galaxy S Advance I9070 Original Android Developmen] Recognized:
After flash gpsfix.zip, tested today GPS fix finally(need go near window or outside).

Now left minor bug, especially annoying error message pop up after ended phone call >>> (Unfortunately, Telephone has stopped).

And other known bug that on BUG LIST.

We getting closer to "Stable" CM13. Good job Epirex !
[Galaxy S Advance I9070 Original Android Developmen] rodrengo:
Gps test says no fix, nothing increase, please help
[Galaxy S Advance I9070 Original Android Developmen] isaak:
Did you also reset AGPS data with this app?

https://play.google.com/store/apps/details?id=com.eclipsim.gpsstatus2
[Galaxy S Advance I9070 Original Android Developmen] jadega:
Thanks Bro! You Helped me a lot :)

I'm able to fix my GPS but as soon as I open Pokémon GO it shows No Gps signal Found, I've set GPS at High Accuracy!

Any Solutions?

Edit

Clean Flashed with Gapps now everything is fine :)
[Galaxy S Advance I9070 Original Android Developmen] gravit0n_:
Pokémon GO does indeed work with GPS now, however for me its a crashfest. It keeps crashing everytime after I'm 1 minute in the game or so, probably RAM I guess.
[Galaxy S Advance I9070 Original Android Developmen] DaksAnkit:
Can you share the POkemon go link ?? my phone doesn`t show it in playstore and when i installed from a 3rd party website . it just sits there on the welcome screen and doesn`t effing .. load .
[Galaxy S Advance I9070 Original Android Developmen] Cassiusss:
DaksAnkit:

https://play.google.com/store/apps/details?id=com.nianticlabs.pokemongo

http://www.apkmirror.com/apk/nianti...lease/pokemon-go-0-33-0-android-apk-download/
[Galaxy S Advance I9070 Original Android Developmen] bhisma_gangga:
how to swap memory on last build?
[Galaxy S Advance I9070 Original Android Developmen] superuser#1508:
Pokemon Go works for you? It doesn't work in India right?

[MENTION=6529218]DaksAnkit[/MENTION], it doesn't work in most of the cities in India.

Only a blank map appears. And it takes a while for it to load in CM13 but lesser in Modded CM11
[Galaxy S Advance I9070 Original Android Developmen] DaksAnkit:
Thanks man but already tried gplay doesn`t show the app in phone and when i surf it with laptop

it says device is unsupported and i downloaded from apk mirror only the same file but it took ages to open and always stuck at the screen ..

i will dwnload GL tools and tweak my phone as said by izwan in other thread,

and superuser#1508 - i couldn`t say much as i haven`t played it yet ..
[Galaxy S Advance I9070 Original Android Developmen] superuser#1508:
It wont work even if it loads. All you will get is a blank map. Since its geo blocked in India till the official release. Even i'm waiting...
[Galaxy S Advance I9070 Original Android Developmen] DaksAnkit:
Ok so it did run on my phone cm13 but with that tweak thanks to [MENTION=7398034]izwan15[/MENTION] for letting us know about GL TOOL tweaks , it said there is a pokemon nearby it did run i guess untill it ForceClosed on me , i got so mad i deleted it .. i guess i`ll try playing it on SM-A5 it must support it . Also i read this from a reddit forum

" Status of PoGo in India:

Game is geo-unblock in following region boundary: North: J&K , Haryana, Punjab West: All states South: West and Northwest of Karnataka East: Madhya Pradesh

Rest of India are geo-blocked.

Note: North of Kerala, Central Karnataka, Northwest of Uttarakhand and Delhi may fall under Geo-unblock region.

Note2: East of Maharashtra, south-east and east of MP, south-east of UP will fall under Geo-blocking region. "
[Galaxy S Advance I9070 Original Android Developmen] jadega:
Yes! It works Awesome for me in India (On my Other Phone) but the only Problem is that there are limited Pokestops as compared to other Countries, and my Map also loads quickly :)
[Galaxy S Advance I9070 Original Android Developmen] Recognized:
BUG report, [MENTION=5371721]Epirex[/MENTION] :

1) Cannot shut down when charging.

2) "Unfortunely, Telephone has stopped." message pop-up after call. (Phone is working, just annoying message)

3) Phone not stable when overclocking even at 1150 mhz.

(I using ChoroLP kernel before stable even 1200 mhz)
[Galaxy S Advance I9070 Original Android Developmen] ziyajan:
just two bug has been left [MENTION=5371721]Epirex[/MENTION]

message pop-up (unfortunately system UI has stopped.) and (phone has stopped).

please fix it.

thanks