Guest Frankish Posted January 7, 2011 Report Posted January 7, 2011 Frankish, any chance of giving me some tuition on how to modify jar files? I'd love to get into doing this kinda stuff myself. I'm going to be totally honest with you. I'm new to all this stuff so not very good at it. If you click the last link in my signature i wrote a guide on themeing and there is section 2x. which details how to decompile the classes.dex of the android.policy.jar. However it applies to decompiling the classes.dex in any .jar file. The actual smali code is a whole different thing to understand. I can't get my head around it!
Guest cobhc Posted January 7, 2011 Report Posted January 7, 2011 I shall have to have a look into that. Thanks man, I just like the idea of being able to have a go at this myself haha.
Guest Frankish Posted January 7, 2011 Report Posted January 7, 2011 I shall have to have a look into that. Thanks man, I just like the idea of being able to have a go at this myself haha. Yeah it's worth a go. I waste a lot of hours just reading. Looking at getting a bigger box for the Reboot option...it seems i'd need the action text underneath just wondering if i can figure out how to make it a blank value...
Guest oh!dougal Posted January 7, 2011 Report Posted January 7, 2011 ...it seems i'd need the action text underneath just wondering if i can figure out how to make it a blank value... Try a space or two. Or a non-breaking space ... ?
Guest cobhc Posted January 7, 2011 Report Posted January 7, 2011 (edited) What do I need to use to edit smali files once I've decompiled the classes.dex? Edit:- Realized wordpad will do lol. Edited January 7, 2011 by cobhc
Guest cobhc Posted January 7, 2011 Report Posted January 7, 2011 Been looking at some of the guides for adding reboot to the power menu and one mentions increasing the array length from const/4 v9, 0x4 to const/4 v9, 0x5 in the createDialog method in GlobalActions.smali, could that be anything to do with it?
Guest Frankish Posted January 7, 2011 Report Posted January 7, 2011 No that's how many lines are in the power menu. You increase it to add an entry as far as iv learnt. Maybe useful in adding a blank entry to separate power and reboot.
Guest cobhc Posted January 7, 2011 Report Posted January 7, 2011 No that's how many lines are in the power menu. You increase it to add an entry as far as iv learnt. Maybe useful in adding a blank entry to separate power and reboot. Ahh, I see. What guide did you work from to add the reboot option anyway, or did you figure it out yourself?
Guest popoyaya Posted January 7, 2011 Report Posted January 7, 2011 There are apps on the market which allow you to reboot from an icon on your homescreen. Much better than using this "mod" and wearing out the somewhat fragile power button on the SF.
Guest jt_mcg Posted January 8, 2011 Report Posted January 8, 2011 Yeah it's worth a go. I waste a lot of hours just reading. Looking at getting a bigger box for the Reboot option...it seems i'd need the action text underneath just wondering if i can figure out how to make it a blank value... Can you specify a class to match the text colour on a specific class/value to the background colour.
Guest Hpman48 Posted January 8, 2011 Report Posted January 8, 2011 Additional menu item is one thing but is there a way to select the menu items with on of the Blade HW Buttons. It could be a worksround for the lockscreen issue as long as there is no other fix. Much easier instead removing battery Thanks Hpman
Guest cobhc Posted January 10, 2011 Report Posted January 10, 2011 Hey Frank, any update on the larger boxes for both the reboot and power options?
Guest Junior Bear Posted January 10, 2011 Report Posted January 10, 2011 how come my blade never says 'H' as the connectin status
Guest That-Guy Posted January 16, 2011 Report Posted January 16, 2011 So does this Reboot the phone correctly? or does it just kill the power and restart it? Want to try this but not wanting to cause and problems to the phone ;)
Guest Nuuna Posted February 7, 2011 Report Posted February 7, 2011 i like Frankish work! Respect to you!
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now