yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Snapdragon)] daxgirl:
Hello guys!

Little guide for your use. We will increase the maximum number of quick setting items to... (well I prefer 15, but really - to whatever).

This mod will work on any device with quicksettings. It will work from android 4.4.2 to android 5 no problem.

You will need:

1. SecSettings.apk

2. Knowledge in how to decompile/baksmali

3. Any text editor (using Kate here, yay kubuntu)

4. About like... 5 minutes for the entire mod

Let's get crackin':

1. Decompile SecSettings.apk and navigato to smali/com/android/settings/Utils.smali

2. Find the following method:

.method public static getMaxFavoriteItemNumber()I
.locals 1

.prologue
.line 4459
invoke-static {}, Lcom/android/settings/Utils;->isGridListUIEnabeld()Z

move-result v0

if-eqz v0, :cond_0

.line 4460
const/16 v0, [COLOR="SeaGreen"]0x9[/COLOR]

.line 4462
:goto_0
return v0

:cond_0
const/16 v0, [COLOR="Red"]0xc[/COLOR]

goto :goto_0
.end method

As you can see it's pretty straight forward: if grid is enabled (in boolean, not by default), set max number to 9 (in green). if it's disabled, set max number to 12 (in red). That's why on s5 it's set to 12 (comes by default with grid, boolean set to false) and on note 4 it's set to 9.

Basically you can just change both numbers to what you want or just the one that fits your needs. Or you can just remove the entire "innerts" of the method and write const/16 v0, 0xf return v0 and be done with it.

No matter what you do, just keep the register 16 bit large (for number greater than 7, which it is already) and stick to hexadecimal format (you can find conversion online).

I personally like the 15 Quick Settings items best (most comfortable for me).

So I just do this (on s5) (in blue is what I change to set the max number to 15):

.method public static getMaxFavoriteItemNumber()I
.locals 1

.prologue
.line 4459
invoke-static {}, Lcom/android/settings/Utils;->isGridListUIEnabeld()Z

move-result v0

if-eqz v0, :cond_0

.line 4460
const/16 v0, 0x9

.line 4462
:goto_0
return v0

:cond_0
const/16 v0, [COLOR="Blue"]0xf[/COLOR]

goto :goto_0
.end method

That's it, recompile and push back (duh!) ;)

Cheers guys, if you find this helpful, use and enjoy!
[Galaxy S 5 Android Development (Snapdragon)] DaOldMan:
Your guides are always the best. Unlike others you don't keep the knowledge just to yourself. Thanks for helping us to mod our roms !
[Galaxy S 5 Android Development (Snapdragon)] daxgirl:
It's always my pleasure, my friend!!! Use and enjoy! Although I don't remember, in the end you guys have the quicksettings on note 3 lolli?
[Galaxy S 5 Android Development (Snapdragon)] DaOldMan:
In the leaked lp the note 3 settings are terrible. We have only the Tab view and no quick settings whose I terribly miss. I hope the final rom will have more settings then this.

Thomas
[Galaxy S 5 Android Development (Snapdragon)] Wuby986:
you quick setting weirdo :P

nice guide :D
[Galaxy S 5 Android Development (Snapdragon)] daxgirl:
Sure! At least I have SYSTEM! ??? ALL THE TIME! (Well most if the time...) ;)
[Galaxy S 5 Android Development (Snapdragon)] manikar:
but what about 4.2.2 can you please say how to enable them just give instructions..
[Galaxy S 5 Android Development (Snapdragon)] daxgirl:
The quick settings in Secsettings.apk is a new function first introduced in samsung galaxy s5 on android 4.4.2. So there is absolutely no way you can have that on 4.2.2.

