yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Android Development] anantttt:
Hi Sami,

I was getting bored today so decided to install your rom. This is the first time i installed your rom and i must say i am truly impressed by the work that you have put in. every minute detail has been taken care of. awesome job.

Suggestions:-

1. Many people dont use the third party apps that you have included. I suggest you remove them as they are useless and just occupying space. Even the people who use those apps would have to update them from playstore, so there is no point having them, in your system partition.

2. Now, I was about to odex your rom, when suddenly I saw that you did not use preload partition at all..... Why?????? We have 300 mb of free space and you didnt use it. I suggest you move google apps (maps, youtube....) and a few others to preload and symlink them to system.

Leave the core apps in system only

3. Many users have their power button not responding properly, and it is the case with me too. I modified your systemui and included doubletap to sleep (through Bootmgr's aka harsh's guide). I suggest you add that.

4. I want to enable call recording in secphone itself. But there is no proper guide. You should add that feature as well.

That is it..... You have done a great job and surely deserve a thankyou (see the first post).....

It takes a lot of patience to see every detail like the bootanimation and the shutdown animation.... great

Edit:

It was a real pain to download the whole rom and the updates as well. I suggest you incorporate the above changes, bring preload partition in use and upload a single flashable zip......

I know this is too much, but i will surely help you... Kudos
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Thanks for installing my ROM and for sharing your experiencing by using those kind words!

Yes, I know that it can be a little tedious thing to do for installing my ROM but if I put everything in one zip file then that will not only increase its size but it'll also take a much longer time to get uploaded. My internet connection does not have the best upload or download speed and I still couldn't convince my parents to get a better, faster one :p

Now for your suggestions..

1. I've tried my best to reduce the number of system apps in my ROM and the "extra" were added because most of them are a replacement to Samsung's apps or because I felt that it'll be beneficial to add it. So, can you please give me a list of apps that you'd categorize as bloatware(s)?

2. Back when I was making Sami OS 1.0, I really had no idea how I could move most of the system apps to the preload partition. Because this is a really good idea I wanted to do it in version 1.2 but I did not because I still don't have much idea about how this can be done.

Now, I'll try to do it on my phone first (hopefully without wiping anything or removing data) and then if I succeed, I'll probably do it on Sami OS 1.3 :good:

3. That's strange. I don't have any idea what I could have done wrong for causing this issue. "Double tap to sleep" is a good feature and I'll try to add it with a toggle (if possible).

4. As I've told you earlier via PM. I've tried to add Call Recording before but I failed. And since I didn't attempt to do it again, I will give it another try soon :)

Cheers. And sorry for the late reply :)
[Galaxy S Advance I9070 Android Development] anantttt:
Success

1. Firstly, Let me tell you that I succeeded in enabling call record feature in your ROM..... Earlier it bootlooped because of androidmanifest.xml...

Here is yhe modded SecPhone.apk. It is not a flashable zip. Please check if this is working properly. After pushing it into system partition and rebooting, wait for 2 mins for the mediascanner to complete. Only then it will record....

LINK--------------- https://db.tt/EO1ShqVO

2. I wanted doubletap to sleep because I broke my power button. It is very hard to press. It is not your ROM's fault.

3. I know how to use the preload partition. You just have to symlink the apps through updater-script. Let's will discuss that in PM. But you will have to upload a whole new build for that....

(I am asking you to upload the whole build just once.)

ScreenShot
[Galaxy S Advance I9070 Android Development] arneldna:
Hi Sam..!! Any idea why the Stock Gallery is acting weird ? Not the one ported from note 2 but the one from our original firmware..the video thumbnails load but the images do not load at all even when you try to open them...please help..[emoji20][emoji20]
[Galaxy S Advance I9070 Android Development] jineshpatel30:
IMO plz never symlink apps to preload if if its really not necessory

why ??

bcz after removing "bloatware" from symlinking rom ( removing its traces also i.e apps from /preload and link from /system/app ) when we do "factory reset " it always gives bootloops !!! why ?? idk :p

this is not only my problem bcz we hv grp on fb and many ppl face bootloop after "debloating " HJ ( which is heavily symlinked )

