Uneditable? - Motorola Droid X2

I know a lot of people would benefit heavily from this, so i'm wondering if anybody has an idea to be able to edit this file (it's quite the bugger from what i've tried).
http://www.droidforums.net/forum/dr...t-battery-life-reading-help-editing-file.html
I feel like it could help people with extended batteries heavily, so i'm wondering if anybody has some insight. Thanks!

I would play with this if I had an extended battery. The file is easy to access and it is rw in my directories. Maybe the file is rewritten on each boot and requires a script to replace it, but that's pure speculation.
Sent from my MB870 using xda premium

Related

[Q] Elastic Scrolling

Is there a way to disable elastic scrolling within the menus, etc of the current non-AOSP ROMs? To clarify, I'm NOT talking about the overshooting / elastic effect within launchers, but rather the whole system itself.
EDIT: did NOT find the answer. The method that I tried did not work.
What is the answer? Others may want to know as well.
Sent from my SCH-I500 using Tapatalk
mswells said:
What is the answer? Others may want to know as well.
Sent from my SCH-I500 using Tapatalk
Click to expand...
Click to collapse
EDIT: This did NOT work. I am still looking for the answer to this question.
If you're talking about the overscroll bounceback effect, it's at the very least baked into the framework, and since it's a highly-requested feature on devices that don't have it I doubt you'll find anyone who's gone through the effort to disable it. It's possible sbrissen or someone knowledgeable about modding the framework might be able to do it, but you'd probably have better luck asking around on IRC where the experienced devs are more easily reachable.

ICS Native Tethering via Factory Mode

My first post, was very interested in getting native tethering working on ICS leak UCLD3. I wasn't going to post as I saw the work by Electron73 but then noticed that his mod was 15-16MB's. This is substantially smaller, possibly not as tested, but enables factory mode in TetheringManager.apk
Let me know your thought's CWM flashable, tested only on UCLD3
Wow. Just joined and first post is code. Thanks and welcome to the forum. I think I'll pass for now though.
Been a lurker for sometime, just thought i would contribute. Maybe a write-up is more in order to accompany. But i don't blame ya!
Sent from my SAMSUNG-SGH-I717 using XDA
I was noticing there are 7 views on the attachment, I can understand people being leery of my first post being code, compiled at that.
Please respond if you've tried it, and if not, let me know if I posted a write up of the process of manually editing the TetheringManager.apk file to enable factory mode if you would be interested? and maybe more comfortable with the compiled code itself?
I'm looking to try and start contributing more to the scene, but my initial response thus far has been slightly disheartening.
Granted, i'm not cyanogen or any of the other greats. Just a little fish trying to make some contributions.
Thanks!
cosmosexschool said:
I was noticing there are 7 views on the attachment, I can understand people being leery of my first post being code, compiled at that.
Please respond if you've tried it, and if not, let me know if I posted a write up of the process of manually editing the TetheringManager.apk file to enable factory mode if you would be interested? and maybe more comfortable with the compiled code itself?
I'm looking to try and start contributing more to the scene, but my initial response thus far has been slightly disheartening.
Granted, i'm not cyanogen or any of the other greats. Just a little fish trying to make some contributions.
Thanks!
Click to expand...
Click to collapse
I can only assume that ur assumption is correct about people be leary about your first post being code. The only thing that I have to say, is hang in there, or maybe talk to one of our devs and let them look at your code. As you reputation grows so will people trust of your code... Don't let it get you down though people will come around...
Sent from my SAMSUNG-SGH-I717 using xda premium
Thanks for your additional posts, Cosmo. I agree with Squish. That is good advise. And please don't let it get you down. Your efforts are appreciated. Thank you for understanding our apprehension to try it out.
So, here's is what I did, so far.
1) Downloaded and scanned the zip file on my PC. No problems.
2) Unzipped and looked at the contents. I am not a dev but I am an IT geek and I see nothing scary about the contained files.
I'm trying a few other things and will be back.
Awesome thanks for taking a second look. Mostly a one line patch albeit i did modify the APN check to match at least what my device has(AT&T PTA). It was however unnecessary.
Sent from my SAMSUNG-SGH-I717 using XDA
Your wifi fix is the best I've seen, yet! Thanks!
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
just flash this as well - working excellent!
Just wished we can customize the SSID - i like naming mine Trojan Detected
You can. Just click where it says Portable WIFI Hotspot (next to the on/of switch), then click settings/options.
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
Worked great. Thank you
Glad to see it getting some use, once the UCLE2 leak is out for mass consumption, I'll flash and update as to weather this needs to be updated or not. I currently assume not.
I had a quick peek through the APK with apktool and everything looks kosher at first glance. Cosmo, maybe you can post the code diffs you used to patch the app? I replaced TetheringManager.apk on my TELUS SGH-I717 running the Hybrid ROM (based on UCLD3), and so far it seems to be working fine!
I figure instead of posting the diff's posting the SVN link would be better.
Source on Google Code

