yashsingh1/xdaforums huggingface dataset:
[Galaxy Grand Duos i9082 Android Development] narangkunal:
Can anyone tell me, when they flashed AOSP and Gapps, is SuperSU already flashed, or we have to flash it manually??
[Galaxy Grand Duos i9082 Android Development] srikanthrayavarapu:
It has to be flashed manually from recovery.

---------- Post added at 10:58 AM ---------- Previous post was at 10:57 AM ----------

You are amazing sir. Thank you [MENTION=3117667]pawitp[/MENTION].
[Galaxy Grand Duos i9082 Android Development] narangkunal:
But I did flash SuperSU from recovery and the root checker app tells me that the root access is not properly installed! Can you help me?

---------- Post added at 05:38 AM ---------- Previous post was at 05:31 AM ----------

Can anyone tell me why I lost my root access after flashing this ROM??!!
[Galaxy Grand Duos i9082 Android Development] srikanthrayavarapu:
After flashing SuperSu, reboot system and open SuperSu app. Then it will install a script. Then you can check for root access. Which version of SuperSu you installed ?
[Galaxy Grand Duos i9082 Android Development] narangkunal:
It gives me an error while updating the SU binary script "normal". So, I rebooted and tried again, but it didn't work. I used SuperSU v2.46 I think, the flashable zip..
[Galaxy Grand Duos i9082 Android Development] srikanthrayavarapu:
This version is working for me. Try this. 1445579418482_BETA-SuperSU-v2.49.zip
[Galaxy Grand Duos i9082 Android Development] narangkunal:
Is the developer options enabled by default, or it has to be enabled? Because, I saw in a forum that in the developer options you have to enable root access to apps and ADB, then flash SuperSU, but I'm not sure!
[Galaxy Grand Duos i9082 Android Development] srikanthrayavarapu:
That is for the ROMs which are pre-rooted like CM12.1. But this is AOSP ROM and it is not pre-rooted. So you have to flash SuperSu and root.
[Galaxy Grand Duos i9082 Android Development] narangkunal:
Then my only question is why did the Super SU binary script update didn't work and why the root checker app gives me "Root access is not properly installed on this device"? AOSP is an incredibly fast, smooth and fluid ROM but if I can't get root access, what's the use. Why am I facing this problem?
[Galaxy Grand Duos i9082 Android Development] srikanthrayavarapu:
Check the version of SuperSU you installed will support Android 6.0 or not ? Check for the supported version and try.
[Galaxy Grand Duos i9082 Android Development] narangkunal:
Yeah, I saw in the play store that version 2.46 was released back in February. But the one you provided is v2.49 isn't even on the Play store!!! Does this one work? How did you get it?
[Galaxy Grand Duos i9082 Android Development] srikanthrayavarapu:
It is provided by one of our forum member in earlier posts in this thread.
[Galaxy Grand Duos i9082 Android Development] narangkunal:
So, I'm guessing that v2.46 being released in February didn't have support for Marshmallow because it released just this October. And the beta release version works with this ROM? Did you use this beta version? And it worked for you?
[Galaxy Grand Duos i9082 Android Development] iam_dev_:
No it wont work, and please ask the question to the device specific forum
[Galaxy Grand Duos i9082 Android Development] codekidX:
The 1st two link was a diff made out of pawitp's patch for samsung galaxy star which had a same board and the same initial problem as ours during jellybean times, it will not help here.

Since I don't have the source I cannot play with rild binary and I have seen pawitp tell that it is a problem with binary ..so we may not find a solution for it !

[MENTION=3117667]pawitp[/MENTION] device finds the socket and not connecting or it isn't finding the socket at all?
[Galaxy Grand Duos i9082 Android Development] tekkenl0rd13:
I see. Thank you.

