yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 General] sm_adil:
Just the phone symbol and lock screen icon!!!!

I'll try to clean install it again and let you know

I can't provide the logs as my PC is under service...

So I can only test ROM on phone
[Galaxy S Advance I9070 General] Recognized:
Ya , thank ChronoMonochrome for helping 3liteking148 n Janice. Really appreciate ur support!
[Galaxy S Advance I9070 General] 3liteking148:
Can anyone edit build.prop to see if the RIL would work?

Change "rild.libpath=/system/lib/libsec-ril-wrapper.so" to "rild.libpath=/system/lib/libsec-ril.so".

And for the sound try deleting AudioFX.
[Galaxy S Advance I9070 General] Cassiusss:
"rild.libpath=/system/lib/libsec-ril-wrapper.so" is not written in build.prop.

So we can just try to add "rild.libpath=/system/lib/libsec-ril.so", right?

EDIT: tried both "rild.libpath=/system/lib/libsec-ril.so" and "rild.libpath=/system/lib/libsec-ril-wrapper.so" (only added one at time, obviously) but no RIL.

Deleted AudioFX and still no sound (even tried with the adm.sqlite-u8500 file suggested by ChronoMonochrome).

Here's the logcat:
[Galaxy S Advance I9070 General] sm_adil:
Even I've tried but no luck with sound....:(
[Galaxy S Advance I9070 General] ChronoMonochrome:
If it's not because of file adm.sqlite-u8500 is missing, then I can only suggest replacing lib/libste_adm.so and bin/admsrv binaries from any another ROM (in the case if these were rebuilt from sources in the latest build). There are no working ADM sources for janice / codina so there's no choice but use the stock ones. It could be a reason for the RIL broken too, btw. The only reason why these source were still left in my github repo is that I was hoping that sometime these can be useful - but no luck.

These aren't built from source, as I can see. How about replacing all the newly built libs with the stock ones ? - https://github.com/Epirex/android_vendor_samsung_u8500/tree/cm-13.0/janice/system

But be careful not to use prebuilt libstlport.so - it doesn't work properly since 5.0+.

Btw, it might worth taking `logcat -b radio` instead of an usual logcat for RIL debugging.
[Galaxy S Advance I9070 General] Cassiusss:
[MENTION=5695278]ChronoMonochrome[/MENTION] here's a logcat -b radio:
[Galaxy S Advance I9070 General] ChronoMonochrome:
Judging by logs, now the first what comes to the mind is the linker warnings about a text relocations. Not sure how these fatal are, but it's either due to linker or because of the missing properties in build.prop. I've replaced all the binaries and build.prop with the ones from SergeyL's CM14.1 build for codina (using janice-specific blobs and build.prop properties ofc). Also attached zip (system.zip - not flashable) with the binaries I'd replace in the first order. Either way, I can't say whether it'll work at all, as it's totally untested, so use with the caution.

http://www.xda.mister-freeze.eu/XDA...sc/lineage14.1-20170326-UNOFFICIAL-janice.zip (md5: 731f6dadad41c65941beb5fe2f33cfa6)

http://www.xda.mister-freeze.eu/XDA-files/ChronoMonochrome/misc/system.zip
[Galaxy S Advance I9070 General] Cassiusss:
Tried lineage14.1-20170326-UNOFFICIAL-janice.zip and the phone get stuck on boot logo, reboot after 10-20 seconds and return to boot logo, reboot and so on a loop. During this adb doesn't get a logcat, so I've upload the last_kmsg file (kernellog.txt).

Then I tried to add the files from system.zip into 3liteking148's rom: the rom does boot, but system process stops continuously. Sim card is still not detected. In this case I've made a normal logcat (logcat.txt) and a radio logcat (radio.txt).

I've put the log files in the adb.zip:
[Galaxy S Advance I9070 General] 3liteking148:
The text relocations warning shouldn't be that fatal as I disabled the actions it will normally do such as refuse to load the lib, only the warning appears.

https://github.com/3liteking148/and...lpha/patches/cm/bionic/text-relocations.patch