Cheers!
[Galaxy S 5 Android Development (Snapdragon)] FelipeGG:
as you put the settings with white background Note4 style?
[Galaxy S 5 Android Development (Snapdragon)] daxgirl:
Hey, this is not note 4 style. This is s5 with official lollipop
[Galaxy S 5 Android Development (Snapdragon)] FelipeGG:
It's true ... I did not see well, thank Friend
[Galaxy S 5 Android Development (Snapdragon)] manikar:
no bro , i mean that how to increase quick toggles in notification panel please help me out in 4.2.2
[Galaxy S 5 Android Development (Snapdragon)] daxgirl:
I am not sure I understand what you mean. If you mean to have more than 5 in a row, you need to change it in integers.xml in systemui

I know that's how it works now. I am not sure that was the case in 4.2.2. It's been awhile.

I hope this helps.
[Galaxy S 5 Android Development (Snapdragon)] manikar:
no bro what i meant is to enable hidden notification toggles in 4.2.2 ..please help me how to enable them , i found all the png files but they are hidden in notification drawer :( :(
[Galaxy S 5 Android Development (Snapdragon)] daxgirl:
If those are existing toggles, you can edit sql database for setting storage and add them manually (if that's just for you) or (if you're building a rom) and if it's samsung device, you can open them using a csc feature. I will find the exact tag for you as I don't remember it by heart.
[Galaxy S 5 Android Development (Snapdragon)] filchi756:
As far as I know that CSC feature is not working anymore on adding quick toggles in lollipop(or am doing it wrong?).That's the case on my Note3 by the way. I always do that on kitkat but now I can't on lollipop.:( .As usual your guides are one of the most easy to understand and easy to follow guides around. Thanks and nice job again Miss daxgirl.:good:

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

We have one lollipop rom on Note 3 here which has that quick settings. Its a port of the S5 secsettings.apk I think. That I extracted and use it on another rom:D,which work quite well. http://xdaforums.com/galaxy-note-3/development/n9005-lollipop-5-0-s5-note3-stable-t2994680
[Galaxy S 5 Android Development (Snapdragon)] daxgirl:
I have no idea about csc feature on Lollipop whether will work or not. But I have to say that the guy was asking for 4.2.2... sooooo... looolllllll that will work for sure ?

Thanks for the secsettings reference! I don't have the note 3 anymore, but I did 'give you up' to [MENTION=3026895]DaOldMan[/MENTION] since he was looking for s5 settings for lollipop! !!

Cheers, my friend, and thank you for EVERYTHING!!!
[Galaxy S 5 Android Development (Snapdragon)] DaOldMan:
I know that Norma rom. That's the one only rom with Toolbox working 100%. I worked a lot on it's settings for Toolbox but couldn't find what's wrong with ours. So it's just better to use the whole apk heheh [MENTION=3002844]filchi756[/MENTION]. Will try it ;), I love Norma's settings much more then the horrible Note3 stock LP crap :(

Thomas
[Galaxy S 5 Android Development (Snapdragon)] filchi756:
We are the same mate .I love Norma setting layout.That's why I use it on another rom:D.Mate try the new release version (0120). It like a mix of note4 and S5.

---------- Post added at 09:05 PM ---------- Previous post was at 08:59 PM ----------

I already told him before about it.Hope you do more guides like this eventhough your on Note4 already. It me who have to thank you Miss Daxgirl.Thanks for all the guides.:good::good::good:
[Galaxy S 5 Android Development (Snapdragon)] daxgirl:
I am on note 4 but s5 is my all times favourite. I am not giving it up ???
[XDA Assist] XDA Visitor:
i have hp slate 7 voicetab 6102ra and os is 4.2.2 jelly bean and i want to root or apply any other os but i can not find my tab on xda-forum plz help
[XDA Assist] It_ler:
As there is no specific forum for your device on xda, you have to check the general Android Software Development forum.

If you search for "HP Slate 7", you will find some custom ROMs, etc.

Here is a rooting thread for the HP Slate 7: Rooting HP Slate 7. Updated March 16 2014

If you have questions about this, please ask in the Q&A thread.

And here is a CWM recovery thread: [CWM] 6.0.3.3 for HP Slate 7

If you have questions about this, please use the corresponding Q&A thread.

For general questions about your device, please post in the Android Q&A, Help & Troubleshooting forum.
[Nexus 5 Q&A, Help & Troubleshooting] licht77:
Did anyone already try the Kali Nethunter ROM based on 4.4?

https://www.kali.org/kali-linux-nethunter/
[Nexus 5 Q&A, Help & Troubleshooting] Prattham:
i don't think that many of us even knew this.... lol
[Nexus 5 Q&A, Help & Troubleshooting] pingu11:
I'm using it. I've dualbooted it using multirom. It's NOT a ROM but sort of like a package which has to be installed on top of a ROM. I have it running over PA 4.6.
[Nexus 5 Q&A, Help & Troubleshooting] iamterence:
So..... What is this, exactly?
[Nexus 5 Q&A, Help & Troubleshooting] licht77:
So u can use your nexus still as a phone? :) how is battery life?
[Nexus 5 Q&A, Help & Troubleshooting] Wolfensteiner:
I'd like to know the battery status too.
[Nexus 5 Q&A, Help & Troubleshooting] licht77:
Basically it is a stripped-down but impressive toolset ported from the kali linux pen test suite...

You can use your cellphone as metasploit device, bad usb device, USB HID Keyboard attacks and for many many more pen test related scenarios.

There is also a native software radio support - so you can use HackRF :)

You could also store some livecd images on your nexus and use the otg cable for booting your computer directly from there :)

All together its brilliant for security audits-on-the-go ... the question is if the phone is still useable as "phone" and camera :)
[Nexus 5 Q&A, Help & Troubleshooting] pingu11:
Kali Nethunter is basically mini Kali Linux for our phones with added features such as BadUSB,etc. The Nethunter package doesn't seem to effect battery life or usablilty as such. I'm able to use it as a stable daily driver. It's pretty amazing.
[G3 Q&A, Help & Troubleshooting] DominikAT:
Hello XDA.