One more question, can we use other Broadcom RILs? since SM-G310, SM-316(S duos 3) and I9060 (Grand Neo Plus) recieved official KK from samsung and uses a broadcom SoC.
[Galaxy Grand Duos i9082 Android Development] Tanuj99:
Very sorry, my bad. Was very much excited to get it running so didn't read the whole post.?
[Galaxy Grand Duos i9082 Android Development] pawitp:
It kind of frustrate me when people keep sending me patches I originally wrote and ask me if it would help or not, so please do check.

As for patches to C RIL and libril, they are not applicable because we do not compile them from source. We use the binaries which shipped with the stock ROM.

The RIL initializes probably and even reads the IMEI correctly, but it crashes as soon as RILJ connects.

Maybe, but they'd probably have the same problems, plus other problems from using the RIL of another device. Others can try, but I'm not going to. I don't think it's a good way to fix it.
[Galaxy Grand Duos i9082 Android Development] srikanthrayavarapu:
I can see some changes to rild on cm13.0 branch for non-qcom hardware. My question here is, will CM13 (which is based on Android M) support our device as we have issues with this device hardware ?
[Galaxy Grand Duos i9082 Android Development] pawitp:
If it doesn't work on AOSP, it won't work on CM either.
[Galaxy Grand Duos i9082 Android Development] nikunjgami:
I think our grand journey jellybean to lolipop ends here.
[Galaxy Grand Duos i9082 Android Development] dipakd:
I stii hope that Pawit sir will do something and make it work every thing. Be positive.
[Galaxy Grand Duos i9082 Android Development] rohit1521:
Pawit is there frnd.Believe in him
[Galaxy Grand Duos i9082 Android Development] nikunjgami:
I know bro this is pawitp , that is why i have holding this galaxy grand so long.
[Galaxy Grand Duos i9082 Android Development] Paul_Days:
I agree, If you take a peek at my list of devices I am using (not counting the ones in a drawer), for some particular reason, I have gotten a liking on the Grand. The Grand 2....not worth the $ for what it brings, the Grand Prime.... i didnt like the interface, and what? no light sensor? lol.... So i kept my "old" device. Once the time comes for it to meet it's brothers in my drawer, I'll go with an A5 Duos, o similar. But again, even to root the A5 has been a drag, so.... my $0.02: Galaxy Grand: great device.

Regards,
[Galaxy Grand Duos i9082 Android Development] GHsR:
About RIL

[MENTION=3117667]pawitp[/MENTION], yesterday I tried to run rild through adb shell and I got an error:

shell@s2vep:/ $ rild
dlopen failed: dlopen failed: library "libstlport.so" not found
255|shell@s2vep:/ $

I compiled this library and now RIL is working on my S2 Plus:D

I don't know why, but external/stlport was removed from android-6.0 and we need to clone it from android-5.1.1_r24 branch. Maybe you have already built stlport library, but you can see the differences SamsungBCMRIL.java -

https://github.com/ghsr/android_dev...android/internal/telephony/SamsungBCMRIL.java it doesn't have dual sim methods and I didn't use dual sim patches, perhaps it will help you.

Also /proc/uid_cputime/show_uid_stat kernel patches here - https://github.com/ghsr/android_kernel_samsung_galaxys2plus-common/commits/aosp-6.0

Only not applied these two patches:

https://github.com/CyanogenMod/andr...mmit/d17e7e2771a3998c2514de082be588522625618e

https://github.com/CyanogenMod/andr...mmit/42ec52850c400aca1c67da166c11a7ea256c7884

When compiling the kernel, they cause cpu_power errors.
[Galaxy Grand Duos i9082 Android Development] srikanthrayavarapu:
Thank you [MENTION=5999439]GHsR[/MENTION]. We have hopes that [MENTION=3117667]pawitp[/MENTION] will provide Android M 6.0 (fixing RIL issues in the current AOSP 6.0 version) for galaxy grand users as done before for other versions and your post boosted that. [MENTION=3117667]pawitp[/MENTION] inspired me by his commitment and hard work done to support this device. Kudos [MENTION=3117667]pawitp[/MENTION].
[Galaxy Grand Duos i9082 Android Development] pawitp:
Glad to hear that RIL's working for you. The link wasn't very prominent in the first post, but in the wiki, I've listed my local manifest, which includes libstlport.