so only one way to "debloat" HJ is 1st move all apps to /system/app and remove symlink and debloat it and then u can Factory reset without boot loop..

i dont wanna same problem with this rom so don't symlink untill it's really really necessary ( in-short never bcz we hv enough system partition space )

i have >160 MB free in /system right now !!

and last thing free space is free space whether it's in /preload or /system .. so it doesn't make sense to move apps to preload if we don't require free space in /system ;)

.................

now about bloatware removal.... i personally do 1st thing after installing rom is remove each n every unnecessary apps.. so i hv more than sufficient experience with that :p

Now [MENTION=5162037]anantttt[/MENTION] said to move gapps in /preload but i wanna say why to move them in preload when we can completely remove them from rom ??

so [MENTION=219299]Sami[/MENTION] simply dont put any gapps except playstore ( phonesky.apk ) in rom bcz its not necessary ... Even Gmail & google play services is not needed in system !!!!! ( google play will automatically download play-services before downloading any apps and install it as user app if u don't provide it in /system ) ... so we can use all gapps directly as user apps from playstore ( no functionality will be broken )

benefits of this are

1. more free system space without symlinking

2. no need to worry about updating them in system

3. gapps will update occasionally so if u put all of them in system there updates will be in /data as user app so duplicate files and them rewuire space in both /system & /data !!!!!

4.user have choice to download his wished gapps direcly

5. less size of rom to Upload / download helps bot dev n user !!!!!

...................................

[MENTION=4879114]Sami Kabir[/MENTION]

i have nandrid backup of your rom after debloating ... so attaching S.S of all apps present after debloating .... you can remove every apps which are not present there without breaking any functionality ( i'm using it and not function is broken :D ) ( if u still think some system app is necessary plz tell me about them :) )
[Galaxy S Advance I9070 Android Development] anantttt:
Hmmm I know about that bug. I wanted free space in system because I wanted to odex my ROM.

But only 94mb was free in system partition which was less.

Odexing ROM will not only speed the ROM a little bit but also save some space in data partition.

I personally use dual boot so I need free space in data partition as well.....

Lol
[Galaxy S Advance I9070 Android Development] jineshpatel30:
Well idk much about duel boot ...never used it.. But afaik 90mb is more than sufficient for odexing...provided you didn't put unnecessary apps n gapps in \system\apps ( i odexed hj and after odexing i had ~150MB free in system (at that time also my all apps were in system no apps was in preload )

Second thing use odexer script which removes ".dex" file from apps after odexing it will helps you to save space by don't duplicating them as odex n dex in app ( if u need i posted a link in HJ thread ...search :) )

Edit: as per my exp. Symlinked os also gives u hard time while odexing by scripts provided on xda..
[Galaxy S Advance I9070 Android Development] anantttt:
Idk what you are talking about, but if you are odexing then the script has to remove classes.dex file from the apk, and make an odex file. That will remove the dalvik cache in data as well.

I've been using odex for a long time so I know that.

I odex framework and system apps as well. And in the current version 1.2 I am not able to odex all the apps.

I asked sami to put those apps in preload which won't be odexing like the gapps.

Edit:

Edit:

Edit: if you can, can you help in making double tap status bar to sleep gesture in this ROM. I failed miserably

Previously I thought it was working but it isn't.
[Galaxy S Advance I9070 Android Development] #Henkate:
Maybe i will try it too,today.
[Galaxy S Advance I9070 Android Development] MikiGry:
[MENTION=4471434]Force[/MENTION] [MENTION=5162037]anantttt[/MENTION]

Using gestures needs kernel support i think.

Try if not than we need to edit our kernel.

Wysłane z Light-fonika 1-2 ....
[Galaxy S Advance I9070 Android Development] #Henkate:
Isn't needed. Check: http://xdaforums.com/showthread.php?t=2662106
[Galaxy S Advance I9070 Android Development] anantttt:
No need mate, I made it at last. I was getting FCs previously, but now it is fine......

Here is the link

Doubletap statusbar to sleep

Link---- https://db.tt/Z5upwVSR

[MENTION=4879114]Sami Kabir[/MENTION]

I will try to enable extra in-call volume like in s3 in secphone. Wait for it, before releasing the rom....

And any update on the lockscreen clock????
[Galaxy S Advance I9070 Android Development] isaak:
Can you be more specific about the bootloop resolution?

I'm trying to customize my secphone in this topic to add call record feature and I need technical details about the fix.

Thank you.
[Galaxy S Advance I9070 Android Development] anantttt:
What problem do you face. Is it bootlooping??? How did you compile the apk..
[Galaxy S Advance I9070 Android Development] isaak:
I used this tool (v.1.58) .
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Sorry for the late reply.. I've read everyone's recent posts but because of limitation of time, I couldn't reply earlier..

Its most likely caused because of a missing library file (or files maybe??)..

Download the attached file below and extract libXIVCoder.so from there.. then put this file in system > lib folder. I don't think that you need to change the default permission but if you want to, then set it as 644..

Since I don't use Samsung's Gallery app, please give it a try and let me know if it works for you or not.. :)

Try using APKTOOL. Its what I've been using for a very long time and it works without any problems. :good:

Yeah sure, go ahead with that. I'll let you know on PM if I succeed on adding it too. Don't worry I am not in a hurry for releasing an update... because rushing it will only result in breaking more things and adding less or no useful features to my ROM. Hoping that you'll understand. And besides, I'm busy with lots of other things too :)