How-to's: General advanced android.. so you wanna help develop?

This thread will be more like an advanced user/development "bible", to help keep the threads I am linking to clean, and to put all the information in one place. This information will also be put in the advanced section of the amaze bible doc, and also the WIKI we are working on.. I want to make sure anyone who wants this information has NO problem finding it!
I've seen a lot of people who have been making comments about "wanting to learn" at the same time that I am seeing the developers/contributors in these forums start offering "how-to's" for some of the more advanced functions.. I've also seen some comments from users who have not made any significant/consistent contributions - the secret they may not be aware of, if you can successfully read and understand enough to do the stuff we do in these forums, then YOU can take that to a new level.. and offer something back.
I will update this thread with some of the different threads/tutorials that already exist, and I would like to see people give feedback on the types of information that might be useful.. instead of just propositioning people who already develop, who may be busy with other things - let's crowd source some of our own development, after all, we all started somewhere..
Everything here, and all those how-to threads will be added to the amaze wiki - which will eventually replace the current always up to date amaze bible(doc)(which we need help updating btw, anyone on XDA can help contribute by helping do THAT here). HINT: ANYONE can help contribute to our knowledge base in the wiki! Please do! Before you give negative feedback to any dev, I want you to ask yourself - what have I contributed?
First, the bible I already posted some Advanced Android 101: So you wanna go to the next level?
If maybe building from source isn't your thing, you could look in the Everything Development Thread which has an ongoing discussion about how to COOK(or customize) a rom, a good first step toward conquering bigger and better things.. if you want to give this a go, read that thread, ask good questions, and help us create a solid starting point for future developers!
Next, with the recent release of the source for the ICS kernel, there has been a lot of interest in getting that running - Here you can learn how to Build Your Own Kernel, and then you can easily find posts by several devs working on getting these kernels fully working.. currently the issue is getting WIFI working(which we knew might be an issue), but THIS is something that users can help figure out..
If you can setup the build environment for building your own kernel, then you can ALSO [TUTORIAL]How to compile CM9 for the Amaze 4G - if you can learn how to do this, you will learn the right questions to ask to research how you may contribute to the project..
This post I have posted many useful links to different guides for porting - no one guide is going to be perfect, but if you read them and try them out.. you will learn a TON, and maybe even have a successful port! Remember, porting heavy framework changes like AOSP, sense4, aokp, etc - some of it is kernel dependent and will require more than any guide can spell out.. trial and error my friends.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Are there any more development/advanced tutorials in the amaze forums I missed? Any in any other forums you have seen that are well written? Any questions you have about something not covered can be asked here, but please post in the relevant thread if your question relates to it! I would really like this thread to be more for feedback about what we can help YOU do, so if you have any suggestions/questions regarding how we can help you do that, please post!
This post will have some of the related but not easily categorized, random information I find in the future..
Man I really want to start but my computer is way to sluggish
Sent from my HTC_Amaze_4G using Xparent Green Tapatalk 2
eggydrums said:
Man I really want to start but my computer is way to sluggish
Sent from my HTC_Amaze_4G using Xparent Green Tapatalk 2
Click to expand...
Click to collapse
Well, compiling is processor intensive, even if the computer is sluggish, a semi-decent processor and a fair amount of ram do all of the work once you finish.. and there is stuff in the bible for customizing themes and more under Advanced Android 101: So you wanna go to the next level? Then there's the Everything Development Thread, that doesn't require a powerful computer at all, you're just switching out files before flashing.. and I am going to start posting some of the stuff I've learned in there soon too!
If you have anything you'd like to see, or anything you might have to offer.. feel free to post it
http://forum.xda-developers.com/showthread.php?p=28647619
Would this help? Found it in One S forum... but idk jack about developing (way to much work for too little result) so idk if it helps
Sent from my HTC One S using xda premium
glacierguy said:
http://forum.xda-developers.com/showthread.php?p=28647619
Would this help? Found it in One S forum... but idk jack about developing (way to much work for too little result) so idk if it helps
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
You mean the video it links to? That is all I got in the xda app.. if the video has anything new it could be added to the everything development thread, they were working on instructions there for using dsixda kitchen..
Sent from my HTC_Amaze_4G using xda app-developers app
I just want to learn to develop rom so that I can contribute to this amazing sight. I asked in the g 2 forums and not once did I ever get any help. Super savvy with computers modding well at least flashing that is haha. But I know with a little guidance I can be a big contribution to the site. So any words of advice would be great and some links to guides will be even more great haha. Thank you so much in advance
Sent from my HTC_Amaze_4G using xda premium
Spastic909 said:
I just want to learn to develop rom so that I can contribute to this amazing sight. I asked in the g 2 forums and not once did I ever get any help. Super savvy with computers modding well at least flashing that is haha. But I know with a little guidance I can be a big contribution to the site. So any words of advice would be great and some links to guides will be even more great haha. Thank you so much in advance
Sent from my HTC_Amaze_4G using xda premium
Click to expand...
Click to collapse
Well, first, go into different roms, and look at their changelog - see if you can figure out what they are changing - don't just look at the roms in these forums.. look in other forums too. Download a rom, look at the updater-script to see if there is anything there that is making the change in that you saw in the changelog.. look at the files the updater script specifically sets permissions for(if it does), as those files are usually modified, hence why they have to set permisions.. look at the /system/etc folder.
Get a program like winmerge(I think that is what it is), or filemerge for mac, or some other program that will compare files AND directories line by line.. compare a stock rom to a modified rom- as long as it compares directories too, it will output which files the stock rom didn't have, which have been changed, what has been changed- THIS is the easiest way to figure it out for yourself. Piece by piece.
For example, right now I am trying to figure out why the custom kernel here isn't changing my clock speed - if I unpack the zip file, I see he has replaced the init.qcom.post_boot.sh file, and if I compare that with the stock rom, or the energy rom I am using, I see he commented out the lines that change the frequency.. so I look at the updater script, the aroma_config file, and each file tells me what it is doing.. I see the badass.sh file creates a file called 89badass in the init.d folder.. part by part you can figure out exactly what he was doing, how he was making the changes.
There is no real "guide" that is going to help as much as finding a way to figure it out for yourself.. programs like filemerge and winmerge are free and easy to find, and DEFINITELY give you a good place to start. Technically making your own rom is just making changes to a stock rom until you are actually reCODING something - but those changes can be pretty huge and technical, and do awesome things.. you just got to figure out what they are, and how to do them.
Everything above should give you a good place to start..
Silentbtdeadly said:
Well, first, go into different roms, and look at their changelog - see if you can figure out what they are changing - don't just look at the roms in these forums.. look in other forums too. Download a rom, look at the updater-script to see if there is anything there that is making the change in that you saw in the changelog.. look at the files the updater script specifically sets permissions for(if it does), as those files are usually modified, hence why they have to set permisions.. look at the /system/etc folder.
Get a program like winmerge(I think that is what it is), or filemerge for mac, or some other program that will compare files AND directories line by line.. compare a stock rom to a modified rom- as long as it compares directories too, it will output which files the stock rom didn't have, which have been changed, what has been changed- THIS is the easiest way to figure it out for yourself. Piece by piece.
For example, right now I am trying to figure out why the custom kernel here isn't changing my clock speed - if I unpack the zip file, I see he has replaced the init.qcom.post_boot.sh file, and if I compare that with the stock rom, or the energy rom I am using, I see he commented out the lines that change the frequency.. so I look at the updater script, the aroma_config file, and each file tells me what it is doing.. I see the badass.sh file creates a file called 89badass in the init.d folder.. part by part you can figure out exactly what he was doing, how he was making the changes.
There is no real "guide" that is going to help as much as finding a way to figure it out for yourself.. programs like filemerge and winmerge are free and easy to find, and DEFINITELY give you a good place to start. Technically making your own rom is just making changes to a stock rom until you are actually reCODING something - but those changes can be pretty huge and technical, and do awesome things.. you just got to figure out what they are, and how to do them.
Everything above should give you a good place to start..
Click to expand...
Click to collapse
I'm gonna start trying to figure this out before my first android I was totally computer retarded my parents died when I was 14 and I had to quit school and start working so at 32 yrs old now this is pretty tough so thank you for trying to help folks like me learn and keep up with all this new technology. I think I'm starting to get it a little reading goes a long way.
sent from one badass htc amaze with ics [email protected]
eggydrums said:
Man I really want to start but my computer is way to sluggish
Sent from my HTC_Amaze_4G using Xparent Green Tapatalk 2
Click to expand...
Click to collapse
i build kernels on an old laptop with a intel centrino duo, 512mb of ram, and ubuntu 10.04. if yours beats that, you will be fine (takes me 5 mins to build kernels)
ziggy46 said:
i build kernels on an old laptop with a intel centrino duo, 512mb of ram, and ubuntu 10.04. if yours beats that, you will be fine (takes me 5 mins to build kernels)
Click to expand...
Click to collapse
I assume ir runs windows xp?
Sent from my HTC_Amaze_4G using Tapatalk 2
EclipzeRemix said:
I assume ir runs windows xp?
Sent from my HTC_Amaze_4G using Tapatalk 2
Click to expand...
Click to collapse
yup, and it has a sticker that says windows vista capable. WHICH IS A LIE!!!!
i got the laptop for free though. its a compaq presario v3016us. i think some ram was taken out of it before i got it. (im gonna buy 2gb soon)
quick question. How do I check the change log or is there a link to it or so I can use I think that's what I'm asking!
Sent from my HTC_Amaze_4G using xda premium