Since the Update to Lollipop my G3 has some serious problems. like Heating up as hell - especially when i play games like PvZ2 its getting rly darn hot - and shut down for overheat-reasons once.

But today i was chatting (FB Messenger) and my Phone decided to turn off complely.

It was impossible for me to switch it back on, even pulling out the Battery does not help.

When i connected the Power-Cable, it startet charching after 4-5min (starting @ 84% Charge) - and it was possible to turn it on.

Does anyone of you have a clue what problem this could be - some kind of technical defect?

Or is it just Software-Related?

Oh - Infos to the Device:

D855-32GB International/EU Model

SW-Version: V20f-EUR-XX
[G3 Q&A, Help & Troubleshooting] suljo94:
sounds like an rogue app try using wakelock detector to pinpoint it, then delete his data, if that doesnt work delete the app, in wakelock detector see cpu wakelocks
[Sony Xperia T, TL, TX, V] udahy.manna:
Im using omega rom(rooted with relocked BL)..I tried paragon and ntfs mounter,But i cant mount ntfs formatted sdcard..Is there anyway to mount ntfs cards?

Is there any custom ROMs will support NTFS cards??
[Android Q&A, Help & Troubleshooting] verma_ayush:
Hello guys, there is no specific forum for this device, that is why have started this new thread.

My xolo q500 is bricked. It stucks at the logo and doesn't go further. I was trying to install CWM recovery. But niether CWM nor TWRP not available for my device so i tried to flash CWM of some other device from the rom manager. It was of xolo q700. After flashing my device got shut down but stcuked at the boot logo when restarting.

All i wanted to do is to flash a custom rom. I rooted. I tried to flash it via the default recovery but it was not succesfull i dont know why. I googled and came up to know that i need to install custom recovery like CWM or TWRP to successfully flash custom roms. So when i flashed cwm of xolo q700, this happened....... It was all because of that other device's CWM..... and that recovery.img file was placed in the internal memory. So overall, i flashed it from the internal memory.............

Now my phone niether boots up normally nor boots in the recovery menu. It stucks at the xolo logo. I googled but i found unbricking methods for mediatek devices via sp flash tools but my device has Qualcomm Snapdragon chipset , so that didn't worked. Please help me how can i unbrick my device? Is there any method to unbrick qualcomm based devices?