And about the lock screen, it was supposed to be a secret but lol who cares?! :p

Its almost done.. As I told you before, I'm still having some problems aligning the clock in the center. I've gone through KitKat's framework files.. Its quite different from Jellybean's one.. so its almost of no help.. But I am still trying to fix it.. :)
[Galaxy S Advance I9070 Android Development] MikiGry:
[MENTION=219299]Sami[/MENTION]

Do u now a themer called johean ?

He made a thread witch all basic themer skills. This thread will help u i think.

Here u go :

http://xdaforums.com/showthread.php?t=2203166

Wysłane z Light-fonika 1-2 ....
[Galaxy S Advance I9070 Android Development] Sami Kabir:
I know him and I am already aware of his thread. But unfortunately, its of no help to me. All those stuff are in framework-res.apk.

Thanks anyway :o
[Galaxy S Advance I9070 Android Development] isaak:
Can you upload expanded statusbar in screenshots section?
[Galaxy S Advance I9070 Android Development] knot2006:
SMS

Included SMS app is broken for me, it wont recive any SMS :C
[Galaxy S Advance I9070 Android Development] shut_down:
It was the problem with me too. I installed Textra, it worked after reboot. And then I removed it (Textra). Try just to reboot, maybe it help.

P.S. [MENTION=4879114]Sami Kabir[/MENTION] I forgot to tell you about this problem.
[Galaxy S Advance I9070 Android Development] knot2006:
Was there announcement before and i was just blind or it is new just now ?

BTW "fix" works but it also breaks AOSP lock screen when swiping to SMS app/icon.
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Okay.. I'll add it as soon as possible :o

If you want to see it now, then please click on this link.. the screenshot is attached at the bottom of this post :)

I am aware of this problem. The app was working fine for me.. but a few days before releasing Sami OS 1.2, the developer released an update to his messaging app.. so I updated the apk file without testing.. You can download any other messaging app (like Textra as shut_down said) or download the one I shared on this thread. Sorry for the inconvenience :o

The announcement has been here for quite a while. Maybe you didn't notice it earlier.

I am aware of this problem too. Since no one told me before, I assumed that no one uses AOSP lockscreen :o

Because all the shortcuts in the AOSP lockscreen are hardcoded deep within android.policy.jar.. so removing one app, removes that app's shortcut's functionality and therefore produces an instant bootloop. However, fixing it might be a little tricky..

I told that its tricky because if you are using the messaging app I shared on my thread, then this bug can easily be fixed by downloading the modified android.policy.jar and replacing the current one (in system > framework folder).

But if you are using any other third-party messaging app, then remove the buggy messaging app and do the following

:

- Using Activity Launcher, get the package name (e.g- com.xxxxx.mms) and the activity name of that app (its usually something like - com.android.mms.ui.ConversationList or com.xxxxx.mms.ui.ConversationList... so look for the one that ends with ConversationList)

- Get my ROM's android.policy.jar and decompile it

