yashsingh1/xdaforums huggingface dataset:
[Galaxy S6 General] ambasadii:
yeah im talking about screen record S6 Edge firmware

edit:

for me 260x260 is ok :)

edit2:

[MENTION=4507636]edzamber[/MENTION] [MENTION=5405448]thereassaad[/MENTION] [MENTION=6681786]sheard[/MENTION] guys never mind i got it worked now [MENTION=5738041]grzegorz354[/MENTION] fix the problems with screen recording :)
[Galaxy S6 General] edzamber:
Here is my complete vrtheme, try to flash and tell me. Be carfull, there is inside my services.jar ans core-libart.jar in system/framework and my Framework-res.apk/ressources.arsc in vrtheme/system. Screen record only and French traduction for Screen recorder item into Framework-res.apk/res/values/strings.xml

https://mega.nz/#!TpkgELyZ!DjZo0_1xRFvSyn5X1dRTv9ddzqqASYGzRDeMtC6W_0w
[Galaxy S6 General] sheard:
Note 5 orginal size must be 210x210 maybe it is ok for now but when u got so many items on powermenu u will see that it isn't ok ;) as i know s6edge have same size as 210x210 see ss
[Galaxy S6 General] thereassaad:
Lol u use aurora reboot menu , method ,
[Galaxy S6 General] edzamber:
Hummm ok, so it depend of Icons numbers... I have 4 and 280x280 match perfectly [emoji2]
[Galaxy S6 General] sheard:
it wasn't aurora it was something other :p:p:p fengen or something other don't sure about name .i have ported them as i don't have permission that is why i am not sharing them or not adding them on my rom .I use it only for personal usage.But too tell true i can't fully port it some toogles don't work like deleting emergency :mad: :mad: [MENTION=5405448]thereassaad[/MENTION] u was working on it too did u managed to port?
[Galaxy S6 General] SidRobo:
is it possible to add reboot recovery and download like that?![emoji4] [emoji7]
[Galaxy S6 General] sheard:
probably yes ,nice idea i will try it after 3 days , i have 2 project for now i can't work on rom stuffs for this month
[Galaxy S6 General] thereassaad:
No i didn't work yet to remove emergency but will check it later & i guess we need to delete the method related to emergency
[Galaxy S6 General] sheard:
i can delete them in static way my problem is that i can't toggle emergency to turn on off .Others works very well example i can disable enable screenshot with rom control toggle .but i can't add toggle for emergency or for reboot menu or for power off but aurora did it :eek: it means i am noob who can't even port anything correctly :D but i don't want to fully copy paste his methods maybe if i will do like him it will work too. but i don't care about it now
[Galaxy S6 General] SidRobo:
haha. i have many nice ideas like this:D but there is no one to even hear ;)

we are rounded by so many advanced lvl programers who are busy to develop their roms and hard codding for adding LTE Only to their rom.:D:D:D

anyway... good luck man:good:. i'm waiting for the result
[Galaxy S6 General] kep2008:
Сhanges here.
[Galaxy S6 General] edzamber:
Great !!!!! You're the one [MENTION=7308585]kep2008[/MENTION] [emoji2]
[Galaxy S6 General] nguyentankiet:
which androidmanifest, mate?

and how to max Brightness signal and icon? I add alpha=1.0 but not work, thanks!
[Galaxy S6 General] ambasadii:
Hi mate what changes you made in core-libart.jar ?
[Galaxy S6 General] nguyentankiet:
How to add screen record only and not decompile framework-res?
[Galaxy S6 General] edzamber:
This guide mate [emoji6]

http://xdaforums.com/showpost.php?p=52246156&postcount=1

I have follow guide but only add Screen record lines. Need to mod Framework-res.apk too.
[Galaxy S6 General] oae08:
I am not able to convert normal user apps to system apps since i converted to android MM 6.0.1

Is there a way on how to convert apps to system apps, because when i convert them they just disappear.

Thank you.
[Galaxy S6 General] SidRobo:
i added screen record only but when i hold power button, phone reboots. is it happen because i had moded services.jar befor or I'm using wrong tools to de/recompile framework-res.apk and services.jar????!!:silly:

---------- Post added at 01:25 PM ---------- Previous post was at 01:19 PM ----------

i always do this: uninstall the app and reboot. then push the app to system/app and reboot.

titanium backup unistall the app in data (and system if it is a system app update) when you want to push it to system.
[Galaxy S6 General] oae08:
I didnt quiet get it. You unistall the app as first step?
[Galaxy S6 General] SidRobo:
yes first unistall it and reboot your phone. when it boots push app to system or flash it with recovery
[Galaxy S6 General] Carotix:
i tried a lot of time to get working a decompiled framework but no luck using apktool 2.0.1 ther

