[Q] skip music track via long volume press for non cm7 miui roms - Android Software/Hacking General [Developers Only]

i would love to learn how to incorporate this functionality into a rom (i'm an owner of a htc phone and primarily use sense roms). from what i've read, it's only a matter of adding a couple of files (phonewindowmanager$12.smali and phonewindowmanager$13.smali) and modifying phonewindowmanager.smali. if done right, this functionality can be added to any rom.
i've been comparing the cm7 smali file to a sense smali file to see what the differences are in terms of code but it just makes my eyes go wonky since i know nothing about reading/writing code.
until yesterday, i had no idea how to extract classes.dex from android.policy.jar nor was i aware of any of the information mentioned above. in other words, i'm a noob at this. i would like to learn how to do this and by the looks of it, many others on the forum are interested as well.
is there a dev out there that would like to share his/her knowledge/wisdom/experience on this with the rest of the xda community? i realize this is a lot to ask but i thought i'd try. thanks in advance.

I'd also be interested in this, for phones where Cm7 isn't available

Me too. Am going to put this thread as my signature until some kind soul comes up with an tutorial. Or at least a rhetoric answer.
By the way, the only guy that i know is, Andy Thompson, who's always update his mod/hack for MIUI roms
http://miuiandroid.com/community/threads/mod-skip-track-via-volume-press.7356/
and also CosmicDan
http://miuiandroid.com/community/th...hold-volume-to-skip-tracks.17381/#post-131527
Must have skill/mod/hack or even app for music lover and flashaholic.

Related

Is there any benefit to putting upgradeable files in a rom?

What I mean is, it seems to me that it would be more efficient to put any/all files that may be upgraded as packages and instead of flashing cooked roms, we could flash a generic rom and uninstall old/reinstall new packages
Am I making sense to anyone?
I understand you
I believe this is part of what chefs who create "lite" or "unbloated" or "clean" or "naked" (in Garmin's ROMs) are trying to achieve.
I personally like the idea, and hope we see more of them.
My personal favorite ROM of all time was the very first Hyperdragon III
mbarvian said:
I understand you
I believe this is part of what chefs who create "lite" or "unbloated" or "clean" or "naked" (in Garmin's ROMs) are trying to achieve.
I personally like the idea, and hope we see more of them.
My personal favorite ROM of all time was the very first Hyperdragon III
Click to expand...
Click to collapse
Up until recently the problem has been that cooks either created loaded ROMs with tons of stuff added to them, or lite ROMs, where they stripped this out.
The issue was however that it is quite easy to strip things out of a ROM. Making CAB packages out of those stripped out files however can be one of the more time consuming tasks and cooks didn't always offer those packages. In addition, CABs which were made available from other sources weren't always packaged in entirety and wouldn't always install.
Cooks have been getting better at this recently however. My new set of ROMS follows these concepts precisely:
http://forum.xda-developers.com/showthread.php?t=429117
I have been calling and advocating for this too basically since the dawn of UC
Previously I didn't post much under different nick, but I have "put up together" this concept in THIS thread finally, albeit with somewhat misleading "temporary" title, but it is good discussion if anyone is interested.
Granted, few apps have to be cooked-in in order to function properly, but those are really just very few. But as you can read there, most objections against this kind of "real lite" ROMs (where any "upgraedable apps" are NOT cooked-in) come from people who don't understand it, or don't know much about UC or Sashimi (BTW I'm for UC rather than Sashimi because UC is much easier for any newbies), or just don't know/have no clue how it works and are affraid it would make troubles to them if they don't have the same apps cooked-in.
Perhaps any of you could add your input there, since there isn't much sense in starting new thread about basically same thing.
Bengalih, I will test your ROMs with pleasure when I have bit m,ore time (or actually a second Kaiser would be great ).
But I can already give you my sincere congratulations now if you have created such ROMs
I have made ROM based on hang.tuah's ROMeOS (it was going to be an update, but ended in another ROM, LOL - not quite "lite" as I would want it, but I can't change the things that were "always there" now ). I try to steer its users into UC and use "extended packs" for things like dialers, comm managers etc. They'll have best proof that "cooked-in" is *worse* than "installed" soon, when they will have i.e. choice of Opal or Kaiser dialer in the extended pack - which obviously would be impossible if the dialer was cooked-in in the ROM...
@bengalih: your post is what got me to thinking about this again
I'm happy to see that you others share my attitude towards efficiency
I have not completely read thru both of your threads but I suppose what needs to be done is to create a universal standard
The way I see it, this type of system would be beneficial to cooks and end users alike. End users need a minimal variety of options to install these collections and a minimal variety of each basic rom release to install the collections to. Cooks need a simple system to adhere to that requires no more work to put together their collections than the current amount of work they do to create their roms.
Here is a sample proposal (what I'm thinking right now with a minimal knowledge of rom cooking )
A base rom of each flavor could be made available to download. By each flavor, I mean a different rom with each combination of files that must be cooked in to work. I haven't read anything like that before so if there are more than a couple combinations then no more than 4-5 with typcal combinations should be considered.
I need to do some reasearch to learn what benefits and/or caveats are associated with UC and Sashimi. I suppose cooks should be the ones to decide whether to make their collection(s) combatible one installer or the other.
selyb said:
@bengalih: your post is what got me to thinking about this again
Click to expand...
Click to collapse
In the future it might just be best to post in the thread about this then. As a topic that has been tread over several times putting additional input into an existing thread would be more effective.
selyb said:
I have not completely read thru both of your threads but I suppose what needs to be done is to create a universal standard
Click to expand...
Click to collapse
Perhaps you should read through the threads that are already out there before staring a new one that re-hashes the same information.
selyb said:
The way I see it, this type of system would be beneficial to cooks and end users alike. End users need a minimal variety of options to install these collections and a minimal variety of each basic rom release to install the collections to. Cooks need a simple system to adhere to that requires no more work to put together their collections than the current amount of work they do to create their roms.
Click to expand...
Click to collapse
Good luck trying to get cooks to follow anything you propose. Not that it might not be a brilliant idea, but cooks are going to do their own thing. I decided to take matters into my own hands and cook my own ROMs according to the principles I thought best. I put the ROMs and my principles out there in hopes others will adopt them, but that's the best you can do...
selyb said:
A base rom of each flavor could be made available to download. By each flavor, I mean a different rom with each combination of files that must be cooked in to work. I haven't read anything like that before so if there are more than a couple combinations then no more than 4-5 with typcal combinations should be considered.
Click to expand...
Click to collapse
Again, pretty much what I have done already with the HTC and AT&T official 6.1 releases. A base ROM for each with a set of CAB file to customize to your desires.
selyb said:
I need to do some reasearch to learn what benefits and/or caveats are associated with UC and Sashimi. I suppose cooks should be the ones to decide whether to make their collection(s) combatible one installer or the other.
Click to expand...
Click to collapse
No offense, because I realize I am coming off a bit gruff in this post, but you do need to do alot of research. I agree with alot of what you are saying, but it has been said before (by myself and others). Also, there is no reason that a collection of CAB files wouldn't work with SASHIMI instead of UC or vice-versa. To your own admission, you don't understand how these installers work, but when you do your research you'll see that in essence they are both just installing CAB and XML files (and with SASHIMI the capability for much more).
Again, please don't take anything here as a personal attack. I can see that you are coming off of inspiration from my posts and I don't disagree with your basic ideas. However you will get better reception from all if you do these things:
1) Research what is out there before posting so you don't retread old ground.
2) Don't just "propose" ideas, put them into action. Even the best ideas are unlikely to be adopted unless you put effort into implementing them youself.
I say these to you for your own protection before someone not as nice as me begins to bash you for not doing research
Ok, well, I will quit posting to this thread before someone not so nice does come along.
selyb said:
Ok, well, I will quit posting to this thread before someone not so nice does come along.
Click to expand...
Click to collapse
Heh... well seriously, take some time and learn more of what is currently out there and see where it is lacking.
I generally invite user feedback on my development projects. If you go back through the older threads, and take a look at what I am trying to do with my BRR ROMs, please feel free to comment in there about what additionally you would like to see and why.
Trust me, I very much welcome an open debate about what would be an effective way to do things. I just wanted to burst your bubble a little bit (seeing as you are a newer member) that your aspirations, although maybe valid, are most likely not going to get implemented by a majority of the cooks throughout the site.
I don't mean to shut down your thread, and you should continue posting if you see it as the best place to do so. I just feel that if you contribute to some existing projects that already have momentum then your ideas are more likely to get some attention.

Android Rom Tool

Hello everyone,
I'm not new to this forum, i have used it for many years now. Yet i have never made any contribution to the community.
I was fiddling with my G1 again when i found out my rom folder was a complete mess filled with update.zip packages, roms i didn't even know i downloaded. So i though, hey lets develop an application to manage all my roms and radio's with a quick button to upload a rom or radio to my g1.
Something like this:
Sorry i could not post a link, it's restricted. My account is still blocked for that. Admin??
I wonder if anyone would be interested in such an application? And if you are interested could you come up with suggestions to make it better/ help me debugging (i'm a student, i don't have a lot of spare time).
If anyone is interested i will seriously think about further developing this app,
it's now in pre-pre-alpha stage or so .
Greetings from holland.
zuenaerox said:
Hello everyone,
I'm not new to this forum, i have used it for many years now. Yet i have never made any contribution to the community.
I was fiddling with my G1 again when i found out my rom folder was a complete mess filled with update.zip packages, roms i didn't even know i downloaded. So i though, hey lets develop an application to manage all my roms and radio's with a quick button to upload a rom or radio to my g1.
Something like this:
Sorry i could not post a link, it's restricted. My account is still blocked for that. Admin??
I wonder if anyone would be interested in such an application? And if you are interested could you come up with suggestions to make it better/ help me debugging (i'm a student, i don't have a lot of spare time).
If anyone is interested i will seriously think about further developing this app,
it's now in pre-pre-alpha stage or so .
Greetings from holland.
Click to expand...
Click to collapse
First off, I am not sure if this is in the right section...perhaps putting it under General might be a better option, as it does not have to do specifically with developing a ROM.
Secondly, the idea seems promising. I am not fluent with ADB, but if you can flash roms with it (IE: boot the phone into recovery, and use adb to flash the rom), then yeah, I think it would be a great idea. And again, depending on what ADB can do, haev it control nandroid/bart as well for backing up and restoring. I know ADB has the shell command, so if you can use stdin/stdout to read/write to that shell prompt, it would be feasible.
But that is forcing every user to go ahead and keep a db of the ROMs they download...perhaps using an external host to manage the images (keep a listing, changelogs, etc) of the individual roms would be an idea...then you can have the application pull roms directly from that repo. This, of course, would require you to manage the remote repository and keep it up to date.
Thats my $0.02
jmhecker said:
First off, I am not sure if this is in the right section...perhaps putting it under General might be a better option, as it does not have to do specifically with developing a ROM.
Click to expand...
Click to collapse
This is ANDROID Development, not ROM Development.
My $0.02.
Bavilo said:
This is ANDROID Development, not ROM Development.
My $0.02.
Click to expand...
Click to collapse
Thats why I said "I'm not sure"...I stand corrected though.
If we want to get technical, this is Htc Dream (G1) Android Development. If we want to be nitpicky this should be in Android development unless it is only for the Dream (G1) and will not work for any other Android phone, which I doubt. But who's being nitpicky anyway?
JAguirre1231 said:
If we want to get technical, this is Htc Dream (G1) Android Development. If we want to be nitpicky this should be in Android development unless it is only for the Dream (G1) and will not work for any other Android phone, which I doubt. But who's being nitpicky anyway?
Click to expand...
Click to collapse
First off, I love the last line of your signature...classic
I just know that the mods and certain 'Senior Members' like to trash talk about threads in the wrong section, rather than simply stating that it would be more appropriate elsewhere. I was just trying to stop the bashing before it started, heh.
This thread is getting sidetracked though. I do think that the idea is a good one, whether it be strictly for G1, or across the board for all Android devices.
Sorry...
Sorry for posting this in the wrong section, i thought it should be in this section becouse it involves rom's.
Putting up a rom repo, would involve PHP and Mysql(a large one, saving all roms and radio's).
I would be very interested starting this project. I could use some help however. I don't mind building such a repo, but the content should be community managed.
I think android is going to be the mobile future so building such a repo would pay off since we're getting more and more rom's. Ill experiment with php and mysql tonight. I don't have a host, i run it locally.
Maybe someone with mysql/ bandwith to spare?
greetings
zuenaerox said:
Sorry for posting this in the wrong section, i thought it should be in this section becouse it involves rom's.
Putting up a rom repo, would involve PHP and Mysql(a large one, saving all roms and radio's).
I would be very interested starting this project. I could use some help however. I don't mind building such a repo, but the content should be community managed.
I think android is going to be the mobile future so building such a repo would pay off since we're getting more and more rom's. Ill experiment with php and mysql tonight. I don't have a host, i run it locally.
Maybe someone with mysql/ bandwith to spare?
greetings
Click to expand...
Click to collapse
It wouldn't necessarily have to be done with MySQL/SQLite/etc...XML would work just as well, but can be a bit more tricky to manage. SQL probably would be the better option now that I think about it.
This idea would have 2 parts to it then, correct? The backend (database hosted online somewhere), and the frontend for the user desktop.
As far as the bandwidth required, there are plenty of places on the net that are geared towards hosting of open source projects...perhaps you could use one of their offerings.
The idea first involved a client managed application only. However the idea in the other post about a web based repo liked me better . Ill try to develop a simple web application to add rom's,track changes. I will try to put a test application online tomorrow.
I hope this repo will be used and managed. I like this forum very much and the community could not live without it. This repo would absolutely be and addition to xda!
Using the repo, you could view all available rom's, installation instructions, track changes.
Check the thread tomorrow. Ill try to upload an example
Have a nice day
zuenaerox said:
The idea first involved a client managed application only. However the idea in the other post about a web based repo liked me better . Ill try to develop a simple web application to add rom's,track changes. I will try to put a test application online tomorrow.
I hope this repo will be used and managed. I like this forum very much and the community could not live without it. This repo would absolutely be and addition to xda!
Using the repo, you could view all available rom's, installation instructions, track changes.
Check the thread tomorrow. Ill try to upload an example
Have a nice day
Click to expand...
Click to collapse
I think anything is better than what we have now: Threads scattered all over the place with new ROMs getting posted. We need something more centralized.
bro you look like a fake maxisma .. hahahhaha .. sorry had to point that out
@georgegreco86
Well thank you for your kind reply...
@jmhecker
I've put together a quick php,mysql script on a temporary host. It's not possible to add roms. But you can view rom information in an organized way.
This is just an example of what is possible. Never mind the layout.
Its just a quick preview.
androidrepo.zxq.net/index.php
Greetings
Great idea!!!
im not a developer, but im a flashaholic he he, cant wait for this info....
zuenaerox said:
@georgegreco86
Well thank you for your kind reply...
@jmhecker
I've put together a quick php,mysql script on a temporary host. It's not possible to add roms. But you can view rom information in an organized way.
This is just an example of what is possible. Never mind the layout.
Its just a quick preview.
androidrepo.zxq.net/index.php
Greetings
Click to expand...
Click to collapse
The one thing to think about with this is when you allw people to add/update/delete their roms. You will have to have some sort of permission system in place that would prevent UserA from deleting a ROM that was created and uploaded by UserB.
Also, this creates another login/password that the rom creators need to remember.
Yeah i thougt about that, unfortunatly we live in a world where you can't trust people. So yes i need to build an user auth system
This was just preview
I'm going to bed now, ill be working on it tomorrow
have a nice day
I like to help
well I am just putting a new linux server online in the next day or so
toss one of my google adds on the page and you can host it there
and as space requirements grow I can add more np
it would at ther very least get it hosted so you guys can get it off the ground
by the way I have been lurking around here for months
some of the stuff you guys have done is truely sweet my phone
will never be the say again unless rogers has its way
Hello guys,
I've been working very hard on the repo and i'm glad to announce that the admin part is allmost fully finished!!
@Broncosis
Thank you for your reply!!!!
i hope your host can run php, and mysql. I use the mysql to upload foto's and roms are saved to the server harddisk. Will this be possible?
Thanks in advance for helping get this project off the ground !!
greetings
zuenaerox said:
Hello guys,
I've been working very hard on the repo and i'm glad to announce that the admin part is allmost fully finished!!
@Broncosis
Thank you for your reply!!!!
i hope your host can run php, and mysql. I use the mysql to upload foto's and roms are saved to the server harddisk. Will this be possible?
Thanks in advance for helping get this project off the ground !!
greetings
Click to expand...
Click to collapse
If I may make a suggestion: When you are working on the frontend (what the users (not devs) will see, code it using proper XHTML standards, and utilize classes from within your CSS. The reason I say that is I would be willing to make a desktop application that would scrape your webpage at load, and obtain the ROM categories, rom information, download links, etc, and the user would then be able to simply choose a ROM from the application, which in turn would download it, and create a nandroid backup of the phone, move the ROM over, and flash it, without any user interaction. (thats assuming I can work out a few of the troubles I am running into with ADB and Fastboot)
zuenaerox said:
Hello everyone,
I'm not new to this forum, i have used it for many years now. Yet i have never made any contribution to the community.
I was fiddling with my G1 again when i found out my rom folder was a complete mess filled with update.zip packages, roms i didn't even know i downloaded. So i though, hey lets develop an application to manage all my roms and radio's with a quick button to upload a rom or radio to my g1.
Something like this:
Sorry i could not post a link, it's restricted. My account is still blocked for that. Admin??
I wonder if anyone would be interested in such an application? And if you are interested could you come up with suggestions to make it better/ help me debugging (i'm a student, i don't have a lot of spare time).
If anyone is interested i will seriously think about further developing this app,
it's now in pre-pre-alpha stage or so .
Greetings from holland.
Click to expand...
Click to collapse
You may want to partner with the guy who built Droid Explorer. This sounds like a natural extension to that tool (if it's not already baked in). I know you can push things like APKs to the phone from Droid Explorer.
maxawesome said:
You may want to partner with the guy who built Droid Explorer. This sounds like a natural extension to that tool (if it's not already baked in). I know you can push things like APKs to the phone from Droid Explorer.
Click to expand...
Click to collapse
Do we know who it was that created Droid Explorer? I would love to be able to improve upon what he has already done.

[Q] Need Help Making Kifno Tweaks an App

So I'm planning on putting this on the android market and I really don't know much about java. Yes I have a lot of free time to learn it but I'm trying to get this done faster than it takes me to learn the java language (not to say that I'm not going to learn the language any way ). I am looking for a partner/team to help me make it an app on the android market. There will be a free version of the application (for xda users of course) and a paid version so that us as a team can make a profit for all our hard work. I my vision for the app is to make it completely universal for all of android. I have the files and tweaks all set already set so that I can have tweaks for ALL of android OS's because I've been holding on to these for a while waiting to see if I could learn java fast enough to do it alone. The specifics of my vision are to make seperate sections in the UI of the app so that the user can choose a category and apply tweaks according to that category. If you are interested in helping me make this an app for all of android phones then please let me know here or through pm. Also we will be splitting the profits equally. So if there are 5 of us we split it 5 ways, 3 of us split it 3 ways and so on and so on. Also I plan on only charging $0.50 - $1.00 for the app. I don't think that is too bad of a price. Can't wait to get this show on the road because I've been holding back on so much and releasing it with the app (which will be huge as is) will be so much more awesome
Can't wait to get to work with the team.
- Kifno
Dude you could've just hit me up on gtalk! I'll give you all the info and let you gitter done on your own. Nobody should be making anything off the work you put in to this!
my signature is better than yours
Okay we'll chat on gtalk later And once I do get it in apk format and on the market, I'm going to give you a big donation for helping me do this
Lol I don't do donations bro. This is fun. Once you start getting paid for it, it's not fun anymore! The whole idea behind xda (as I understand it) is to share information and have fun with what we do. That's why I've been defending your work since day one. I can tell how much fun you have doing this. I'll help as much as I can bro. Just make sure you come with me to the evo 3d when it drops!
my signature is better than yours
abadasstanker69 said:
Lol I don't do donations bro. This is fun. Once you start getting paid for it, it's not fun anymore! The whole idea behind xda (as I understand it) is to share information and have fun with what we do. That's why I've been defending your work since day one. I can tell how much fun you have doing this. I'll help as much as I can bro. Just make sure you come with me to the evo 3d when it drops!
my signature is better than yours
Click to expand...
Click to collapse
That's a great attitude brother, +1. And,
My MOS is better than yours.....(Scouts Out)
Suck it.....LOL
abadasstanker69 said:
Lol I don't do donations bro. This is fun. Once you start getting paid for it, it's not fun anymore! The whole idea behind xda (as I understand it) is to share information and have fun with what we do. That's why I've been defending your work since day one. I can tell how much fun you have doing this. I'll help as much as I can bro. Just make sure you come with me to the evo 3d when it drops!
my signature is better than yours
Click to expand...
Click to collapse
I was planning on the Epic 4G (mostly because I don't have the funds to get the Evo 3D). But I'll just stay on the HeroC longer until I have enough to get it so that I can be in the same sub-forum as you buddy And time to get started I'll email you right now if you are not online on gmail. And yes I have A LOT of fun developing. I get a huge smile on my face whenever I do something even better for our herocs
kifno said:
So I'm planning on putting this on the android market and I really don't know much about java. Yes I have a lot of free time to learn it but I'm trying to get this done faster than it takes me to learn the java language (not to say that I'm not going to learn the language any way ). I am looking for a partner/team to help me make it an app on the android market. There will be a free version of the application (for xda users of course) and a paid version so that us as a team can make a profit for all our hard work. I my vision for the app is to make it completely universal for all of android. I have the files and tweaks all set already set so that I can have tweaks for ALL of android OS's because I've been holding on to these for a while waiting to see if I could learn java fast enough to do it alone. The specifics of my vision are to make seperate sections in the UI of the app so that the user can choose a category and apply tweaks according to that category. If you are interested in helping me make this an app for all of android phones then please let me know here or through pm. Also we will be splitting the profits equally. So if there are 5 of us we split it 5 ways, 3 of us split it 3 ways and so on and so on. Also I plan on only charging $0.50 - $1.00 for the app. I don't think that is too bad of a price. Can't wait to get this show on the road because I've been holding back on so much and releasing it with the app (which will be huge as is) will be so much more awesome
Can't wait to get to work with the team.
- Kifno
Click to expand...
Click to collapse
Are you going to continue to use my code (and others' code) in your app? I'm only asking because just yesterday, I asked pretty much the same question you just asked today-- we're working on essentially the same project, however, I developed all of my code from scratch. If my battery tweak is going to be used commercially, I'd like to have some say in it-- and I'm pretty much in the same boat you are from a java development perspective. It could be a major coincidence, but it just made the same request in the board and it got me wondering what was up.
collin_ph said:
Are you going to continue to use my code (and others' code) in your app? I'm only asking because just yesterday, I asked pretty much the same question you just asked today-- we're working on essentially the same project, however, I developed all of my code from scratch. If my battery tweak is going to be used commercially, I'd like to have some say in it-- and I'm pretty much in the same boat you are from a java development perspective. It could be a major coincidence, but it just made the same request in the board and it got me wondering what was up.
Click to expand...
Click to collapse
The only code I used from other's was your code that determined the power source ( i have another 2 other methods of finding the power source if you don't want me to use your code). I developed all of my tweaks from scratch too as of i think v1.2 when I kicked out all other's tweaks that I just copied, pasted, and credited them. I wanted this to be my own work (besides the fact that i used your power source detecting code). But if you want you and I could team up on the app if you'd like. I used your power source code to make a setcpu replacement. Only thing is, is that I never studied user interfaces in bash scripting so i don't know how to give the user a choice as to what value they'd like certain profiles to be. I see you know how to do that in your script. I was going to look at how you did it and just remix it for my script but i'm going to come up with my own menu from scratch but this menu will be the app's menu and not a bash script menu and it won't be like yours, this is all kifno . But yeah other than your power source detecting code, which is pretty much the simplest way to find power source I just couldn't see it in root explorer when I didn't have access to a computer with adb shell for a while:
Code:
power=` cat /sys/class/power_source/battery/charging_source `
this is all kifno's work that i spent hours testing the new values and of the tweaks i came up with.
EDIT: also i've been talking about making this into an app for a long time so yeah it is just a coincidence. I just decided that I wouldn't be able to do it alone because I don't have the knowledge to do so alone....right now
EDIT 2: Also if you don't want me to use your power source detecting code I have another simple method of doing so, it just doesn't show usb charging. This is what I will use if you don't want me using your code that you use.
Code:
power_source=` cat /sys/class/power_supply/battery/status `
Then I will just revamp my tweak so that is is optimial for charging and not charging rather than optimal tweaks for usb charging, ac charging, and battery power. So no biggie if you don't want me to use your code because I had many other ways of determing it as well. also if you'd like to team up with me and my team of people who are going to help make my script an app i'd be glad to join forces to make one AWESOME app that will potentially be a MUST HAVE for the heroc. collin_ph batt tweak + kifno tweaks = YOUR HERO HAS JUST GAINED SUPER POWERS!!!!!
kifno said:
The only code I used from other's was your code that determined the power source ( i have another 2 other methods of finding the power source if you don't want me to use your code).
But yeah other than your power source detecting code, which is pretty much the simplest way to find power source I just couldn't see it in root explorer when I didn't have access to a computer with adb shell for a while:
Code:
power=` cat /sys/class/power_source/battery/charging_source `
this is all kifno's work that i spent hours testing the new values and of the tweaks i came up with.
Click to expand...
Click to collapse
You're... you're really serious? You're completely ignoring the fact that you so sloppily copied his code that you ended up leaving his name in the source?
You also copied verbatim the files from [MOD]Custom DNS Servers (etc/ppp/ip-down and etc/ppp/ip-up).
You even copied the etc/init.d/20userinit file from the collin_ph zip. The one that has NOTHING to do with the code you're using. The one that's an OUTDATED copy of the one that already comes with CyanogenMod. Did you realize that by overwriting the one in CM7 with yours, you have effectively REMOVED a feature from CyanogenMod? Between version 6 and 7, this file was updated to support user init scripts both in /sd-ext AND /data. But you wouldn't have included this file if you had ANY idea what it was really doing.
I'm still trying to figure out why you even copied it. There isn't a single thing in your script or collin_ph's script that depends on using it. But it's an obvious indication that you copied more than you would like to admit. And now you say you want to make this into a for-profit app? That's just plain insulting to the nature of XDA.
jasonmaloney said:
You're... you're really serious? You're completely ignoring the fact that you so sloppily copied his code that you ended up leaving his name in the source?
KIFNO: I wasn't trying to hide the fact that I did use his code. What's to hide? I have nothing to lie about.
You also copied verbatim the files from [MOD]Custom DNS Servers (etc/ppp/ip-down and etc/ppp/ip-up).
KIFNO: Those actually don't work lol. I just left them there from when I was using those in my personal v1.5 test builds. Would you like me to show you dated screenshots of all the test builds I have? That doesn't work. But I know another simple method to use custom dns servers on the heroc that will be in the app. So this is again, nothing to hide and actually if you look at the tweak I added my way of using the dns server in the 98kiftweaks file
You even copied the etc/init.d/20userinit file from the collin_ph zip. The one that has NOTHING to do with the code you're using. The one that's an OUTDATED copy of the one that already comes with CyanogenMod. Did you realize that by overwriting the one in CM7 with yours, you have effectively REMOVED a feature from CyanogenMod? Between version 6 and 7, this file was updated to support user init scripts both in /sd-ext AND /data. But you wouldn't have included this file if you had ANY idea what it was really doing.
KIFNO: I do know what I'm doing JM. You just don't THINK I know what I'm doing. And to be honest you do know somethings I don't know at times and I commend you on catching me on my mistakes at times I don't catch them before you do. But "hiding" evidence that I used other's work isn't something I need to be caught on because I tell people when I'm using another's work. So what's to hide when I'm being honest. And again v1.5 stable wasn't cleanly put together. And like I said nothing to hide I said I used some of collin_ph's stuff like a 100x in the kifno script thread if you were reading my post when I was releasing those TERRIBLE versions of v1.3-v1.5 test. So yeah nothing to hide and I know that already JM. Like I said v1.5 stable was sloppily thrown together and I didn't clean it up because I got so excited about releasing my kifCPU which I finally got to work. And that 20userinit file is something that again I knew didn't work/was useless for my script.
I'm still trying to figure out why you even copied it. There isn't a single thing in your script or collin_ph's script that depends on using it. But it's an obvious indication that you copied more than you would like to admit. And now you say you want to make this into a for-profit app? That's just plain insulting to the nature of XDA.
KIFNO: Jason, jason, jason. When I copied it, I never meant to use it When I opened collin_ph's script merged my v1.5 test folders with his folders and deleted what all I didn't need from his script's zip. Or at least I thougth I did because I left the 20userinit file in there. Also I have nothing to hide, in fact I'm typing up a documentation of what all my tweaks do right now! And also when describing something I used that I got from another person (collin_ph's power source bash code line which I posted above which I gave an example of one of my alternatives) I am crediting them and explaining what it does in their script and why I am using it for my script. And okay since using another's power source code is insulting since I want to make this a freeware/for-profit app, I just will go about doing all the things I needed from others (collin_ph's power source) my own way with the many backup methods of getting it done by getting rid of EVERY thing i've bored from other's and using my alternative methods of doing so for a certain tweak I have's purpose. Oh and jason, I have a question, kind of off subject but I've been urging to know, where did you learn java? I know where you learned about android (many documentations of the operating system because I notice you know a lot about what file does what in the system and how files connect to others).
Click to expand...
Click to collapse
Red the bold "kifno" text that is in red inside the quote.
Oh and the kifno method only way of doing things aka v1.6 will be released tomorrow along with the documentation that explains in my opinion/to my knowledge of what my tweaks are doing. And every other version I have that is online (because they contain other's way of doing things that i used for my tweaks purpose) will be deleted from the internet. I dont' want to insult xda. I'm just trying to help our heros be better
But back on topic though I have 1 person that has offered to help me in the process of making this an app. If any other's want to help me that'd be awesome.
And also if you do offer to help me i have a lot of files to send you that has everything i've been holding back from the script that i wanted to wait to release in the app version (so that everyone can really see true awesome-ness/why i love our hero )
and here we go again same **** different day
kifno said:
Red the bold "kifno" text that is in red inside the quote.
Click to expand...
Click to collapse
You just keep changing your story over and over again. You didn't add the line to credit collin_ph until after I pointed out his name in the script. And earlier in this thread, you said all you copied from him was one line of text, but now you say you merged the two together? You're insulting our intelligence.
And then you say the DNS stuff doesn't work and was left in? Just because your copying-and-pasting didn't work doesn't mean you didn't copy it.
Closing thread until I get word from Senior.

[Q] Becoming a dev.

NEWBIE...Im fairly new into the developing world, but I have a solid background in anything computer orrientated. I started with a droid x, rooted it, and have never looked back. I'm taking java classes and learning as much as I can about programming. Any helpfull advice for someone starting a career/lifelong hobby in this feild? Reading a lot of books and blogs, but any other resources would be greatly appreciated.
Thx to all the professional devs out there who make it a fun digital world to cusomize!!!!
http://goo.gl/xB9rK
Lets start by using the search function.
This question gets asked and answered several times per week...
Personally i would skip the books.
I started by an idea in my mind what i wanted my app to do and taught myself through tutorials, stackoverflow, irc and lots of google...
Start something small, maybe an app that plays a single mp3 file.
Now you think, how can i choose different ones -> make a file explorer.
And so on... kinda like reading wikipedia, you start with some topic but end up in another topic far away ;-).
Thats if you want to program apps... there are lots of types of devs.... apps, roms, themes, kernel...
Now don't say you want to learn everything .
Thanks & more
Thanks for being the first to reply! And also for the info. I've done a little programming, vb and java, but am more interested in the rom/kernal side of things. Seen the vid before! Awesome!
I tried searching the site for what I'm looking for but unsuccesfull, figured the best way to get forward in this site, and get specific info, was to post a thread in one of the only places I could. Reread the rules and newbie posts, and figured out the reasons but they dont bother meat all.
Guess I'm looking more of an answer to this question, from everyone who replies:
How did u get to where u are now? (be it app dev, device help, other software dev)
Again thx for the help! P.S. what software do u use to program? And which os is preferred, linux, windows, mac?
I'm learning linux as fast as I can and wouldn't mind help there either if its out there.
Sent from my Xoom. Via whatever the heck I want!
I started with knowledge in C++,C,SystemC and some script languages from university + plus some knowledge about programming in general.
We had to use java in the university but i never properly learned it (just couldnt be bothered). I knew the ideas behind it and some concepts.
I actually only started learning java after i had written the exams (one which was about java but thank god didn't require actual working code in the exam ).
This was winter 2010.
So after i no longer had to learn it, i wanted to learn it and started out pretty basic.
Used google alot tried the basic tutorials, i.e. button doing something and so on.
After that got boring i was looking for an app with an actual purpose.
I made a voice recording app, did some bounty requests, wrote a control app for a modification from another xda member and some other stuff, cba to list it all now .
I use the android sdk + eclipse. Currently on windows 7, but that doesn't really matter. I've got a laptop with linux and a virtual machine with it too. It just that i also play video games for which windows is somewhat required and so i'm programming on it too. But it doesn't really matter. Eclipse and android sdk don't really differ on the OSs.
For compiling kernels, you might need linux, but maybe its possible under windows too... (cygwin)... don't really know ;-)
The thing is, you don't need to read 5 books, have 2 degrees in X to start.
Let's take custom ROMs.
No one actually builds those things from scratch.
90% of them are just other ROMs(custom or stock) that have been modified to some extend.
Download a ROM, unpack it, swap some files, change some scripts/configs, maybe recolor some things, add some extra apps, maybe a different kernel.
Repack it and XING you made a custom ROM.. now just flash it and see if it works, if it doesn't... well try again
Trial&Error...
You will get more knowledge about what you can change and what can be done with the time.
There is a custom ROM tutorial thread somewhere on xda, just search for it.
I'm going to write a little bit on my next app now

Build.Prop Tweak List

Hi, I was wondering if there was a list of HTC One S (Ville) Build.Prop tweaks. I did some searching and saw some lists in other forums, but I wasn't sure if the build.prop was the same for all devices, I guess I'm assuming not as some organizations are totalitarian and such.
In any case, I think we should create a list of build.prop tweaks specifically for the One S that are very effective, saying what the tweak changes and how it effects the device, also what other settings you can give it and what those effects do. Maybe I'm thinking of to much information, but I think a lot of people would be interested in the other information as well.
Maybe I just don't know enough about the build.prop file yet, but if someone could give me any links about more information on it that would be great. Or if anyone has a link to a list already like this that would be great as well. Sorry if I'm being a noob, but I've done quite a bit of searching and haven't found anything yet.
Thanks in advanced for any posts,
Cobra
It doesn't matter which phone, android is android.
But everyone uses other build.prop edit's, there are no original one's..
Thanks for that information.
So if there aren't any original ones, are there possibly ones that work well specifically for the One S? I know the Fast.Dormancy one is supposed to be effective for some carriers. And though, this may be a setting that could be effective for many devices, does it not make sense to maybe start a thread or some sort of page listing all the settings that effect this device in particular in certain ways and which carriers they work effectively on?
I ask these questions because, yes I am a newb and I feel like these things could be helpful to other noobs. it's almost as if I'm trying to learn some sort of ITIL based thing I guess. I guess to me it just seems effective to have a list of things that can help make your device work more effectively. For instance, have one page, say the wiki, linking to different things to help you setup your phone how you want it, and to make it so it will work as effectively as you want it for yourself.
Now I realize that the Wiki currently has things such as how to unlock, root, flash roms, lists of roms, etc. But, it doesn't really say, "Hey, here are a list of things you can do to make your phone more efficient without having to flash a new ROM, and here are ways you can make your own ROM, here are some paths to certain things specific to this phone.
I know the Wiki is new, but I guess what I'm saying is if nobody else is working on this stuff, can someone give me a hand in finding all this information so I can start adding it to the Wiki?

Categories

Resources