Can someone tell me how you change CyanogenMod Settings on the settings menu? I've tried changing one of the XMLs but it doesn't work. The menu still appears but it's still CyanogenMod Settings and it crashes everytime I click it.
Any help is appreciated.
Can someone help me with this?
Logcat?
10char
illuminarias said:
Can someone tell me how you change CyanogenMod Settings on the settings menu? I've tried changing one of the XMLs but it doesn't work. The menu still appears but it's still CyanogenMod Settings and it crashes everytime I click it.
Any help is appreciated.
Click to expand...
Click to collapse
reboot into recovery and fix permissions, reboot and try it again.
Changing the xmls is only going to change the GUI part NOT what actually goes on when you click the button.. That is why it crashes.. Dont need a logcat for that.. lol In order to change the what settings are there you would have to compile the cyanogenMod settings tree from scratch and make your changes and put it in your own custom ROM or try pushing the effected files through adb..
a logcat helps point to what he should change in the source as well which is highly useful unless he is the creator of the cyanogenmod settings menu. (or just a simple tinkerer with minimal android knowledge)
Well I'm trying to read the logcat haha. Do you have any guides on how to compile it from scratch? btw the rom I'm using is compiled by myself using linux.
cyanogenmod's wiki has a good setup on how to do it. and yeah logcat should point you to what to change.
tyl3rdurden said:
cyanogenmod's wiki has a good setup on how to do it. and yeah logcat should point you to what to change.
Click to expand...
Click to collapse
Do you mean "Building from source" ? I've already done that.
Related
No matter what I do or use, (Aptana or Eclipse) errors always show in the XML files and I can never get anything to run.
I've done google searches and I can't find answers...I also can't seem to force ignore the errors in the IDE.
The other day I almost broke my keyboard, it's driving me crazy because it's such a stupid issues I can't seem to fix.
PLEASE, I just want it to work...xda is my last resort, I don't want to bug you guys about this, but I just want answers.
*** BUMP ***
without the files and errors no one here can help you.
http://pastebin.com
nenn said:
without the files and errors no one here can help you.
http://pastebin.com
Click to expand...
Click to collapse
You want me to upload the entire eclipse/aptana setup I have?
This is not unique to the sources, this happens with any code...this has something to do with my IDE setup.
Same thing happens on my workstation and my desktop at home.
in the spirit of understanding the problem, how far along developing are you? have you tried compiling the sample code thats out there already?
without information on what you know how can anyone help you solve your problem?
nenn said:
in the spirit of understanding the problem, how far along developing are you? have you tried compiling the sample code thats out there already?
without information on what you know how can anyone help you solve your problem?
Click to expand...
Click to collapse
Yes, can't compile anything...it always tells me an XML error.
I'm not at a point where I can give you the exact error, but I probably can tomorrow.
Start Eclipse and delete all Errors in the Problems View.
Then try to recompile.
Sometimes it solve the problems
Post the xml manifest and errors.
It is a pain to get started. Take a break and try again.
I would recommend un-installing Eclipse and any Android SDK stuff and start from scratch re-installing everything. If you haven't already, use the Android developer section walkthrough to set Eclipse up properly. They indicate which versions of Eclipse and the JDK to download. Maybe you installed the wrong versions of Eclipse or JDK?
Just something to try.
PM Kingklick he's the best at compiling Android.
DISCONTINUED DUE TO GINGERBREAD RELEASE AND NO TIME TO REWRITE ENTIRE SCRIPT
WILLING TO START NEW PROJECT WITH SOMEONE ELSE
INBOX ME IF YOU WANT MY HELP FOR A PROJECT
This application will allow you to:
Do everything to theme froyo
And More!!!
Android Theming & Tweaking v2 Alpha
Download below
2.0 Development - Enhancements Finished:
Work Directory can be placed anywhere
Work Directory Move & Update
Animated Splash Screen
Phone tools by Che123 & Me
using windows 7, it is not working for me! I click on 'click me' file and nothing happen
Edit: Click me.bat doesn't open menu.bat automatically, after I click 'click me.bat' I had to click 'menu.bat' to get the options to appear.
works like a charm~
good to see you're porting this over
i'll include the windows version in the original thread and have every OS in one place
all thanks for the windows version go to you
i'll also try and fix any bugs as i know better what the scripts are doing
blackfox888 said:
using windows 7, it is not working for me! I click on 'click me' file and nothing happen
Edit: Click me.bat doesn't open menu.bat automatically, after I click 'click me.bat' I had to click 'menu.bat' to get the options to appear.
Click to expand...
Click to collapse
Sorry for that, I'll have a look tomorrow and see what's wrong
I'll post a new update with lots of fixes tomorrow
(Strict parents - spent so long on computer they nagged me to turn it off, I'm 16 and they still boss me around lol)
I'll make sure all menus work (including click me) and most of scripts work properly
//edit
The only reason I know of for it not working is because you have a space in your username for Windows. Fix will be up today
//edit
The reason I didn't post it in yours because its too buggy to display in your thread, I wanted to keep a high standard in your thread. Once its finished I'll post it in yours
Sent from my HTC Desire using XDA App
shoey-n said:
The reason I didn't post it in yours because its too buggy to display in your thread, I wanted to keep a high standard in your thread. Once its finished I'll post it in yours
Click to expand...
Click to collapse
Would greatly appreciate that
Thanks again for your porting work
Regards
Alpha 2 Released!
Fixed all visible bugs, all menus (including CLICK-ME) should now all work
Most scripts should work properly
Report all bugs to thread (either post up error shown or name of script)
Any suggestions for extra features are welcome as well (I'll tell cgrec92 about them for his version as well)
shoey-n said:
Alpha 2 Released!
Fixed all visible bugs, all menus (including CLICK-ME) should now all work
Most scripts should work properly
Report all bugs to thread (either post up error shown or name of script)
Any suggestions for extra features are welcome as well (I'll tell cgrec92 about them for his version as well)
Click to expand...
Click to collapse
the click-me still not working for me on windows 7 x64
To get the patch work in windows 7 all you need to do
is place the "ThemePro" folder on you desktop!!
mine wasn't working either until i did that
nope still not working
then also try to enter the
"properties" of both the '.bat' files in the directory and play with the "compatibility" options.
hmmm, I don't see why it doesn't work, I'll do some research about x64 because it works fine x32
Can you post up the path to your desktop please (if you don't want to show username, replace with ** but if there's a space in your username include it clearly)
Found a better way of calling the other files, it will work with everyone
(sorry for issues VeeDubZ)
You will be able to run Theme-Pro from anywhere you want, no need to place on Desktop
The Work Directory will still be placed to Desktop by default, I'm adding an option to let you specify the directory you wish to put it
(e.g Where would you like to place your Work Directory?: C:\Users\shoey-n\My Documents)
The update will be up today, and I hope to merge most of Theme-Pro 3.0 features by tomorrow
Hi shoey-n,
Why do you use this command line in CLICK-ME.bat :
call "%homedrive%%homepath%\Desktop\ThemePro\menu.bat"
Click to expand...
Click to collapse
instead of this one :
call "menu.bat"
Click to expand...
Click to collapse
?
I had the same issue than VeeDubZ with the original click-me.bat and by using this command line, it solved it.
Cheers
Thanks for the suggestion, I just noticed that when I was testing out my new way of doing it. That way will be much easier. I'm updating it with that now
New version should be up tonight
//edit
Sorry guys, I've updated the script but haven't had time to upload ( internet is really slow, so it'll take about 15 minutes )
So I'll do a major update for the release tomorrow, just for you lot
thanks for the fix, no worries about the problems with it, i started using the linux version for now, your version will just save me rebooting to use that one.
my path is the standard path that a user would use without any spaces C:\Users\vaughn\
Thanks for the progress update, looking forward to the release.
V.
Alpha 3 is out, few changes and enhancements to this version
Been tested outside of ThemePro but not inside. Hopefully new method works (hopefully uploaded right one )
Added transparent notification drawer mod (uploading for themepro 3.1 Mac/Linux in 5mins, compiling it and adding to scripts right now)
Changelog is up on first post
alpha 3 broke it all for me... none of the options work, Cmd spits out an error about "er" not being a system variable, and not being able to find the directory...
That means I made a typo somewhere, the way I done it means I only have to check 2 files so should be easy to fix, thanks for reporting the bug, fix will be up in the morning
Sent from my HTC Desire using XDA App
Beaverman20 said:
alpha 3 broke it all for me... none of the options work, Cmd spits out an error about "er" not being a system variable, and not being able to find the directory...
Click to expand...
Click to collapse
Thanks for your bug reporting, it's all fixed now
I've tested it and can confirm working
Can anyone tell me what xml i edit to change the text color? Been trying to follow a few tutorials with no joy.
Thank you
Well it is very easy to change the text colour.There are two ways.One is easy and other is a bit tricky.if you dont have root access try adw launcher ex it makes changing text colour and size very easy and fun and it offers a lot of customizations.if you dont have adw launcher ex(paid app)inform me I will post a link for the same.Hope this helps.
Thank you for your help. I have been trying to mod it in the styles.xml, after i recompiled it, i just get stuck in boot screen.
starof said:
Thank you for your help. I have been trying to mod it in the styles.xml, after i recompiled it, i just get stuck in boot screen.
Click to expand...
Click to collapse
Can you go into download/recovery mod
starof said:
Thank you for your help. I have been trying to mod it in the styles.xml, after i recompiled it, i just get stuck in boot
Click to expand...
Click to collapse
well I will surely try it today and see what goes wrong
Still no luck. I'm doing eveything it says in this link: http://forum.xda-developers.com/showpost.php?p=8316984&postcount=2297
Wonder if the problem is with APK manager
In the process of trying out an app for dealing with MediaScan (which seems to have screwed with my NST, so don't ask), I caught a fleeting glimpse of the developer options settings screen! It may be that things there (like USB debugging) don't generally work, but I have to ask: does anyone know how this hidden section can be accessed on the (rooted)NST?
The typical "tap 7 times on the build number in About" doesn't work because there is no build number and nothing else there responds to 7 taps.
So?
@nmyshkin,
Yes, there are two main ways to access Develoment Settings. Number one is through a shell, ADB or local:
Code:
am start -n com.android.settings/.DevelopmentSetting
You can also install my one of my alternate Settings.apk files, in which Development Settings is accessible from the regular Settings screen. The original development project can be found here: AndroNook Settings.
Hope this helps!
ИΘΘK¡€ said:
@nmyshkin,
Yes, there are two main ways to access Develoment Settings. Number one is through a shell, ADB or local:
Code:
am start -n com.android.settings/.DevelopmentSetting
You can also install my one of my alternate Settings.apk files, in which Development Settings is accessible from the regular Settings screen. The original development project can be found here: AndroNook Settings.
Hope this helps!
Click to expand...
Click to collapse
I assume the ADB access does not actually make the menu option appear but instead simply gives direct access to a known command?
I did look at the AndroNook settings but don't have a ROM in place that is compatible.
nmyshkin said:
I assume the ADB access does not actually make the menu option appear but instead simply gives direct access to a known command?
I did look at the AndroNook settings but don't have a ROM in place that is compatible.
Click to expand...
Click to collapse
That is correct, the command launches the activity directly.
What ROM do you have installed? I have made a compatible version for every ROM I know of for the Nook Touch (stock rooted, 1337, and Tweaked Modded), so I don't know how you aren't compatible.
ИΘΘK¡€ said:
That is correct, the command launches the activity directly.
What ROM do you have installed? I have made a compatible version for every ROM I know of for the Nook Touch (stock rooted, 1337, and Tweaked Modded), so I don't know how you aren't compatible.
Click to expand...
Click to collapse
I'm using--I guess--the stock rooted(?) and I suppose that the kernal changes don't affect that, based on your question? (I'm using the kernal that pinguy most recently packaged with the USB Host/audio stuff).
nmyshkin said:
I'm using--I guess--the stock rooted(?) and I suppose that the kernal changes don't affect that, based on your question? (I'm using the kernal that pinguy most recently packaged with the USB Host/audio stuff).
Click to expand...
Click to collapse
Stock rooted would be if you rooted your Nook with a rooting tool (like, say, NookManager), but didn't flash one of the two available ROMs afterwards.
And yes, none of the UsbToCom/UsbSound kernel stuff affects Settings.apk at all, so you're good to go.
Hello everyone. Does anyone know how to set MTP automatically every time i plug my phone in? I tried in developer options but it only works one time & want it permanently. I am running the latest NBD90X Nougat Build.
Any help would be appreciated
Leeum said:
Hello everyone. Does anyone know how to set MTP automatically every time i plug my phone in? I tried in developer options but it only works one time & want it permanently. I am running the latest NBD90X Nougat Build.
Any help would be appreciated
Click to expand...
Click to collapse
You can't. It's a security measure, so others can't get all your files if you leave your phone on your desk, without first having to unlock your phone. But you can build your AOSP rom with a different default value.
istperson said:
You can't. It's a security measure, so others can't get all your files if you leave your phone on your desk, without first having to unlock your phone. But you can build your AOSP rom with a different default value.
Click to expand...
Click to collapse
Thanks, What do i have to do in order to disable this security feature if possible
Leeum said:
Thanks, What do i have to do in order to disable this security feature if possible
Click to expand...
Click to collapse
I've found it! It's in /frameworks/base/services/usb/java/com/android/server/usb/UsbDeviceManager.java
mUsbDataUnlocked always gets false when you disconnect it from the computer. If it's set to true, then it uses your preferred setting, otherwise it's set to USB charging.
istperson said:
I've found it! It's in /frameworks/base/services/usb/java/com/android/server/usb/UsbDeviceManager.java
mUsbDataUnlocked always gets false when you disconnect it from the computer. If it's set to true, then it uses your preferred setting, otherwise it's set to USB charging.
Click to expand...
Click to collapse
I'm in root browser and i can' seem to find /frameworks/base/services/usb/java/com/android/server/usb/UsbDeviceManager.java
Only folder with frameworks is in /system folder but still can't find base folder
Leeum said:
I'm in root browser and i can' seem to find /frameworks/base/services/usb/java/com/android/server/usb/UsbDeviceManager.java
Only folder with frameworks is in /system folder but still can't find base folder
Click to expand...
Click to collapse
Sorry, I wasn't more clear on this. You have to build your own AOSP, and this is the source file you have to modify.
istperson said:
Sorry, I wasn't more clear on this. You have to build your own AOSP, and this is the source file you have to modify.
Click to expand...
Click to collapse
Ahh i see. I will try look into this. Thank you tons for your help