i also fixed core-libart and services

well , it works flashed over the stock one but if i implement it in my rom and with full wipe , i get bootloop

maybe the java version?

what are you using?
[Galaxy S6 General] nguyentankiet:
Hum, very difficult for me, because i have issue with framework
[Galaxy S6 General] edzamber:
Add Screenshot and Screen Recorder in Power Menu
[Galaxy S6 General] SidRobo:
yes

is this part correct for only screen recorder?

.line 1633
:cond_2cc
const-string/jumbo v4, "emergencymode"

invoke-virtual {v4, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v4

if-eqz v4, [COLOR="SeaGreen"]:cond_315[/COLOR]

.line 1634
move-object/from16 v0, p0

iget-object v4, v0, Lcom/android/server/policy/GlobalActions;->mItems:Ljava/util/ArrayList;

move-object/from16 v0, p0

iget-object v5, v0, Lcom/android/server/policy/GlobalActions;->mEmergency:Lcom/android/server/policy/GlobalActions$ToggleAction;

invoke-virtual {v4, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

goto/16 :goto_241

[COLOR="SeaGreen"]:cond_315[/COLOR]
[COLOR="RoyalBlue"]const-string/jumbo v4, "screenrec"

invoke-virtual {v4, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v4

if-eqz v4, [COLOR="SeaGreen"]:cond_316[/COLOR]

move-object/from16 v0, p0

iget-object v4, v0, Lcom/android/server/policy/GlobalActions;->mItems:Ljava/util/ArrayList;

move-object/from16 v0, p0

iget-object v5, v0, Lcom/android/server/policy/GlobalActions;->mScreenRec:Lcom/android/server/policy/GlobalActions$SinglePressAction;

invoke-virtual {v4, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

goto :goto_241 #change it to your line.[/COLOR]

.line 1635
[COLOR="SeaGreen"]:cond_316[/COLOR]
const-string/jumbo v4, "silent"

invoke-virtual {v4, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
[Galaxy S6 General] SidRobo:
yes tnx man. i know and did all this from last night. the problem was more serious:silly: and it is my NOOBness:D :p :laugh:

i was doing everything but i forgot to copy GlobalActions$98.smali:p:p:p
[Galaxy S6 General] SidRobo:
I think there is a problem with app. timer start from 30:00 instead of 00:00
[Galaxy S6 General] edzamber:
Lol [emoji23] [emoji23] [emoji23]

In Screen record ?
[Galaxy S6 General] asc1977:
[MENTION=4507636]edzamber[/MENTION]

You write in guide add blue but there is no blue :)
[Galaxy S6 General] SidRobo:
look at image it just start for 7 seconds.

It shows 30:07 insted of 00:07

View attachment 3719545
[Galaxy S6 General] asc1977:
You write add blue lines but nothing is blue lol
[Galaxy S6 General] edzamber:
Ouppps...

I see this afternoon, i'm out for now...

[MENTION=4596062]asc1977[/MENTION]

Edit : its Tapatalk bug

Look on Browser

---------- Post added at 03:11 PM ---------- Previous post was at 02:34 PM ----------

No issue for me...

Look this :

https://mega.nz/#!zoli0JDa!Vk1oJE6KMQMXkRK6a_VCo62e4VjuSjvxn07zZsYDkcI
[Galaxy S6 General] SidRobo:
Do you think, is it possible that problem cause by editing something wrong in services.jar smali???
[Galaxy S6 General] edzamber:
Possible... Anyway if you have follow guide it should working without issue...
[Galaxy S6 General] kep2008:
You did not try to take all of that changed in recompile framework-res.apk (pictures, resources.arsc, ...) and with 7zip to move in stock framework-res.
[Galaxy S6 General] asc1977:
anyone a idea with this error of services.jar recompiling
[Galaxy S6 General] SidRobo:
i think the answer is in #802
[Galaxy S6 General] edzamber:
You're right ! I had this problem too [emoji6]

Here my friend :

So look for all if-eqz vxx, :cond_xx match with :cond_xx some lines after.

Exemple

if-eqz v17, :cond_317

......

......

.......

.......

:cond_317
[Galaxy S6 General] SidRobo:
i check GlobalActions.smali many times but still have problem

anyone knows how to fix?
[MENTION=4507636]edzamber[/MENTION] could you pls send me your services.jar and framework-res.apk i wanna check if the problem is related to these 2 or not
[Galaxy S6 General] thereassaad:
Check this post that fixed this issues

http://xdaforums.com/showthread.php?p=66357897

All credits went to TD for his hint help for fixing this issues ?
[Galaxy S6 General] edzamber:
Very strange...

Maybe try :

* Delete data/data/com.cyngn.screencast

* Delete system/app/Screencast.apk

* Reboot

* Create a Folder named ScreenCast, put ScreenCast.apk inside then push it into system/app

* Change permissions Folder into 0755 then apk inside into 0644

* Reboot
[Galaxy S6 General] bunnys7679:
Now I know where my problem was. Did not create the folder
[Galaxy S6 General] SidRobo:
at first i had push apk to system/app/Screencast as you say. now i put it in system/app. it's not matter sill 30:00
[Galaxy S6 General] edzamber:
Incredible... Honestly i don't understand what's going wrong. If you are sure about smali mod, i don't know how to solve this, sorry...
[Galaxy S6 General] asc1977:
Thx [MENTION=535343]all[/MENTION] for help. I get it

Please [MENTION=4507636]edzamber[/MENTION]

Can you change your guide that the recompiling error doesnt happen

change in guide that the mangenta colored text must be changed to 315
[Galaxy S6 General] asc1977:
Anybody please help. If i press screenrecord on reboot menue my phone softreboot. App is placed right in /system/app/Screencast/Screencast.apk with right permissions
[Galaxy S6 General] edzamber:
Hummm are you sure ?

Because if you do that it will be two :cond_315...

Look :

I think its this you need to change into :cond_315
[Galaxy S6 General] asc1977:
I think you right.
[Galaxy S6 General] edzamber:
I'm at work, verify into your decompiled GlobalAction.smali but i think its that [emoji6]

Edit :

[MENTION=4596062]asc1977[/MENTION]

I have modify guide, i think its more clear like that [emoji6]
[Galaxy S6 General] asc1977:
Any idea why my phone softreboot if i click on screenrecorder? App is right pasted with right permissions [MENTION=5405448]thereassaad[/MENTION] also you have a idea?
[Galaxy S6 General] thereassaad:
U need to match the public id in framework-res.apk with ur edited globalactions.smali after recompile it then just decompile it again & match the public id then its will gone ..
[Galaxy S6 General] sheard:
add it too priv-app folder and see if it works ,but if u have reboot then maybe you have problem in somewhere else probably on new cond:

just re check guide from zero

i think i have writed everything on guide ,even i writed there some notes... if all xda members will read everything then it will be ok without any other problem .And i think all of experienced senior members can do it without getting any problem .If someone can't do it i will advice this thread [GUIDE][SMALI]Understanding and Creating Smali Mods & General Smali Questions by [MENTION=3065070]Goldie[/MENTION] .Because if someone only will copy paste without understanding guide then it will be harder for him to solve his problems.
[Galaxy S6 General] edzamber:
Many Thanks [MENTION=6681786]sheard[/MENTION] [emoji2]
[Galaxy S6 General] asc1977:
I have done that but i check again and report
[Galaxy S6 General] sheard:
due to this image i can clearly say that all of your public id is correct ,the problem isn't here
[Galaxy S6 General] asc1977:
I pushed also to priv app but not work. I have no idea. I think must check complete mod again and hope i find a bug what i did wrong. Screenshot works for me
[Galaxy S6 General] sheard:
share your global actions smali
[Galaxy S6 General] asc1977:
here, if you find tell me whats wrong please
[Galaxy S6 General] sheard:
lol i really laughed :D where is this method .method private toggleScreenRecord()V

add this to bottom of the smali

.method private toggleScreenRecord()V
.registers 3

new-instance v0, Landroid/content/Intent;

const-string v1, "com.cyngn.ACTION_START_SCREENCAST"

invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

iget-object v1, p0, Lcom/android/server/policy/GlobalActions;->mContext:Landroid/content/Context;

const-string v2, "android.permission.CAPTURE_SECURE_VIDEO_OUTPUT"

invoke-virtual {v1, v0, v2}, Landroid/content/Context;->sendBroadcast(Landroid/content/Intent;Ljava/lang/String;)V

return-void
.end method
[Galaxy S6 General] asc1977:
lol lol

i had added this but after recompile errors i tested something and undo it and tested and undo it and i make one undo to much and removed this.

now work. thx
[Galaxy S6 General] nguyentankiet:
Can who speak to me why icon battery and wifi, sinal overlap? I moded virtual lock home stt, remove gray, round recent
[Galaxy S6 General] SidRobo:
i had same problem when i was playing with Status_bar.xml in SystemUi\res\layout that [MENTION=4596062]asc1977[/MENTION] had shared it with analog clock and middle line status bar. i don't realy sure why exactly wronge but it must relate to status_bar.xml. compare it with stock on may help.
[Galaxy S6 General] daxgirl:
Dear friends! You got yourselves a really wonderful guide thread here!

Unfortunately there are several posts that rewrite existing guides, such as guide for screen recording and screen capture, that was originally posted and linked on other thread by another dev.

I understand some adjustments are sure needed in between devices and platforms. So please, when you make a guide for your device, link to original guide and mention what changes are needed to make it work on other devices. Those are usually small changes. Like in access number and stuff. Please, keep links to original guides and do not rewrite them. See as example a thread by [MENTION=1042140]tdunham[/MENTION] for s5 mods.

Sent from my ACTUAL SM-N920C using transporter...
[Galaxy S6 General] buzz24h:
you can manual BatchApkTool by English? thank you!
[Galaxy S6 General] asc1977:
You can choose of some languages like german, english or russian or or
[Galaxy S6 General] asc1977:
Sure i can do if i have links to original threads but most guides are posted and changed here in past and if we found out how it work its posted. If anyone have a original link to a thread where the guide is from i add it to that guide so everybody can swipe to original thread if he want.

Example post762

Anyone posted. I have no more information. I add it to op. For him is ok and for me too and i think for all readers here too. There is no original thread, nothing. All others i have i give credits and they know i give because they get a information with xda. Nobody write to me that i should be link to original thread. I will do but i cant because no information about
[Galaxy S6 General] daxgirl:
Guide for screenshot and screen record has been published originally on tdunham's thread by [MENTION=6681786]sheard[/MENTION] with respectful link to pda4u. Then it has been LINKED by spread to this thread. Then it has been rewritten 3 times on this thread! On your op you should provide link to tdunham's thread post and to pda4u. And remove all post where you rewrite the guides.

Credits are not enough! You should have link to original post and link only! You may add remarks as to what is needed to adopt to your device.

The reason is... when you rewrite the guide you get the thanks for it. The original poster who you credit will not have any thanks. Because having a guide ready rewritten by you no one will trouble themselves to look for original guide to thank the original developer.

Credits are not enough. Without link to original guide you deal with plagiarism.

It takes hours and days to make original guide. It takes 10 minutes to adjust it to device. So don't go rewriting whole guide with 2 rows changes. Give link to original poster so they get thanks for their hard work!

You have been warned in PM and thread has been reported. You guys do an amazing job. Don't let it go down the drain because improper posting. It's really not worth it. Keep up the good work!

Sent from my ACTUAL SM-N920C using transporter...
[Galaxy S6 General] asc1977:
I understand your meaning but its not easy to do in all things. If i find a guide and try i see it dont work because in every step i have to change something because it dont match the phone. So i rewrite it with all changes that it 100% match the phone that every noob can go with this guide. So if i only link to original guide nobody can use it because changes must be done. I can write for example

On first step dont do it like written. Do it like here changed written

On second step dont do so. Do it like here changed .......

And so on.

So i changed all that it match 100%

Also this i do on screenrecord and screenshot from sheard and the others. No guide here work without bugs. I have tested and build a working guide for s6. Nobody have to push thanks button for me. I dont want and dont need. I do it for free and for the people who cant make the changes by themselves like me years before.

And also if i link only to the original thread they push thx for me and not on original thread. I cant do something against that.

So if i cant post here guides which working 100% i can close the thread because the thread is for that and not for links to other threads.

What i can do is:

Repost a guide which changed for s6 by me or a other because they told me to do and post.

Add links to original guide or thread with written to users to push thanks on the original thread and not for me.

And give credits to all which are worked on that.

If this not want or allowed or or i am sorry and close this thread because i see no further way to keep this thread alive because this is why that thread excist.

I hope everybody understand my meaning. Its not bad from me. My meaning is friendly but not easy to write all i mean in a other language.

Everyone get my respect for his work every time
[Galaxy S6 General] sheard:
mate i can clearly understand you but i want to tell one thing to this=> that every noob can go with this guide

i said it earlier if someone will only copy paste everything then this people can't solve his problems.I am noob too ,but atleast i can clearly understand what all guides means .I am only 18 ,and i am the one of the youngest members in xda. What i want to tell if i can do this and understand then everyone can understand it .Even there is a guys who copy paste my work and they says that i am lying :D (because of my age ) But i can clearly see my changes (my keys,my modified lines in smali ) anyway it doesn't matter here .All i want to say if someone will read smali understanding guides here then he will understand all changes and can make everything alone.And i really don't want that u close this thread ,because i really like this kind of threads where everyone share his /her knowledge . as u can see [MENTION=7308585]kep2008[/MENTION] and others share his findings only here and they really help us.And without this thread we must search everywhere orginal guides one by one but on op we can just press one link and here we go we see the guide
[Galaxy S6 General] _alex74_:
hi fellas,

both of you have a point, good one.

But..... i agree the guide for screenshot and screenrec has been posted many times here and there, so having S7 may i am confused which choose(none in fact i don't use at all those features, i prefer screenshot with usual hardware key combo, faster and more useful)

Trying all fantastic guides you posted masters(very very good job) i see that differences between devices(S5 and S7) more now on 6.0.1 that most of the times differences are very small, xml strings to add remains the same, even smali methods, usually changes are related to locals....

So, [MENTION=4714483]daxgirl[/MENTION] is one of the most talented and respectful member, listen her words as suggestion to become better, we are here to learn and grow...toghether:D:D

Please do not close this thread, it is one of two rare diamonds in XDA.

Thank you again all, keep going
[Galaxy S6 General] daxgirl:
Maybe I have been misunderstood. For clarification and hoping to end useless discussion (which only opened after op has been contacted over pm and not complied), there is simple explanation:

1. As you all know on all my guides I write "no credits needed. Use and enjoy". This is fundamental truth. I never go around xda to see who uses my guides without credits. It's pointless and I don't care. BUT!!! It's one thing to use guide without credits, it's another thing to copy my guide to your thread and give me credits. You don't see the difference? Let me put it like this: plagiarism is an international legal offense and if sued for plagiarism, both you and xda (for hosting you) will suffer consequences. So don't! I am being very friendly always. No need to threaten to close your thread. Stop rewriting other people guides and keep up the amazing job.

2. You can only wrote full guide if you developed it yourself from scratch. This thread is for developers. There is such a thing as being a noob in android rom flashing. There is no such a thing as being noob in development. You're either a developer and you understand modding/theming/development, or your place is not on development thread for modders. If a user has trouble adjusting the guide, either help them or tell them to expand their horizons. Do not copy paste someone else's guide with changes. Credits are meaningless.

Here is what you do:

1. Link original guide

2. Tag the person who wrote it with credits

3. Add remarks if needed to adjust to this device or platform

4. Encourage users to follow original guide with your remarks. And thank original guide.

It is really very simple. No need to close the thread.

Sent from my ACTUAL SM-N920C using transporter...
[Galaxy S6 General] asc1977:
[MENTION=4947202]_alex74_[/MENTION] [MENTION=6681786]sheard[/MENTION] [MENTION=4714483]daxgirl[/MENTION] [MENTION=5405448]thereassaad[/MENTION] [MENTION=4507636]edzamber[/MENTION] [MENTION=3309354]Wubi986[/MENTION]

And all other i didnt mentioned. I take time and add links to all threads with original guides if there are a original thread but my posted guide in thread keeps alive. I dont delete if i do changes on it because its not original. Only if the guide matches 100% to original guide i will delete my one.

I hope that is enough for that guys who dont like the way how i did it.

And for futur please if you post a guide add from where it comes. I link than in op to that post where you write and dont rewrite.

The only reason for rewriting was for me that i can change anything on guide if its nessesary and not to get thanks for that
[Galaxy S6 General] asc1977:
So we are all happy now and go further with developing :)

Now please help me to find original guides to add to my guides because i have also a live outside of xda with family and work lol

And my wife sit in my neck and is angry because the time i spend here but doesnt matter [emoji23]
[Galaxy S6 General] thereassaad:
[MENTION=4714483]daxgirl[/MENTION] really really well said well said xD , highfive , with my full respect , xD , ?

[MENTION=4596062]asc1977[/MENTION] my friend , this thread its really best of best thread for MM , & as u see we all here try to help , guides who's had issues with any mods etc , also we did a great work here , but as [MENTION=4714483]daxgirl[/MENTION] said if u & edzamber linked to original guide post/thread its will better for u & for him too , that's it mate , ,

We hope u understand what Anna said & not only she's i know many developers say the same things but they didn't write here , so our talented Anna said what's many great people want to say it , anyway my friend that's it , really this thread its greater & u all guys u did an awesome job keep it up , ..

my full respect to all of u , cheers , ?