AFAIK, it shouldn't have anything to do with the Java RIL code, as it crashes on connect even if the Java RIL doesn't send any message. Broken dual SIM patch is probable. (Though it crashes even when I disable dual SIM.)

Can you list the dual SIM patches you've skipped? Did you apply anything apart from my patch set? (Especially to the system libraries.)

BTW, don't skip kernel patches just because they don't compile, you'd have to fix the errors otherwise the feature won't work properly.
[Galaxy Grand Duos i9082 Android Development] GHsR:
Ok. I tried to apply all your patches and I replaced SamsungBCMRIL.java from your device, RIL still works. But RIL doesn't work after enable dsim, I received "Couldn't find 'rild1' socket" (my device doesn't support dsim). I didn't use any, or other patches to system libraries.

What you get when you enter rild in a terminal emulator? Have you tried to watch kmsg log and dmesg?

I later find all dependencies for show_uid_stat patches and apply them.
[Galaxy Grand Duos i9082 Android Development] tekkenl0rd13:
Deleted a whole patch?

https://github.com/ghsr/build_tools/commit/750e35c6bb88009b2e05ec5311d096ae41c6d36c
[Galaxy Grand Duos i9082 Android Development] GHsR:
I tested with all patches, RIL issue is not due to the patches.

Today or tomorrow android m will be tested on i9152 dsim device. It also has a capri platform.
[Galaxy Grand Duos i9082 Android Development] pawitp:
Running "rild" as root via the shell shows nothing in particular. Actually, if you use strace, you'll be able to see that it quits because it detects that it was not started via init and so the correct sockets were not setup properly. It's not a case of missing libraries/symbols.

root@baffin:/ # rild
RPC_SYS_RegisterMsgIds userClientID=68 tableSz=1206 curSz=255 remSz=951 ret=0 counter=255
RPC_SYS_RegisterMsgIds userClientID=68 tableSz=1206 curSz=255 remSz=696 ret=0 counter=510
RPC_SYS_RegisterMsgIds userClientID=68 tableSz=1206 curSz=255 remSz=441 ret=0 counter=765
RPC_SYS_RegisterMsgIds userClientID=68 tableSz=1206 curSz=255 remSz=186 ret=0 counter=1020
RPC_SYS_RegisterMsgIds userClientID=68 tableSz=1206 curSz=186 remSz=0 ret=0 counter=1206

I've checked the logs, but didn't post them since I didn't think anyone would find them useful. The crash message in the logcat is at http://sprunge.us/RFYR. The radio logcat is at http://sprunge.us/VaMb. There's nothing in particular in kmsg.

EDIT: I've tried your libril.so and it stopped crashing. Dual SIM won't work though. libril.so from your i9152 also crashes.
[Galaxy Grand Duos i9082 Android Development] Nova Spark:
help me

after installing my sim is not detected

and which gapps i can use
[Galaxy Grand Duos i9082 Android Development] rishabh56:
Did you even bother to read the op?
[Galaxy Grand Duos i9082 Android Development] blue_ranger:
http://download.chainfire.eu/743/SuperSU/BETA-SuperSU-v2.52.zip

Flash it in recovery

Works perfectly.
[Galaxy Grand Duos i9082 Android Development] blue_ranger:
I don't think this is supposed to happen [MENTION=3117667]pawitp[/MENTION], shed some light?
[Galaxy Grand Duos i9082 Android Development] srikanthrayavarapu:
Why it's awake all the time ?
[Galaxy Grand Duos i9082 Android Development] darryl1234:
Facing Random reboots and d battery drops down too fast
[Galaxy Grand Duos i9082 Android Development] blue_ranger:
My point exactly
[Galaxy Grand Duos i9082 Android Development] burduli:
Just going to dirty install latest build. I guess I have to uninstall Xposed Framework first.
[Galaxy Grand Duos i9082 Android Development] srikanthrayavarapu:
Are you using latest version (20151208)?
[Galaxy Grand Duos i9082 Android Development] amilord.sy:
I have issue with WiFi it turn off every 30 seconds

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