I had that thought of not installing stuff of another device. But i niether found any custom rom nor recovery for this device. So i decided to just use another device's stuff. Yeah i know that totally crazy idea... but.....whatever when i plug it into PC it does not detect anything but when i plug it in pc after removing battery, its LED starts blinking. When this happened first time... Something like 'Qualcomm msm' was installed but nothing thereafter......
[One (M8) Q&A, Help & Troubleshooting] Tonysanity:
i am new to htc device and is rumrunner s-off method safe for m8?i dont want to use sunshine s-off
[One (M8) Q&A, Help & Troubleshooting] Mr Hofs:
Rumrunner does not work. If you dont want to use sunshine than you won't achieve s-off.
[Defy Q&A, Help & Troubleshooting] alecs1:
Hi,

Defy Plus, running the 20150103 nigthly from Quarx. After one night of charging I found the phone asking for the sim PIN as if it has rebooted. I found out that the following were lost:

-all or almost all settings

-most (but not all) of the programs installed with GooglePlay

-GooglePlay itself.

I tried the following:

-reinstalled GApps

-installed a newer CM nightly: 20150117.

Other details

-contacts list (unsynchronised) and call history are OK

-sdcard seems to be OK, filemanager and gallery can access it

-messaging and some other programs crash on start-up

What could be the problem?
[Defy Q&A, Help & Troubleshooting] alecs1:
Additional details:

- Crashing messaging app says:

01-17 13:59:30.949: E/AndroidRuntime(3196): java.lang.RuntimeException: Unable to instantiate application com.android.mms.MmsApp: java.lang.ClassNotFoundException: Didn't find class "com.android.mms.MmsApp" on path: DexPathList[[zip file "/system/priv-app/Mms.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]

-I can also provide an strace; I didn't find anything useful inside (though I'm not an strace expert).

- Looks similar to:

http://xdaforums.com/showthread.php?t=706773
[Defy Q&A, Help & Troubleshooting] alecs1:
Probably solved

Messaging was solved by deleting the cache.

GoogleApps and stuff was solved by repeatedly installing different GApps from the internet. pa_gapps-modular-mini-4.4.4-20150117-signed.zip was the last one that finally gave back all functionality.
[JAMin, XDA Neo, S200 Software Upgrading] rakesh_behrani:
hai guys this is my first post can anyone guide me how can i unlock imate jamin IPL 1.00

SPL 2.200

GSM 02.47.21

OS 2.20

thanks
[JAMin, XDA Neo, S200 Software Upgrading] flykthewiz:
You don't give the all important .000 (G3) or .0001 (G4)!

If your phone is a G3 it tells you in the wiki how to do it!

http://wiki.xda-developers.com/index.php?pagename=HTC_Prophet

If it's a G4 the only way at the moment is to pay! I used this site

http://www.imei-check.co.uk/

If all you want to do is SIM unlock it then

http://xdaforums.com/showthread.php?t=265928&highlight=sim+unlock

(I got this by typing sim unlock in the search box!!!)
[JAMin, XDA Neo, S200 Software Upgrading] rakesh_behrani:
thanks for your reply my device is G3 iwant cid unlock but link is not working
[JAMin, XDA Neo, S200 Software Upgrading] c3l5o:
Works fine here... Just go to the WIKI
[Transformer TF300T Q&A, Help & Troubleshooting] balu25int:
Can we install Windows 8 on tf300t? I thought it can't be. What's with this video?

https://www.youtube.com/watch?v=vvw9CMMlDJ4