P.S. what does the "immvibed" binary do. It's non-PIE so it won't load however LineageOS now allows some non-PIE blobs (https://github.com/LineageOS/android_bionic/commit/55db1141913a77289abd293bca807e0520fd600a) but I haven't used the non-PIE header file yet.
[Galaxy S Advance I9070 General] ChronoMonochrome:
By bad, I didn't notice I've used a kernel from 20170325 build. Can you retry with the kernel & modules from the latest build?

Not sure if it does actually do anything on codina - in the logs it just complains that it's not running with the root capabilities, then exits. So probably it's not even used.

Hm, I saw that commit, but the latest time I was compiling 7.1.1 I just ended up reverting it and implementing an older non-PIE executables support patch.
[Galaxy S Advance I9070 General] Cassiusss:
Tried with the kernel and modules from the latest build: the phone get stuck at boot animation now (not Lineage's boot animation but CyanogenMod's).
[Galaxy S Advance I9070 General] sm_adil:
I have just replaced the files mentioned in system.zip from the new build by ChronoMonoChrome's build with the 2017-03-27 build....this time phone did boot, but no sound !!!!
[Galaxy S Advance I9070 General] ChronoMonochrome:
These logs looks already better than before, though apparently, two builds (SergeyL's and 3liteking148's) have the diffrerent source base, so simply replacing blobs didn't do the trick. Also there were some updates in the audioflinger, so it's another issue now (not sure though what wrong with this).

Did the RIL work? According to logs it looked like it should work.
[Galaxy S Advance I9070 General] sm_adil:
Sorry for that I thought I had uploaded the logcat!!!!

Anyway here's the logs...about RIL it doesn't work...
[Galaxy S Advance I9070 General] sossio18:
Pls host me root and recovery, i wanna test the rom
[Galaxy S Advance I9070 General] sm_adil:
If you really wanna test this you could use any recovery compatible with KitKat ROMs....
[Galaxy S Advance I9070 General] Azlan khan:
Can anyone provide the link for the rom. Please!!

I cannot find it:(
[Galaxy S Advance I9070 General] Cassiusss:
Here's the rom: https://xdaforums.com/showpost.php?p=71601220&postcount=66

But beware, before you install it, you have to do this: https://xdaforums.com/showpost.php?p=71606718&postcount=68
[Galaxy S Advance I9070 General] sm_adil:
Cassiusss any luck with RIL??
[Galaxy S Advance I9070 General] Cassiusss:
Unfortunately I don't know how to develop for Android, I'm a simple user, so I have no idea how to fix RIL.
[Galaxy S Advance I9070 General] sm_adil:
As much I can see the builds from 3liteking148 which is booting is missing libs like wrapper.so!!!! Or something like that...

I guess we can just copy it from the build by ChronoMonoChrome which is having this files....I'll try it tomorrow since I've deleted the ROM...

Also its just a thought.... Gonna report here if it worked:fingers-crossed:

Edit : Tried doing this but still no RIL...:(

Guess now since hastalafiesta is also back for our jenice's development we might surely solve the bugg's:laugh:
[Galaxy S Advance I9070 General] Redlyk:
it's real??

youtube.com/watch?v=T7ttKj7whq0

youtube.com/watch?v=UZsCdUEm9ZM
[Galaxy S Advance I9070 General] sm_adil:
Nope those video's aren't S Advance's they just gave the preview of Android N...
[Galaxy S Advance I9070 General] hastalafiesta:
devs, if you want I'm available to use my "really" old Janice to make some tests and provide all the logs u need

i could help you with source stuff too

let me know and contact me on Hangouts ! ;)

ps

as RIL, have u applied all patches !? As i remember there s a u8500 ril patch
[Galaxy S Advance I9070 General] sm_adil:
https://github.com/Epirex/android_vendor_samsung_u8500/tree/cm-13.0/janice/system

[MENTION=4982868]hastalafiesta[/MENTION] are you talking about this????:confused:
[Galaxy S Advance I9070 General] hastalafiesta:
no.. take a look here https://github.com/hastalafiesta/android_device_samsung_janice/blob/cm-12.1/patches/new.sh Lines 72-77 and 133-138

this script contains all the patches i used to apply to my old cm 12.1 janice roms (oh, good times)

honestly i don t know if it is changed a lot with cm 14, but patches should be the same, more or less
[Galaxy S Advance I9070 General] Azlan khan:
I should flash that zip file before installing the ROM???
[Galaxy S Advance I9070 General] Cassiusss:
No, installd.zip is not flashable. You have to extract it. You'll obtain an "installd" file. Drag "installd" in system/bin/ (inside lineage-14.1-20170326-UNOFFICIAL-janice-1.zip).
[Galaxy S Advance I9070 General] sm_adil:
I'm not a developer but yaa still learning how:fingers-crossed: (soon to join:silly: )

Thanks for your cm 12.1 I've used it for quite a time...:)
[Galaxy S Advance I9070 General] hastalafiesta:
so which patches have u applied to ur cm 14?!

if you do not apply (and adapt of course) this patches, tons of stuff won t work properly
[Galaxy S Advance I9070 General] sm_adil:
With respect... hastalafiesta this build is by 3liteking148 and all the credits goes to him for not letting our jenice die I am just testing it .....

I guess the patches he used might be from Epirex's cm 13…..
[Galaxy S Advance I9070 General] hastalafiesta:
ok ok, so [MENTION=7606633]3liteking148[/MENTION] here is my help to your work!
[Galaxy S Advance I9070 General] edukardo:
Don't agree. Every help must be welcome
[Galaxy S Advance I9070 General] Recognized:
any progress?
[Galaxy S Advance I9070 General] sm_adil:
Nope....:(

Tried almost everything but no RIL,Camera issue!!!,Random Reboots!! and many more bug's ...

If the developer continues support we might fix bug's....

For now its far from being stable!!!!!
[Galaxy S Advance I9070 General] 3liteking148:
This project is not yet abandoned :)

Can someone try the boot.img below and check if the device still boots and if the camera would work.

I'm working on a golden-janice unified build (same ROM but different updater-scripts, blobs, and kernels). Hopefully the bugs like RIL and random reboots would be fixed in it.
[Galaxy S Advance I9070 General] sm_adil:
Thank u 3liteking148:laugh:
[Galaxy S Advance I9070 General] sm_adil:
Tried the new boot image but no luck with any fix mentioned....

But now unknown baseband is fixed...
[Galaxy S Advance I9070 General] edirneli82:
No random reboot. But not working camera and audio. Also ril . Thanks bro.
[Galaxy S Advance I9070 General] sm_adil:
Yes the reboots were not often but for me after the first boot it had occurred
[Galaxy S Advance I9070 General] 3liteking148:
Can anyone test this?

https://www.androidfilehost.com/?fid=529152257862719524

It's a unified build for golden and janice. Also, "ste.cam.ext.cfg.path.secondary=/system/usr/share/camera/config_file/samsung_s5k4ecgx_janice.dat" must be added to build.prop to fix camera.
[Galaxy S Advance I9070 General] No-Lags:
Just try it, the results are not successfully boot properly. It seems like a boot repeatedly, without success. Sorry I can not offer logcat correctly. :( Because after knowing that does not work, I hurried back to my recovery to restore the previous ROM. By the way thank you very much for your support.

Edit: Maybe I'll try again tomorrow. Perhaps there is something wrong with my installation process earlier.

Edit 2 : So I have tried to re-install the latest ROM. And what I thought before was wrong (fault installation procedure). It turns out ROM, doesn't boot. So I tried to make a logcat, via adb use the tool from the thread here. And the result is..

:rolleyes:

Is there something wrong with the procedures I have done? [MENTION=6416430]Cassiusss[/MENTION]
[Galaxy S Advance I9070 General] sm_adil:
Thank you again 3liteking148...

This Rom doesn't boot, for half an hour I tried was giving only bootloops:(

Strange!!! this time the recovery doesn't change after flashing this Rom..that is it's just goes back to the previously installed Rom's recovery (in my case it was cwm) so I was not able to grab the last_kmsg or tombstone and tried adb logcat but was giving error as mentioned by No-Lags..
[Galaxy S Advance I9070 General] MisheruHiro:
hi i tried to install the Lineage 14.1 on my Janice...but apparently it was freeze during boot, how can I do? :(

sorry my English...is not perfect
[Galaxy S Advance I9070 General] Wizard_101:
Bro this Rom is for advanced user for testing purpose not for the regular usage....

Cause dev's are still working on it

If you want to test it, than its ok

And also as sm_adil and No-Lags said the new build doesn't boot...
[Galaxy S Advance I9070 General] MisheruHiro:
I know that it is not for regular use...I just wanted to know why not start on my device
[Galaxy S Advance I9070 General] Cassiusss:
I'm sorry that I can't help with testing right now but I've noticed an error in \META-INF\com\google\android\updater-script-janice

The string for kernel installation look like this:

package_extract_file("janice.img", "/dev/block/mmcblk0p15 ");

But it should be like this:

package_extract_file("janice.img", "/dev/block/mmcblk0p15");
[Galaxy S Advance I9070 General] 3liteking148:
Thanks for telling the issue. No wonder why people are reporting issues that the recovery won't change.

P.S. Can anyone flash the boot.img from the last booting build. Because it is an eng build so logcats are possible without the need for the phone to boot and get authorization for usb debugging.
[Galaxy S Advance I9070 General] sm_adil:
Yay it booted..I used the old boot img

pretty much same bugs like no sound, camera bug, no ril...

here the logs

Edit: Aslo I've faced this error and it was giving me same error from the boot time till I switched off the phone which was ssly bugging me!!!! I mean I couldn't access any of the apps...just so u know

I faced same error when I used build prop by ChronoMonoChrome's build...
[Galaxy S Advance I9070 General] Rahid Khan:
Any update
[Galaxy S Advance I9070 General] 3liteking148:
I think that the opensource RIL is being replaced by the prebuilt RIL which can have some issues. libsec-ril also has an issue where it uses all the CPU causing lags. Add the libs in the zip to /system/lib

For the FC issue, try running "restorecon -R /data" in recovery.
[Galaxy S Advance I9070 General] sm_adil:
[MENTION=7606633]3liteking148[/MENTION]

Tried doing that also but didn't work on Golden-Jenice ROM

The ROM is lag free but compared to the first build bugs I found was

1.Still no RIL

2.Wifi is broken and ya hotspot also

3.Bluetooth is also not working

4.Camera doesn't work

5.Still no sound

6.few apps were force closing

But in last LOS 14.1 build Bluetooth,WiFi and hotspot were working

So after copying these RIL files I've uploaded the logcat's
[Galaxy S Advance I9070 General] 3liteking148:
I just realized that the janice-specific kernel modules (wifi, possibly bt, etc.) aren't there. Camera is because the old ramdisk is being used. I will try to make a new build later.
[Galaxy S Advance I9070 General] sm_adil:
Sure man

I'm always there for testing

BTW should I try RIL files on older LOS build???

Might work I guess
[Galaxy S Advance I9070 General] 3liteking148:
Can anyone try flashing this new LOS update. Camera, Wifi, Bt should work. Once I have confirmtion that it boots I'll create a proper development thread in the development section.

https://www.androidfilehost.com/?fid=529152257862724871
[Galaxy S Advance I9070 General] Recognized:
wow !!! 7.1.2 hope it boot.
[Galaxy S Advance I9070 General] No-Lags:
Hello .. Previously, i say many thank you very much, coz still make janice there is still having hope to stay alive. This time I want to confirm that ROM is booting. BUT, when booting is complete and entering the google account registration wizard box, there is a message "com.android.phone has stopped". Not forget I attach a logcat message as well. Hopefully can be the next improvement material. thanks.

Edit 1: Okay, I'll try again. Because I can get into recovery with TWRP. Perhaps there is a change. I will report later. Thanks.

Edit 2: :cyclops:

Okay, finally it boots perfectly. So the initial cause is because I did not install GAPPS :D. Can I report here that some of the features that work funds still not work:

1. Wifi Working

2. Sound has not worked yet

3. Sim Card is not detected. :(

4. Vibrator not working properly.

5. Music Player pauses immediately when operated.

6. Toucpad dealers also stop instantly when in tap.

7. The lighting on the screen is also slightly opaque rather brownish (I think).

8. The Light bulb does not work.

10. Camera does not work. Also I did not see the camera app on the menu. So I can only operate it through the gallery.

12. Music Playaer also does not work well.

13. Sometimes the device often reboots itself when it encounters lags.

14. I notice the SDCard is read by Corrupt by device. But it still works.

15. Oh yeah, I almost forgot, By the way Janice's device read by PC is GT-i8090. Not supposed to be readable GT-i9070.

Perhaps the developer can fix it for the future.

Furthermore, other users might add the bug list above. :D

PS: New logcat is re-attached.

TIA.

Regards.
[Galaxy S Advance I9070 General] Torio233:
Booted, the problem is that I can't install pico gapps... It says that storage is insufficient...
[Galaxy S Advance I9070 General] alirezahaddad:
any improvments ?
[Galaxy S Advance I9070 General] No-Lags:
[MENTION=7606633]3liteking148[/MENTION] ~ I just thought, maybe you can build a LOS 14.1 ROM with mininum system feature only. So, just include the important features like: Sound (MPlayer + DSP MANAGER), GPS, BT, CAMERA. With the default Launcher is a Nova Launcher like the one in PA4.6 that has been modified by Gargaros (in the future :o )

Also include features in the information here. :o https://www.xda-developers.com/twrp-3-1-1-is-out-brings-minor-fixes/

Perhaps I think it can reduce the excess Lag. It's just my idea. :crying:
[Galaxy S Advance I9070 General] Recognized:
Ya totally agree... just minimal basic app will do.... so user can download what they like due limited ram we had.

And something like modded CM11 (which deleted before PA4.6) will be much better with mk-kernel overclock.
[Galaxy S Advance I9070 General] hastalafiesta:
Check if you have applied all those patches

https://github.com/hastalafiesta/android_device_samsung_janice/blob/cm-12.1/patches/new.sh

It is for the old cm 12.1 but i think that the parts to be patched should be the same
[Galaxy S Advance I9070 General] sm_adil:
[MENTION=4982868]hastalafiesta[/MENTION]

It seems [MENTION=7606633]3liteking148[/MENTION] is busy with his exam's:o

I am sure he'll have look at the patches:fingers-crossed: when he is free!!!!

I have tried building RR marshmallow few times in past weeks but got many compilation errors:p

Now even I have finals next month:silly: so don't know even if I can build a working ROM,but if I do..I would surely look into these patches and also require your help:highfive:
[Galaxy S Advance I9070 General] hastalafiesta:
sure but contact me on hangouts, here i am not so active ;)
[Galaxy S Advance I9070 General] sornay:
A New Hope !

Realy appreciate for that.

Keep your brilliant work [MENTION=7606633]3liteking148[/MENTION]
[Galaxy S Advance I9070 General] Recognized:
Yup, but after android K really take too long for wait stable rom .

Other even 'official' L or M also got major bug. T-T

However, thank all dev's hardwork.... really hope this N or O soon will make it stable. XD
[Galaxy S Advance I9070 General] Torio233:
Interested :D
[Galaxy S Advance I9070 General] Recognized:
Actually is about "stable" not interested or not. As I said none is stable after K. Waiting ur stable LOS13.
[Galaxy S Advance I9070 General] Recognized:
If u want to ported, just suggestion... u may try ported from Ace 2 instead of S3mini because chipset are same U8500.

ChronoMonochrome and SergeyL posted alot stable ROM.

Btw ChronoMonochrome provide sources in his ROM and I believe he willing to help if u ask him.
[Galaxy S Advance I9070 General] sm_adil:
[MENTION=7606633]3liteking148[/MENTION]
[MENTION=4881398]PolishVodka[/MENTION]

I had crazy idea this morning which was to use PV's cm 14 build and the boot.img by 3liteking's Booting ROM...

here's what happened ROM booted successfully....

bugs I encountered was ril,WiFi,BT,thetering...I guess cm 14 was missing these blobs..

But good news is sound was working:)

Even the camera was working (video recording was fc)

I made a complete logcat out of it have a look at it and in future 3liteking you might just fix the bug's
[Galaxy S Advance I9070 General] PolishVodka:
I'm sure all these issues may be related to changes in ramdisk between android 6.0 and 7.0 (wifi services etc.). For working RIL you must be sure to use proper libsec-ril.so as I remember, someone even posted it here some time ago.
[Galaxy S Advance I9070 General] 3liteking148:
I'm back again. I made this build without golden blobs (didn't have time to upload it until now) Audio might work there and I removed some RIL blobs that may be the cause of broken RIL.

https://drive.google.com/open?id=0Bw4AfK_vJ7JySVFObThHd0d0RXc

Camera might work by adding this to build.prop: https://github.com/Epirex/android_device_samsung_janice/blob/cm-13.0/system.prop#L32

[MENTION=7779223]sm_adil[/MENTION] to (possibly) fix wifi replace /system/lib/modules with /janice/lib/modules found in my builds.
[Galaxy S Advance I9070 General] No-Lags:
Has anyone tried to test it?

Not yet?

Okay..First of all, I would like to thank the 3liteking148 who has made this new build with a lot of progress. :good:

Then I give you a start to give some feedback from the test results I've done:

1. At the beginning of setup wizard, when we will type on the keyboard, the vibrator is still problematic. But after a few reboots, the problem stops by itself.

2.The camera still does not work. I've followed the possible hints that 3liteking148 has provided by adding a command line to build.prof.

ste.cam.ext.cfg.path.secondary=/system/usr/share/camera/config_file/samsung_s5k4ecgx_janice.dat

The camera icon was visible in the main menu of the app, then when I wanted to run it, suddenly the camera app disappeared by itself.

3. Screen brightness issues appear yellow that occurred in the previous build can now disappear by itself when we do multiple times to reboot.

4. Sim card still not working on this new build, very unfortunate.

5. Wifi works well I think. But I have not had time to try wifi theatring, by the way

6. New problem, I can not re-charging my device in offline mode, because I see offiline charge animation does not seem to work.

7. Sound is also still not working in this new build. Includes music player app.

PS: Oh yes, right now I can't take a logcat, coz my device's data cable is left in another bag at home. Sorry.

Perhaps another problem, can be conveyed by other users.
[Galaxy S Advance I9070 General] agus_ulo:
Try This method https://xdaforums.com/chef-central/android/guide-tool-projekt-scribt-v1-33-t3503018
[Galaxy S Advance I9070 General] Torio233:
I Guys:

I'm testing the ROM:

It booted

Audio not working

Camera not working

vibration issue when I open browser

:)
[Galaxy S Advance I9070 General] silvaoproprio:
Bootloop no stockrom...

Hey, so I tried your Rom and got into bootloop now my only problem is that I dont have the stock rom to flash trough odin and sam mobile and a bunch of other sites doesnt have it anymore I need the stockrom for portugal, I tried with another countries and it still gives me bootloop

EDIT: Found one already
[Galaxy S Advance I9070 General] silvaoproprio:
So I tested the ROM too

Audio is not working too

When i try to write the phone doesnt stop vibrating and most of the times crashes and reboots

Ain't got gapps because it said insuficcient space, I will try to see what can I clear to have space
[Galaxy S Advance I9070 General] sornay:
[MENTION=7606633]3liteking148[/MENTION]

where are you bro?

don't give up.
[Galaxy S Advance I9070 General] sm_adil:
Ahh...:(

Since the ROM has same bugs I dint test it

Yaa I forgot about modules

I'll sure do it and test it plus can you give/direct me to the exact ril patches that might work??? As instructed by [MENTION=4881398]PolishVodka[/MENTION]
[Galaxy S Advance I9070 General] sornay:
Sorry guys, which ROM is better now?
[Galaxy S Advance I9070 General] Recognized:
any tested? or updated [MENTION=7606633]3liteking148[/MENTION]