Problem solved
[Galaxy Grand Duos i9082 Android Development] burduli:
[MENTION=3117667]pawitp[/MENTION] I'm using your recommended CWM recovery but I still get Status 7 error when I try to dirty flash latest build.

EDIT: I cleared cache and dalvik cache, rebooted into recovery again and now I'm able to flash it. Thanks.
[Galaxy Grand Duos i9082 Android Development] darryl1234:
Wouldnt recommend this rom as a daily driver still as of now
[Galaxy Grand Duos i9082 Android Development] Mayank77:
I guess the 20151208 is causing issue.

20151206 is quite stable for me..
[Galaxy Grand Duos i9082 Android Development] RichyE:
No reboot yet with 20151208, flashed this morning and installed at the moment 20 apps.

Don't know battery life.
[Galaxy Grand Duos i9082 Android Development] aditya_pan:
we have to uninstall xposed before updating?
[Galaxy Grand Duos i9082 Android Development] burduli:
Yes I think.
[Galaxy Grand Duos i9082 Android Development] aditya_pan:
that's explains why I was stuck on bootloop.
[Galaxy Grand Duos i9082 Android Development] burduli:
Download Xposed uninstaller and flash it. Maybe that will help.
[Galaxy Grand Duos i9082 Android Development] Mj2789:
Few Problems I faced on latest build.

1) Keyboard quitting while typing, too frequently. ( Swiftkey, Google and AOSP)

2) Unable to take backup of any modified app through Titanium backup. It says no sufficient storage but I have around 6gigs of free storage on my SD Card.

3) I use Gallery Vault app to hide personal pics. When I opened the app, it asked for "device administration" permission - which I gave. When I selected the pics to be hidden, It completed its procedure and then showed me the message - "encryption failed" . Tried few other apps for hiding pics, but I couldnt hide them.

4) Facebook, Instagram, Whatsapp after few mins of usage shows - Unfortunately, ( App name ) has stopped working.

At first, I used all these apps from the backup restored by Titanium Backup. Since, I was having problems, I fresh installed these apps from Play Store - to again face the same problem.