seeking assistance with the v6 supercharger

has anyone gotten good results with this? if so can you assist since there's so much clutter and outdated info on it.
dyetheskin said:
has anyone gotten good results with this? if so can you assist since there's so much clutter and outdated info on it.
Click to expand...
Click to collapse
Yeah, I first used it when it was included on newts one xxx Rom(has been removed in later versions) I have then extracted it off the Rom for use with other roms
Sent from my ADR6425LVW using xda app-developers app
can you provide some steps? I seem to get stumped on the extra ICS steps such as the su binary, starter zip,etc
Assuming you have root, run the script in script manager. It will walk right through it. If you're on a deodex ICS ROM, it will make the edits for you. If not, its easier to us the bullet proof apps option on the launcher.
Sent from my Business ICS Rezound.
what about the ics extra steps? stuff like changing su binaries, possible starter kit, also seen something for extra boost for deodexed roms. there's also something about patching services.jar to get the full effect before the optional deodexed boost
The only thing I've bothered with is editing the services.jar file. Not sure on the rest of it...or if you even need it.
Most, if not all, custom ICS ROMs have SuperSU, which seems to work just fine.
Sent from my Business ICS Rezound.

ROM Porting Program

I've been slowly working on a Windows tool for porting ROMS, mainly for my own entertainment. So far I'm to the point where it will successfully copy and merge all the applicable framework,lib, etc. files to/from a base and ported ROM and change some various settings automatically (like build and setup files). I was thinking about adding a directory structure and file compare tool into it to help debug issues. I'm not sure how many people here use Windows to port ROMS but I know the fragmented sloppy nature of open source development can drive people nuts so I thought something like this may help. Is this something anybody would be interested in?
This would be an amazing thing to have!
I would love to use it, maybe we could get some sensation Roms over here
Sent from my HTC_Amaze_4G using Tapatalk 2
I'm sure this weekend I can find some time to put something together (at least part of it). I think the only thing I have left to do for the "basic" functionality is get it to change the updater script and some other random files. After the ROM is ported I could have it autmatically send an email to HTC Dev telling them how much they suck.
Wow this be nice! Does this man darknightmare will finally be able to port Sony's Xperia ROMS lol jk look forward to this tool man
Sent from my HTC_Amaze_4G using xda premium
mwalker2k10 said:
I'm sure this weekend I can find some time to put something together (at least part of it). I think the only thing I have left to do for the "basic" functionality is get it to change the updater script and some other random files. After the ROM is ported I could have it autmatically send an email to HTC Dev telling them how much they suck.
Click to expand...
Click to collapse
Lol thats the spirit
Sent from my iPad using Tapatalk HD
mwalker2k10 said:
I'm sure this weekend I can find some time to put something together (at least part of it). I think the only thing I have left to do for the "basic" functionality is get it to change the updater script and some other random files. After the ROM is ported I could have it autmatically send an email to HTC Dev telling them how much they suck.
Click to expand...
Click to collapse
Would this basic program just be doing the "copy from base to port" type of stuff that tutorials basically cover, or would this decompile/recompile specific parts of things like framework and whatnot? If just the former it would be a useful time saver, but you may want to add a ddisclaimer that the program by itself won't always put out a working port.
It is unfortunate that our amaze is such a pain to port to..
Sent from my NookColor using xda app-developers app
Silentbtdeadly said:
Would this basic program just be doing the "copy from base to port" type of stuff that tutorials basically cover, or would this decompile/recompile specific parts of things like framework and whatnot? If just the former it would be a useful time saver, but you may want to add a ddisclaimer that the program by itself won't always put out a working port.
It is unfortunate that our amaze is such a pain to port to..
Sent from my NookColor using xda app-developers app
Click to expand...
Click to collapse
For starters probably just automate a lot of the tedious copy/replace operations that are needed and a file/directory compare tool geared toward android, find/replace in files, etc. but I see no reason why it couldn't decompile and recompile .jars and .apks...or pretty much anything. I've been a programmer for years but I'm new to android so I'm still putzing around the internet looking for various info.
mwalker2k10 said:
For starters probably just automate a lot of the tedious copy/replace operations that are needed and a file/directory compare tool geared toward android, find/replace in files, etc. but I see no reason why it couldn't decompile and recompile .jars and .apks...or pretty much anything. I've been a programmer for years but I'm new to android so I'm still putzing around the internet looking for various info.
Click to expand...
Click to collapse
Give it a go, one reason I don't like porting is all the tedious work
Sent from my HTC_Amaze_4G using Tapatalk 2

Categories

Resources