- Search for LockScreen$GlowPadViewMethods.smali and open it with Notepad++

- Search for "com.softcoil.mms" and replace it with the package name of your messaging app

- Search for "com.android.mms.ui.ConversationList" and replace it with the activity name of your messaging app

- Save the smali file

- Recompile and re-sign android.policy.jar

- Now replace the current one (in system > framework folder) with your modified one.​

And that's pretty much it :)
[Galaxy S Advance I9070 Android Development] anantttt:
Oh i am extremely sorry. I didn't know it was a secret.

I thought if everybody worked on it then probably you would get more suggestions.

One again sorry.

The lock screen looks good. I don't think there is any problem.

If you have to center it you will then have to remove am/pm from the lockscreen.... Probably

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Its okay and no, its not like that. I had to put am/am and an extra 0 on the hour side to make it "almost" center. It all depends on what time it is.. sometimes its exactly in the center.. and sometimes it gets off-center. Probably due to the inconsistency among the number fonts. For example- 1 takes very small space and whereas other numbers like 5, 7 and 9 take a little more space and therefore shifting the entire clock to the left (by a few millimeters). I hope that this issue will be gone once I fix the clock in the center.. so that the clock won't "move" when the time changes.

Those small things annoy me a lot :p
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Made some progress today.. :)

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] #Henkate:
Keep working smarter,not harder :D :D :D

PS: sorry for OT
[Galaxy S Advance I9070 Android Development] isaak:
I'm exploring latest SystemUI customization, and I'm really impressed.

Inside smali code I saw a reference to the quickpanel's original author, b16h22.

I think he deserves to be mentioned in credits too.

Anyway, I'm posting because I need some explanation about the meaning of these configs in bools.xml:

config_useStatusBarMarquee

config_hideWifiInAndOut

config_soundprofile

And the meaning of these configs in integers.xml:

config_maxNotificationIcons

config_show_search_delay
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Thanks for letting me know. I'll add his name asap :)

EDIT: Done :good:

I don't really know the functions of some of them, but I'll still try to explain what they might do..

- config_useStatusBarMarquee: I'm not really sure what this does but I guess it has something to do with keeping the status bar icons in a fixed position.. Sorry, I really don't have much idea about what this does. You can get more info about Marquee in here.

- config_hideWifiInAndOut: This shows the "up" and "down" arrows on the status bar (on the Wifi status bar icon). Up indicates that data is being sent and down indicates that data is being received.

- config_soundprofile: I'm not really sure what this does but I guess it has something to do with toggling the visibility of Vibrate and Mute icons on the status bar maybe?

- config_maxNotificationIcons: I'm guessing that this sets the number of different status bar icons to be shown on the status bar

- config_show_search_delay: I have no idea about this one. Maybe it sets a delay between opening Google Search when it's icon is pressed? Sorry, I really have no idea what function this value is responsible for.

Sorry.. I couldn't be much of a help to you :o
[Galaxy S Advance I9070 Android Development] pi2in3:
Lag

i9070s stock 4.1 rom was full of lags,what about this rom?

tnx to reply
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Try it and see it for yourself. :D

My ROM is quite smooth most of the time but sometimes it lags (mostly due to high RAM usage or some other reason) but it goes away on its own or after rebooting the phone. Nothing is perfect, my ROM is no exception :)
[Galaxy S Advance I9070 Android Development] charnoha:
realy great ROM! great preformance and great battery life!

thanks Sammy great job mate!
[Galaxy S Advance I9070 Android Development] coffeecore:
If it is heavily debloated RAM usage will be pretty great :) But there are a lot of apps to remove
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Thank you for your kind words :o

and you're welcome :)

You guys can delete whatever apps you want to delete. Just make sure that its safe to delete that particular app(s). After all, one man's trash is another man's treasure :laugh:

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

Anyways, I think my work on the lock screen is (almost) complete. Now I'm stuck with Settings app :p
[Galaxy S Advance I9070 Android Development] Balathruin:
I have a list of apks, what you can delete. The LCD test app will have force close on some tests, but I don't know about anything other. If there's something you may need, don't delete it. :) Theese are removed from the Fmod ROM (that's why it's so fast, but of course, not with stock kernel). It haven't got anything extra, just a deodexed and cleaned ROM, only available for those who ask for it. :D.
[Galaxy S Advance I9070 Android Development] jolobe:
Hello Mr Sami,