Anyone can confirm the above issues and possible workarounds?
[Galaxy Grand Duos i9082 Android Development] Dbj.Dhaval:
I want to root my grand.. Can anyone give the link for latest twrp or cwm recovery.. And which one is recommended.. I usually prefer twrp..
[Galaxy Grand Duos i9082 Android Development] inalam022:
the second problem happens to me(its also happen from the previous build). you should give access to TB for write on sdcard, but it only works for a while and get force stop and cant open it, you should reinstall
[Galaxy Grand Duos i9082 Android Development] Mj2789:
I have already given all permissions to TB, still it doesnt work :(
[Galaxy Grand Duos i9082 Android Development] RichyE:
I am on a clean build 20151208 with SU and Xposed.

1. Using Swiftkey (Beta 4.6) without a problem.

2. TB work without a problem, but you have to select in settings/preferences/Backup folder location/ storage provider/DocumentProvider storage otherwise your SD card is write protected

3. Don't have it so can't test it.

4. Whatsapp , Line, Tango working fine a been using it all day
[Galaxy Grand Duos i9082 Android Development] inalam022:
I've do that for my tb, but its only works a while, then fc, and i should reinstall that, i think bug on permission.

Have you try to back up some app sir?
[Galaxy Grand Duos i9082 Android Development] dmax7:
Yes I faced similar issue in long run. Even in sim 1. I have to flash the ROM again ..a clean installation.
[Galaxy Grand Duos i9082 Android Development] rahulsmith:
If I change storage to SD card .. Can I revert the action ? Is there any option for it ?
[Galaxy Grand Duos i9082 Android Development] RichyE:
Hello,

I used to backup 5 programs as a test twice within an hour.

I tried now to add 3 other programs to the backup and no FC.

But I got the first reboot today while being on a video call and normal phone call came in.

---------- Post added at 07:53 PM ---------- Previous post was at 07:50 PM ----------

You can indeed change it in the settings, but it will format your sd.

Check at usb/storage
[Galaxy Grand Duos i9082 Android Development] inalam022:
So, now you can get H+ on sim 2 after clean install sir?
[Galaxy Grand Duos i9082 Android Development] dmax7:
I faced that problem while this ROM was in a single sim state. But I faced similar issue . even in metrocities (previously i got h+) I got only edge. But after a clean install it solved, even though H+ always mode is not available in this ROM. Somebody has to crack that issue. Till then it will be switching to 3G -2G randomly.
[Galaxy Grand Duos i9082 Android Development] androSGRid:
Back to back two random reboots while browsing with chrome with music playing in the background.
[Galaxy Grand Duos i9082 Android Development] :
Use latest version or version 2.52 and up only for m

Sent using XDA One
[Galaxy Grand Duos i9082 Android Development] A.Fouad:
i faced random reboot and battery drain in my experience at build 08122015

---------- Post added at 02:46 PM ---------- Previous post was at 02:35 PM ----------

i faced this issue too
[Galaxy Grand Duos i9082 Android Development] darryl1234:
Same here alot random reboots n battery drains alot faster n apps keep crashing etc

but it was expected as this rom is still in alpha stage
[Galaxy Grand Duos i9082 Android Development] ishmeet1995:
try installing greenify and xposed module

using greenify in boost more(requires xposed) helps in saving juice

also disable wifi scanning when idle from settings

i know its quite basic but still i thought posting it is necessary
[Galaxy Grand Duos i9082 Android Development] arunak:
1.Flahed clean build 20151208 followed by open gapps nano, supersu v2.46, xposed v78 sdk23 arm one by one without rebooting recovery.

2.Restored more than 100 apps through titanium back up.

(some apps are not working like UC browser- updated to latest version

through play store- now working)

3.Installed viper4android.(deleted music fx, kerenel files to be placed on /data/media/legacy/VIPER4Android/Kernel)

4. Toggling between 3g and 2g data, can't enable 3g only. (tried

*#*#4636#*#* from dialer /phone information/ WCDMA only, but no luck)

5. xposed apps amplify, battery percentage text, xnotification are

working. greenify is working, but not able to go to experimental

features. No luck with gravity box MM - (gravity box system framework not responding .existing)

6. apps watsapp, telegram, chrome etc are working fine. xda free app having a problem -not staying in long posts such as OP.

7. using xenon92's Multisim toggle app to enable disable multisim https://github.com/xenon92/multisim-toggle/releases

8. Random reboots 2-3 times

9. start up time is less than our lollipop roms (i think so)

Thanks pawitp for his hard work.
[Galaxy Grand Duos i9082 Android Development] thankapan annan:
i flash the rom and gapps then flash super su . is there any thing reqire more ...???
[Galaxy Grand Duos i9082 Android Development] RichyE:
If you also want xposed then you also have to flash that zip file V78 SDK23
[Galaxy Grand Duos i9082 Android Development] thankapan annan:
whats the need of it. and one more . my memory card formated . i dont know how its happened :confused:
[Galaxy Grand Duos i9082 Android Development] RichyE:
About Xposed se my answer to your question in other section where you asked the same.

Your card is probaly formated because you choose to use as internal memory.

If you indeed choose that option then you would have known this as they warn you for that option
[Galaxy Grand Duos i9082 Android Development] NeoLogY:
I guest nowaday people would even flash a cornflake in their android device without care to read? (even a cereal box have their label to be read).? sorry for the roughy word, had a tough week.
[Galaxy Grand Duos i9082 Android Development] Koushik770056:
Media storage fc continuously. Sometime gallery doesn't show the pictures.Camera crashes.Music player is too bad working.I can't set ringtone from settings. Consequently, Media doesn't work properly. UC browser fc when starting download. In Opera Browser, no download location found, but UC browser shows only internal card.ES file manager music player crashes. After reboot, the network had gone after 10sec, and come back after 30sec approximately. And at that time media storage shows that problems which are mentioned above. Plz make a stable in media,bcoz I'm music lover.
[Galaxy Grand Duos i9082 Android Development] rj_mehra:
Specify what build you've on the phone. If you're using 20151208, it has few problems. I suggest going for 20151206 it is stable and has no issues. And for the storage thing, you'll have to make sure storage permission is given to the app, in case permissions are already there, try to unmount and mount the extsdcard from storage options. It works for me, should work for you too.

Build 20151206 doesn't have any of the issues that you've mentioned except for the internal storage thing for an app or two.
[Galaxy Grand Duos i9082 Android Development] Koushik770056:
I'm using build 20151208. I thought lastest version have less issues for update the version. I installed the ROM when it works on one sim, I don't try the 6th dec build. Ok thank u so much for this advice.

---------- Post added at 12:09 PM ---------- Previous post was at 12:04 PM ----------

@rj_merha Can I use open gapps mini for the build 20151206??? I used this gapps in 20151208 but downloading failed in google play store.
[Galaxy Grand Duos i9082 Android Development] rj_mehra:
The problem is just with build 20151208, wait for another update by [MENTION=3117667]pawitp[/MENTION] .

Open gapps works fine in build 20151206.
[Galaxy Grand Duos i9082 Android Development] smntheboss:
Using the latest build for last 4 hours. Facing random reboots (10 times till now). Also while tried to downland anything using stock browser, it crashes always. Have flashed SuperSU 2.60 but not not get root access on terminal emulator. Finally [MENTION=3117667]pawitp[/MENTION] bro, great work. Always greatful for your work ~
[Galaxy Grand Duos i9082 Android Development] Mj2789:
Use 20151206 build... It is very stable... No random reboots... No fc... No crashes
[Galaxy Grand Duos i9082 Android Development] mmnspeed:
Is there any way to customize the quick settings panel in this ROM?I had read somewhere(I might be wrong) that android 6.0 will allow customizations. I tried the previous version of this ROM,it wasn't there and for the same reason went back to cm12.1.
[Galaxy Grand Duos i9082 Android Development] aditya_pan:
I'm sure you can do it with the help of xposed modules.
[Galaxy Grand Duos i9082 Android Development] sankar13:
Press continuously on the settings icon in the expanded notification bar which will make the settings spin and systemUI tuner will be unlocked.

Using systemUI tuner (present in settings) a few quick setting icons can be changed.

Using gravitybox 6.0(mm version) along with xposed you can modify all the quick settings.
[Galaxy Grand Duos i9082 Android Development] burduli:
Facing too many random reboots in 20151208.
[Galaxy Grand Duos i9082 Android Development] dipakd:
Use XQS background ( exposed model).
[Galaxy Grand Duos i9082 Android Development] pawitp:
Someone will need to post logcat taken (preferably via adb) exactly during the random reboot for me to know what's going on. (Start adb logcat before the reboot and continue using the phone until it reboots).

And make sure you don't have Xposed, custom kernels or any other modifications installed as they might be unstable at this point and cause issues.
[Galaxy Grand Duos i9082 Android Development] ChetanLokhande:
I am on cm12.1, i want to install 2015-12-06 build of aosp. Do i need to back on stock kernel first??? Or i can directly flash aosp???

Also i have taken backup from cwm can i restore my data in aosp???
[Galaxy Grand Duos i9082 Android Development] aditya_pan:
if you're in cm12.1 and you want AOSP 6.0.1 you have to wipe system, data and cache and then flash the AOSP rom file and then the Google add on.

and if at any point you want to revert back to cm 12.1 you can restore it using your back up from the recovery.
[Galaxy Grand Duos i9082 Android Development] Koushik770056:
Is there theme support for AOSP?? But no themer installed here. I want to see better look in my device. Build 20151206 is fully stable except external storage location for download. Nice typing animation,thanks Android™ and Pawitp Sir also.