Does this even work?
[Transformer TF300T Q&A, Help & Troubleshooting] Graiden05:
It's definitely fake. :D There is 5 more of them on this channel.
[Transformer TF300T Q&A, Help & Troubleshooting] cmendonc2:
Agreed, that does look suspicious.
[Transformer TF300T Q&A, Help & Troubleshooting] JoinTheRealms:
+1 extremely fake. The end of the video is most likely a remote desktop connection. Windows will never run on this device due to mainly the ARM CPU. Windows RC is windows specifically for ARM devices, but this isnt released for end users.
[Transformer TF300T Q&A, Help & Troubleshooting] balu25int:
Misguiding others just to increase the number of views. Just pathetic. To think that I believed that video, even for a minute.
[Moto G Q&A, Help & Troubleshooting] s27moto:
hi all

can help me to fix this problem ?
[Moto G Q&A, Help & Troubleshooting] s27moto:
i found the answer

when mobile data is off imcard signal icons get exclamation mark
[XDA Assist] leommh:
Hello, currently I have an application that allows the user to download the roms of Nintendo 8-bit platform, however, besides the roms I would also add an emulator to the application itself, so that the application be more complete.

But in addition to not find any open source emulator for Windows Phone 8.1, also don't understand exactly how I could do this.

Is it really possible?, I wanted to do a button in my application and when you click it would redirect you to the emulator inside the app, if anyone can help me I would greatly appreciate it, because as you can see this forum is my last hope!
[XDA Assist] Darth:
Hi,

You can ask about that here,

> App Development Forums > Development Tools > Other Tools & General Discussion

Good luck!
[ONE Q&A, Help & Troubleshooting] homer56:
2 weeks ago, my oneplus stucked in a bootloop. it just restarted itself and after the oneplus logo, endless bootanimation

Infos: Oneplus china version 64 GB black, not rooted, before error no twrp installed

I think I tried everything, different versions of twrp and via adb sideload tried to flash different official .zip versions of cygnmod. always the same error:

E: Unable to mount '/cache'

E: Unable to mount '/cache'

E: Unable to mount /data/meida/TWRP/ . twrps when trying to read settings file.

E: No valid storage partitions found for MTP.

E: Unable to mount '/data'

E: Unable to mount '/data'

I also tried different toolboxes (chinese omnipotent toolbox; oneplus one toolkit) flashing process was ok, but then it restarted and still bootloop.

does anyone know this problem and has a solution? thanks in advance...
[ONE Q&A, Help & Troubleshooting] n J o y:
+1
[ONE Q&A, Help & Troubleshooting] waterdaan:
This sounds serious,

[MENTION=4153349]timmaaa[/MENTION] [MENTION=4153349]timmaaa[/MENTION]
[ONE Q&A, Help & Troubleshooting] waterdaan:
This is way over my head, you should wait for timmaaa to respond
[ONE Q&A, Help & Troubleshooting] Heisenberg:
Go to my guide thread here:

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

Follow the instructions in Section 8.
[ONE Q&A, Help & Troubleshooting] waterdaan:
Thank you very much for helping everybody out

Much appreciated!!!

You're the best
[ONE Q&A, Help & Troubleshooting] n J o y:
If i try to flash something on fastboot it says --> "FAILED (remote: failed to erase partition)".
[ONE Q&A, Help & Troubleshooting] ~MaX~:
hi,

i already have 2 opos with this issue, one which is my own and one i ordered for a friend. the phone just rebooted itself at some point and was stuck in a bootloop. access to recovery and fastboot work, but recovery cant mount /system, /data, /persist, and /firmware. formatting doesnt help, flashing factory images gets stuck when flashing either system.img or userdata.img,

the first phone is already shipped out for rma and the second one will soon be shipped out.

maybe there is a problem with the memory chips themselves?
[ONE Q&A, Help & Troubleshooting] Heisenberg:
Ok, you might need to try one of these:

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

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

http://xdaforums.com/oneplus-one/help/guide-unbrick-oneplus-one-t3013732

Transmitted via Bacon
[Nokia X] zurik:
Hello, I need some help, yesterday, my wifi not works. I Open it and automatically turn off.... I tryed to reflash Nokia X 1.2.4.1 but didnt works... also I installed SEMIAOSP rom 2.0 but have the same problem. When IU flash CM11 then is working... Help please