coming from stock (4.1.2 with cocore 8.2) i first have to flash 1.0, then dirty flash 1.1 and at last dirty flash 1.2?

With dirty i mean no wipe cache, dalvik cache, data/factory reset.

Thanks in advance...:good:

Edit: found the anwer in #451
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Yes, you're right.

You need to wipe everything before installing SOS 1.0. Then after installing it.. Use it for a while then Reboot to Recovery and flash SOS 1.1.. then install SOS 1.2. If you want, then you can reboot to system after installing SOS 1.1 (before installing SOS 1.2) but I don't think that'll be necessary.

Let me know if you bump into any problems and be sure to keep a backup of your apps and data in case something goes wrong.

I know that its a little tedious process, but it has to be done even if you don't like it :o

EDIT: Haha, you found the answer while I was typing it. Well good luck anyways :p
[Galaxy S Advance I9070 Android Development] jolobe:
"If you're wondering why this thread is full of textual information, its because I want to this thread as Noob Friendly as possible! And yes, I typed each and every words - so yeah, I think I deserve a thanks for that too'"

Installed version 1.0, now working with it (maybe 1.1. and 1.2 will follow)

Til now no problems, much smoother than stock!

Lot of thanks for your time investment and efforts. :good:
[Galaxy S Advance I9070 Android Development] arneldna:
[MENTION=4879114]Sami Kabir[/MENTION] Airdroid does not install apps as it used to, it says the Apks are qued, all other uploading/downloading works fine. Also miss the lock screen wall paper feature. I am sure the next update will fix this.

And I finally got the Tinted Status Bar working perfectly fine...anybody not able to get TSB working, please set 4 gradient colors in Settings>Display and change the colors to transparent. Now activate TSB and you are good.:good:

PS: Everytime I go back to stock there is some thing that brings me back to Sami OS..and in the end i am happy :D:D
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Since I don't use Airdroid, I'm not so sure if my ROM is the reason why its not installing apps like it used to... Maybe its a problem with the app.. or maybe its my ROM's hosts file... I can't tell for sure now..

I've been looking for a way to enable custom lock screen wallpaper support, but so far I haven't make any progress yet.. Looks like using Samsung's Gallery app is the only way to do this for now...
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Add Ons Update

I know that its been a long time.. I was caught up with other things but they're finally here...

1. SystemUI with Wifi Indicator (replaced the old one with this one. Hopefully, this one will work)

2. SystemUI with Wifi Indicator and Quickpanel Disabled (as requested by some of you)

I've tested both of them and they work without any issues on my phone :good:

Check under Add Ons section to get the Download links. Both of them are compatible with Sami OS 1.2 only and to install any of them, please rename it to SystemUI first, then just push it to system > app folder using any Root Browser

Cheers :laugh:
[Galaxy S Advance I9070 Android Development] MikiGry:
(Stupid question about instalation was deleted)

How can i backup EFS (not modemfs) ?

Wysłane z mojego nexusowego tablecika.....
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Honestly, I really don't know how to backup (and restore) EFS folder.. I never had any issues with it.. You can ask this question on the Q&A thread, because it would help both of us this way.

Anyways, I've found those 2 tools.. they claim to Backup and Restore EFS, but since they are not made for i9070(P), I can't guarantee that it'll work..

Link 1: http://xdaforums.com/galaxy-s3/development/efs-samsung-tool-universal-support-t2602325

Link 2: http://xdaforums.com/showthread.php?t=1922473

EDIT: See [MENTION=4942685]jineshpatel30[/MENTION]'s post below

And by the way, I think the way you described the installation procedure was correct. Please do inform me if NFC is functional on your phone or not :)
[Galaxy S Advance I9070 Android Development] MikiGry:
Ok Sami

Im going home in while so i will incorm about bugs and NFC.

Wysłane z mojego nexusowego tablecika.....
[Galaxy S Advance I9070 Android Development] jineshpatel30:
this will work definitely ;) ( checked by me on i9070 :p )

http://xdaforums.com/showthread.php?t=2582811