Guest 90180360 Posted February 10, 2011 Report Posted February 10, 2011 I'm thinking of a small application which can do the following things: - Enable / disable HW acc in build.prop - Change the dalvik-vm value - Enable / disable stagefright in build.prop along with a toggle for the http fix on and off (fixes green bar in H.264 video) - wpa_supplicant scan changer - lcd density change - Apps2SD partition info (total size, amount free, amount used, partition type eg EXT2/3/4) - Option to toggle the Froyo Apps2fat to force apps to install to /data, /sd or automatic (default). Would be useful for resized partition users - Option to change the status bar text colour (similar to 0x90 mod) Great ideas! All those changes would still need a reboot, right? Am I right that this app wouldn't change anything Blade-specific and could therefore be written to run on any rooted android phone?
Guest Simon O Posted February 10, 2011 Report Posted February 10, 2011 Great ideas! All those changes would still need a reboot, right? Am I right that this app wouldn't change anything Blade-specific and could therefore be written to run on any rooted android phone? Yep, reboot needed and the app should be fine for any phone.
Guest 90180360 Posted February 10, 2011 Report Posted February 10, 2011 and do it opensource, please! :P I'd rather pay 2$ and have a properly maintained app.
Guest Stuart_f Posted February 11, 2011 Report Posted February 11, 2011 I'd rather pay 2$ and have a properly maintained app. Windows Phone is that way >>>>>>>>>>>>>>>>>>
Guest isambard Posted February 11, 2011 Report Posted February 11, 2011 OK. I'll start to work on it on Sunday.
Guest oh!dougal Posted February 11, 2011 Report Posted February 11, 2011 (edited) OK. I'll start to work on it on Sunday. Its just a suggestion, but perhaps a good starting point would be a demo 'do very little' app that used a "Setting" of its own (calling Android's settings user interface stuff - android.preference). Then stick code for the proper on/off stuff behind the interface instead of the demo's setting change ... Here's something I found ... http://www.kaloer.com/android-preferences Edited February 11, 2011 by oh!dougal
Guest ztedd Posted February 12, 2011 Report Posted February 12, 2011 I'd rather pay 2$ and have a properly maintained app. I would also donate. Opensource is still important: - the app will access root files, so it's a security issue if the source isn't open - if the first editor loses interest or time, it can be further developed by others In our community, open source is good standard and should be.
Guest 90180360 Posted February 18, 2011 Report Posted February 18, 2011 OK. I'll start to work on it on Sunday. Any progress? :D
Guest isambard Posted February 18, 2011 Report Posted February 18, 2011 Any progress? :D actually, i couldn't start last sunday as i only got my blade back today. but i will start the work tonight as i'm a sad loser with no life. :D
Guest IronDoc Posted February 18, 2011 Report Posted February 18, 2011 actually, i couldn't start last sunday as i only got my blade back today. but i will start the work tonight as i'm a sad loser with no life. :D And we're very thankful for that fact :D
Guest isambard Posted February 18, 2011 Report Posted February 18, 2011 And we're very thankful for that fact :D OK. I finished my first app, so now I'm ready to start on this. If anyone wants to test the Paypal donate feature of my first app, I would be much obliged! :D http://android.modaco.com/content/zte-blad...ork-unlock-app/
Guest isambard Posted February 19, 2011 Report Posted February 19, 2011 (edited) Any progress? :D Quick update. I'm about a third of the way through writing this now. The app can now get root and read and parse the build.prop file. Still to be done: - deal with missing items in build.prop - deal with doubled items in build.prop - write code to re-mount system as rw and back - finish writing the UI EDIT: if someone can point me to a suitable icon (free of copyright etc.) that I can use, then this will also save me some time from having to find one or draw my own. Edited February 19, 2011 by isambard
Guest isambard Posted February 20, 2011 Report Posted February 20, 2011 started on the UI. currently a debug view: the icons will be replaced by checkboxes. time for bed, i guess...
Guest oh!dougal Posted February 20, 2011 Report Posted February 20, 2011 I hope you found the link I posted earlier with example code to be helpful ... http://www.kaloer.com/android-preferences
Guest isambard Posted February 21, 2011 Report Posted February 21, 2011 I hope you found the link I posted earlier with example code to be helpful ... http://www.kaloer.com/android-preferences Thanks. I'll take a look at this for future applications, but I actually started writing the app based on the slightly more complex list view.
Guest handyandy Posted February 21, 2011 Report Posted February 21, 2011 Cyanogenmod roms have CM Settings. Some other roms have similar setting apps. So why don't we have one too? I'm thinking of a small application which can do the following things: - Enable / disable HW acc in build.prop - Change the dalvik-vm value - Enable / disable stagefright in build.prop along with a toggle for the http fix on and off (fixes green bar in H.264 video) - wpa_supplicant scan changer - lcd density change - Apps2SD partition info (total size, amount free, amount used, partition type eg EXT2/3/4) - Option to toggle the Froyo Apps2fat to force apps to install to /data, /sd or automatic (default). Would be useful for resized partition users - Option to change the status bar text colour (similar to 0x90 mod) Now I have to be honest and say I have no idea how to code an Android application so sadly I can't produce this. But what do people generally think? All these options can be done without any system patches apart from the status bar mod which will need a modified services.jar Anything fancy the challenge of making this? Hey there, first of all, trully appreciated for all your efforts! I like the idea of having this CM app, it would be even better if we could have the option of swithing on/ off battery info to desplay within the little battery icon at the top bar :D I find it a great help when you don't have to install another 3rd party app. Thx again!
Guest IronDoc Posted February 21, 2011 Report Posted February 21, 2011 @isambard: Just out of interest, how are you handling it when lines are not in build.prop? Is the default specified anywhere or is it just a matter of which version of android is in use?
Guest isambard Posted February 21, 2011 Report Posted February 21, 2011 @isambard: Just out of interest, how are you handling it when lines are not in build.prop? Is the default specified anywhere or is it just a matter of which version of android is in use? not sure yet, but probably will either leave the lines out unless the user chooses to provide a value to be written.
Guest isambard Posted February 22, 2011 Report Posted February 22, 2011 happy to report the main issues are now resolved. the app can now set preferences for all the true/false settings. i'm now doing the ones with numerical choices.
Guest isambard Posted February 22, 2011 Report Posted February 22, 2011 - wpa_supplicant scan changer - Apps2SD partition info (total size, amount free, amount used, partition type eg EXT2/3/4) - Option to toggle the Froyo Apps2fat to force apps to install to /data, /sd or automatic (default). Would be useful for resized partition users - Option to change the status bar text colour (similar to 0x90 mod) you'll have to let me know which of these options are build.prop related or if not, where they are set. thanks.
Guest wbaw Posted February 22, 2011 Report Posted February 22, 2011 (edited) you'll have to let me know which of these options are build.prop related or if not, where they are set. thanks. The wifi scan interval is... wifi.supplicant_scan_interval=3 Where 3 is a number in seconds, it controls how often the phone scans for new access points & wifi reconnection time. I think 3 is the (sensible) minimum & 180 is the max, it can also be removed to use the default value (who knows what that is?). The a2sd things are going to be rom dependent I think. You could get the partition sizes from 'df' or something, changing them is going to be harder. The black status bar thing looks too hard to do, to me. A couple of other feature suggestions ... Disable boot animation by setting this option in build.prop ... debug.sf.nobootanimation=1 Re-enable it by removing the line or setting to 0. Also, a partition editor would be fantastic, need to hexedit some values in /sdcard/image/appsboot.mbn & /sdcard/image/partition_zte.mbn also need to check the integrity of partition.mbn & appsboothd.mbn warn if there are any other .mbn files present & check for the existence of boot.img, system.img & userdata.img then reboot into tpt mode, if possible. That might need to be a whole new app. If it could download all the needed files & perform a nandroid backup first, putting the backup files in the /image directory, and verify the md5sum of everything, it'd be even better. Edited February 22, 2011 by wbaw
Guest isambard Posted February 22, 2011 Report Posted February 22, 2011 The wifi scan interval is... wifi.supplicant_scan_interval=3 Where 3 is a number in seconds, it controls how often the phone scans for new access points & wifi reconnection time. I think 3 is the (sensible) minimum & 180 is the max, it can also be removed to use the default value (who knows what that is?). The a2sd things are going to be rom dependent I think. You could get the partition sizes from 'df' or something, changing them is going to be harder. The black status bar thing looks too hard to do, to me. A couple of other feature suggestions ... Disable boot animation by setting this option in build.prop ... debug.sf.nobootanimation=1 Re-enable it by removing the line or setting to 0. Also, a partition editor would be fantastic, need to hexedit some values in /sdcard/image/appsboot.mbn & /sdcard/image/partition_zte.mbn also need to check the integrity of partition.mbn & appsboothd.mbn warn if there are any other .mbn files present & check for the existence of boot.img, system.img & userdata.img then reboot into tpt mode, if possible. That might need to be a whole new app. If it could download all the needed files & perform a nandroid backup first, putting the backup files in the /image directory, and verify the md5sum of everything, it'd be even better. thanks for the suggestions. i'll add the bootanimation and wifi ones. re: the partition editor. this is something i was thinking of doing as a separate app, but since i have no reliably working blade, i don't have much motivation to write this right now.
Guest 90180360 Posted February 22, 2011 Report Posted February 22, 2011 Someone get this man a phone!!
Guest wbaw Posted February 22, 2011 Report Posted February 22, 2011 Another thing, you should be able to set the build.prop options without rebooting, if your app has root, by using a setprop command, you might still need to edit the file too
Guest isambard Posted February 22, 2011 Report Posted February 22, 2011 Another thing, you should be able to set the build.prop options without rebooting, if your app has root, by using a setprop command, you might still need to edit the file too hi. obviously editing build.prop will give persistent changes, but applying the options via setprop could be interesting - though it isn't clear whether settings would take effect without a reboot.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now