:crying::crying:
[Nokia X] somak jha:
hv u installed the lollipop look like rom

my wifi also stopped wrking man.... i tried every rom even stock... it stopped wrking... but it is only wrking on lollipop look like rom ... which i think made it stopped for other rom
[Nokia X] zurik:
Yes! I Have Flashed the "Lollipop look like rom" and stops wifi working on stock rom And Semi AOSP Rom v2

I Installed The AOSP Rom/ CODE AURORA(find on dhacker29's thread on Original A.D) and works normal, and CM11........
[Nokia X] somak jha:
it is sure that it is not a hardware problem...

but why it is only wrking on lollipop .... aosp dhcker's and cm11 .... why not on stock and semi aosp....
[Nokia X] zurik:
I Don't Know Why, but ask the DEV of this rom for Answers...
[Nokia X] somak jha:
i fixed this problem bro...... hahahahahh!!!!!

yo yo
[Nokia X] somak jha:
http://xdaforums.com/nokia-x/genera...m-lollipop-t3005403/post58236348#post58236348

this is the fix bro it is posted by me plzzzz press thnxxx button
[Samsung Galaxy Ace 3] FirstMn:
Hello, im using Samsung Galaxy Ace 3 LTE 7275R with CM12 by kosthouls (Android 5.0.2).

I am playing lot of games , because its good phone to playing GTA, CoD, MC, etc., but i want these games move to SD card.

Phone have 5.21GB internal SD (/data and /storage/sdcard0) and external SD (/storage/sdcard1) 14 GB big. When i try use foldermount, i do this:

1. Open fmount, allow root access

2. Find game (ex. Strike Team, 1 GB big), move to external SD.

Now its moved on SD and here im stuck

3. Im again and again trying Connect(Mount) the game, but what im doing how, the pin is not green (still white).

Tryied uninstall and installed GL to SD (same as fmount), but same problem, cant connect(mount) the game (folder).

Second is mount external sdcard as internal SD

(External SD 14 GB will /data and /sdcard0, and internal SD will /sdcard1)

Tryied modify fstab.qcom file in / but every phone restart it will restore back to normal .What do ?:(
[Samsung Galaxy Ace 3] punkore:
It'a Root Problem related to CM12. Disable Cyanogenmod SU (disable root) from Developer options and use SuperSU instead.

flash this zip file from recovery : http://download.chainfire.eu/695/SuperSU/UPDATE-SuperSU-v2.45.zip (it worked for me;))
[Samsung Galaxy Ace 3] FirstMn:
Solved

Problém solved. Punkore's ZIP is too way how to fix it.

!! Only Ace 3 LTE !!

!! Only on cm12 !!

Fix:

Install SuperSU app from google play, then update su binary, and its working. :)
[Huawei MediaPad, T-Mobile SpringBoard] Farzad.M:
hi,

i have huawei mediapad 10 link (s10-201u), i boot it on fastboot mode, but when i connect it to pc and write a fastboot command (for ex: fastboot write recovery recovery.img) cmd command show: waiting for device

i installed many drivers but again show waiting fo device

i don;t have problem with other huawei devices in fastboot, just this model have problem for me

please give me tested driver for this model

Thanks
[Huawei MediaPad, T-Mobile SpringBoard] mdmory:
hi,Im have this problem too.anyone has solusion pleas help.thanks
[HTC ChaCha] Flexmaen:
I still use the standard ROM with HTC Sense. The only thing that annoys me, is that I have to unlock the screen by dragging the ring into the middle of the screen.

Is it possible to unlock the screen by pressing some key?

Cyanogenmod for example offered to unlock the screen by pressing the menu key - this was so much better.
[HTC ChaCha] Flexmaen:
No possibility?

I tried to install 3rd party software like "Locker Master", but all of them seem to be 90° rotated.
[HTC ChaCha] star_sanj:
I am searching for the same thing, :confused: there sud be some way to unlock phone and open menu from keypad instead from touch screen, isn't there any custom roms available we can use for this ???