Related
I'm using the old Metamorph which as mentioned in another thread, supposedly works for 2.2. (Let me know if I should remove the apk.)
And I'm using an old morph file with a .thm (changes 3 png files).
However, when I apply the theme and reboot, I immediately get constant force closes. I have to pull the battery out and restore my backup.
What am I doing wrong? Attached are my files.
I get the same problem using a theme/morph.
I get certificate authentication errors on AndroidManifest.xml when I debug.
However, if I manually insert the new png's I don't get this problem. I can't explain why.
I can't resign the new framework-res.apk either (well I can brut force sign it but then it fails to install).
Am still looking into this. Although I suspect a morpher/themer will solve it before me.
thats because it simply does not work. The 2.2 hasnt got an odex file in the services.jar. Morphs ARE working but the clock and operator text will remain black as there is NO way to bypass that as of now.
m00moo said:
thats because it simply does not work. The 2.2 hasnt got an odex file in the services.jar. Morphs ARE working but the clock and operator text will remain black as there is NO way to bypass that as of now.
Click to expand...
Click to collapse
We're discussing framework-res.apk though. The attached morph doesn't touch services.jar.
Having said that... services.jar is no longer used (in 2.2) for the text colours, they're all in framework so far as I can tell.
djmcnz said:
We're discussing framework-res.apk though. The attached morph doesn't touch services.jar.
Having said that... services.jar is no longer used (in 2.2) for the text colours, they're all in framework so far as I can tell.
Click to expand...
Click to collapse
this is correct. I have changed only one png inside framework-res.apk, and tried to morph it.
The phone keeps looping...
works fine for me. Make sure that the images you are replacing are there however my thm from my CM506 still works after i converted the thm to xml
m00moo said:
works fine for me. Make sure that the images you are replacing are there however my thm from my CM506 still works after i converted the thm to xml
Click to expand...
Click to collapse
nope... its still not working...
Any ideas?
just changed the stat_sys_data_bluetooth and the phone keeps looping...
Anyone tried making the change via an update.zip?
britoso said:
Anyone tried making the change via an update.zip?
Click to expand...
Click to collapse
I tried but got a not signed error.
Though I don't think it would work anyway because I tried just pushing the framework apk through adb push, and the same result happened (1000x constant force closes).
Had to restore just the same as when using the morph (again, I didn't do anything but replace 3 png files).
The rom needs to be de-odexed........JF is hopefully working for an update for his app to get this done.
Changes will not take if the odex files are present.
http://code.google.com/p/smali/wiki/DeodexInstructions
Anyone have any ideas on how to make it work?
Ive been trying to change my pulldown menu to transparent without any luck! ive tried replacing the status_bar_background.png with one i made via Ninjamorph, and no luck.....i tried unzipping the "systemui.apk" and putting the png file in the drawable-hdpi folder and then zipping the systemui and renaming it to apk, and then replacing the current systemui.apk with the one i did using "RootExplorer", rebooted the phone, fixed permissions,rebooted again and still no change.....im using Eaglesblood 2.3.5 Rom! Please help!
Simer03 said:
Ive been trying to change my pulldown menu to transparent without any luck! ive tried replacing the status_bar_background.png with one i made via Ninjamorph, and no luck.....i tried unzipping the "systemui.apk" and putting the png file in the drawable-hdpi folder and then zipping the systemui and renaming it to apk, and then replacing the current systemui.apk with the one i did using "RootExplorer", rebooted the phone, fixed permissions,rebooted again and still no change.....im using Eaglesblood 2.3.5 Rom! Please help!
Click to expand...
Click to collapse
Use the UOT Kicthen. Much easier method of getting that notification bar modded as u lease.
zimphishmonger said:
Use the UOT Kicthen. Much easier method of getting that notification bar modded as u lease.
Click to expand...
Click to collapse
im a hardcore noob....what is UOT kitchen? oh, and i have a mac!
Edit: Tried the UOT kitchen, did the notification bar the way i wanted, and for some reason, i cant submit it to the kitchen because the button "submit to kitchen" is not able to be pressed! ugh!
Edit: never mind, got it to work....now uploading!
created the zip, tried to flash it, and it said installation aborted........why is this so damn hard (for me)????
Simer03 said:
created the zip, tried to flash it, and it said installation aborted........why is this so damn hard (for me)????
Click to expand...
Click to collapse
try copying the update-binary from a working zip to your "kitchen" file. Install should work
zimphishmonger said:
try copying the update-binary from a working zip to your "kitchen" file. Install should work
Click to expand...
Click to collapse
it didnt work....still aborted.... curse my noobness! :/
If you're on the latest version 1.08 of Eaglesblood for 2.3.5, then just push this SystemUI.apk into /system/app , fix the permissions, and reboot, and it should do the trick.
The reason you were having trouble before is because the stock image is a .9.png...I won't go into the details of that, but a little extra work is needed to make those files work.
This file I've included should work for ya.
mmapcpro said:
If you're on the latest version 1.08 of Eaglesblood for 2.3.5, then just push this SystemUI.apk into /system/app , fix the permissions, and reboot, and it should do the trick.
The reason you were having trouble before is because the stock image is a .9.png...I won't go into the details of that, but a little extra work is needed to make those files work.
This file I've included should work for ya.
Click to expand...
Click to collapse
Still didn't work man....sorry I'm having so much trouble, maybe I'm just unable to do it! Thanks for trying guys and taking the time to try and help :/
Sent from my LG-P999 using XDA Premium App
Ok, so you're on the latest version (1.08) of Eaglesblood for 2.3.5, correct? If you are not 100% sure, you can check in "About Phone" and check on the build.
Using the SystemUI.apk that I uploaded, what is your procedure for getting it into your phone?
Because that file has a transparent status_bar_background.9.png with correct patch handles drawn...not sure why it won't work. I will admit, that I don't have a 2.3.5 nandroid backed up to test. Anyone else?
I think I found the problem. Your rom's SystemUI/res/layout/status_bar_tracking.xml points to shade_bg.png for the background. I made that image transparent for you, and recompiled the apk. I really hope this works for you. I have to admit, I"m feeling rather dumb right now.
Yes I'm on 1.08 and my exact procedure was I downloaded the file on my phone, I went to root explorer to the xda download folder where it was located, I copied it to system/app and overwrote tthe current systemui.apk that was there, at that time, a constant endless force closes occurred so I had to pull my battery and rebooted that way, as it rebooted, the notification bar was gone, I then went to the systemui and changed permissions to where the first column is all checked and the first of the 2nd ccolumn is checked, I then pulled the battery again (cuz of the apn issue without the hard reset) and when it came back, nothing changed, so I fixed permissions via rom manager, to no avail......its frustrating!
Sent from my LG-P999 using XDA Premium App
mmapcpro said:
I think I found the problem. Your rom's SystemUI/res/layout/status_bar_tracking.xml points to shade_bg.png for the background. I made that image transparent for you, and recompiled the apk. I really hope this works for you. I have to admit, I"m feeling rather dumb right now.
Click to expand...
Click to collapse
holy crap it worked.....a million times THANKS!!! You effin rock dude! thanks for taking the time to help me! So to my understanding, u just edited the shade_bg file???? that was it??
Yeh, essentially, all I would have needed to do was edit that shade_bg.png file. But I didn't know to look there until I was forced to try to save face after giving you bad advice, lol. Now I know that some roms will point to status_bar_background.png, some will point to shade_bg, and some even simply define a hex color code...just have to decompile the SystemUI.apk, and look in res/layout/status_bar_tracking.xml to see where it's looking....and then edit that file.
mmapcpro said:
Yeh, essentially, all I would have needed to do was edit that shade_bg.png file. But I didn't know to look there until I was forced to try to save face after giving you bad advice, lol. Now I know that some roms will point to status_bar_background.png, some will point to shade_bg, and some even simply define a hex color code...just have to decompile the SystemUI.apk, and look in res/layout/status_bar_tracking.xml to see where it's looking....and then edit that file.
Click to expand...
Click to collapse
so now that i know it works, i was wondering if i wanted to create one, do i make it 200 x 200 like the current shade_bg file is? i kinda want to make one with a black background with semi transparency! I tried editing the shade_bg file u made, with a program called Gimp, but it didnt work
Can you give me your exact method to doing this? I created an image from gimp, i saved it as shade_bg.png, so basically , i extracted the systemui.apk from root explorer, it put the extracted in my sd card, so i plugged in my phone in my mac, and i took that folder from my sd card, now from here, the extracted file is a zip file, so i double clicked it b/c macs can unzip files easily, so in the folder, i placed my shade_bg file into the appropriate folder.....now this is where i think i mess up, what do u do from here? I "compressed" the systemui folder to make it back into a zip, and then placed it into my sd card, i then "renamed" the file thru my phone from a .zip to a .apk, now in root explorer there is usually an icon that shows up next to the name of the files, now when i changed it, a green android icon showed up, but on the file that you had edited for me, there was a "settings" icon, u know, the standard icon for the settings app in android! i put the apk in the system/app and it didnt work, even after permissions set up! hmmm.....i promise, this will probably be my last post!
please keep in mind, i have a mac, and i do have that 7zip u mentioned in the development thread, but its called EZ7Z.....just in case i need it
If you are doing it the way you described, then you need to find a way to zip with no compression. 7 zip does that with the "store" setting...not sure about the mac version.
You don't wanna know where this was sent from.
mmapcpro said:
If you are doing it the way you described, then you need to find a way to zip with no compression. 7 zip does that with the "store" setting...not sure about the mac version.
You don't wanna know where this was sent from.
Click to expand...
Click to collapse
man, for some reason i just cant get the "settings icon" to appear after renaming the .zip to .apk from root explorer.......im pretty sure thats way too easy, i must be doing it wrong?
my apk file is not right...i tried signing it with an app from the market, tried searching for a fix, and nothing.....ur my only hope man! lol! :/
Simer03 said:
man, for some reason i just cant get the "settings icon" to appear after renaming the .zip to .apk from root explorer.......im pretty sure thats way too easy, i must be doing it wrong?
my apk file is not right...i tried signing it with an app from the market, tried searching for a fix, and nothing.....ur my only hope man! lol! :/
Click to expand...
Click to collapse
anyone know how to convert a .zip to .apk correctly?
I haven't seen this around, so I went ahead and made this for myself, and I decided to share it with anyone who wants it...
I hate the Recent Apps section of the Notification Bar Dropdown... so I removed it.
I wanted the Recent Apps to be removed without having to flash a complete ROM or use some theme.
1. Flash the attached file in CW Recovery
2. Clear Cache and Dalvik Cache
3. Reboot
4. Profit (It will remove the recent apps section)
There are no side-effects that I have noticed.
It was made from the SystemUI.apk from the stock US 2.3.4 Build, and should work on any 2.3.4 build for the Sensation.
There are no other changes in this from stock 2.3.4 besides removing the Recent Apps.
It will work alongside the Battery Mods I made with no issues... One mod does not affect the other.
Let me know if you have any issues.
As always, I'm not responsible if your phone breaks beyond repair and you lose all your data.
Thanks to j4n87 for the smali change required.
Work for me on EagleBlood rom.
It would be helpful.
NoRecents - installed with tiwili - take it, work it, leave it
Hi,
thanks for this mod. As always all actual modifications in existing SystemUI.apk are changed by this installation.
I took both of your modified files in my tiwili-installation method. So all other existing files in SystemUI.apk will rest in peace.
I publish it here because it´s your work, your files; It took 5 minutes for me, that´s nothing to be proud of...
Greets
idephili
So pretty much this needs root?
Sent from my HTC Sensation 4G using XDA App
thevietmonk said:
So pretty much this needs root?
Sent from my HTC Sensation 4G using XDA App
Click to expand...
Click to collapse
Absolutely. You can't push SystemUI.apk to the apps directory without root.
Thanks for this...finally I can remove it...just a small issue...where I am, there is no 4g network yet...however it is now showing 4g icon on the notification bar, anyway I can change it to 3g icon?
Sent from my HTC Sensation Z710e using xda premium
This will also remove the extended quick settings I had installed, flashed the EQS again though, no prob just thought I'd let ya know
Edit: Flashing EQS again, makes the recent apps come back..
ARHD 3.1.1
bigg8k said:
This will also remove the extended quick settings I had installed, flashed the EQS again though, no prob just thought I'd let ya know
Edit: Flashing EQS again, makes the recent apps come back..
ARHD 3.1.1
Click to expand...
Click to collapse
That's because both mods modify the same system file. You can only choose one or the other unless the EQS Dec decides to put this in his mod.
sorry.
No worries, thanks for the effort anyways
This does not work on 3.5 SENSE but thank you for your work
EQS-Mod + Recent App
Hey
What do i do if i want the Recent App, with EQS-Mod ?
thanks...... I'll try this app
If any of you want to do it youself.....
1.Pull Systemui.apk from system/app
2.Decompile SystemUI.apk
3.navigate to com/android/systemui/statusbar
3.open up StatusBarFlag.smali using notepad or notepad++ (recommended)
4.Around line 89 (using notepad++) you should see this:
Code:
sput-boolean v0, Lcom/android/systemui/statusbar/StatusBarFlag;->HTC_RECENT_APP:Z
5. Change v0 to v2.
6. Recompile Systemui.apk and push via adb to system/app or copy to system/app using root explorer.
**NOTE**If using root explorer make sure to set permissions as Owner = Read/Write Group = Read Others = Read. A reboot will be required after pasting SystemUI.apk before you can change persmissions.
7. Reboot and your done!
same outcome for me with p3d had to reflash to get extended settings
I tried this but it appears to remove the entire header bar. That is, there was no pull down bar at all pushing it and rebooting. Any suggestions?
mfrost66 said:
I tried this but it appears to remove the entire header bar. That is, there was no pull down bar at all pushing it and rebooting. Any suggestions?
Click to expand...
Click to collapse
Sounds like you have decompiled SystemUI.apk incorrectly and then not signed it before pushing it. What method did you use for decompiling the APK?
I'm having some trouble with decompiling the SystemUI.apk. I get a bunch of "Invalid config flags detected" error when I try to load the com.htc.resources.apk framework; when I try to recompile I get a handful of other errors (related I'd imagine) and it doesn't recompile. Googled around a bit, found similar problems but no answers - any advice?
jimhart3000 said:
I'm having some trouble with decompiling the SystemUI.apk. I get a bunch of "Invalid config flags detected" error when I try to load the com.htc.resources.apk framework; when I try to recompile I get a handful of other errors (related I'd imagine) and it doesn't recompile. Googled around a bit, found similar problems but no answers - any advice?
Click to expand...
Click to collapse
How are you decompiling the apk...??
Didn't work. Edited what was suppose to be edited and the recent apps still show up....
Is there any in existence? I mean roman's tweaks settings, for adding battery percentage and crt animations for our phone.
Sent from my DoubleShot Lite using Tapatalk
masterkamon842 said:
Is there any in existence? I mean roman's tweaks settings, for adding battery percentage and crt animations for our phone.
Sent from my DoubleShot Lite using Tapatalk
Click to expand...
Click to collapse
have you tried hitting up Blue, since he is the keeper of the ROM that roman started? otherwise, how about pulling the tweaks.apk out of a Bulletproof ROM and putting it into /system/app of your current ROM? i'm not sure if it's that simple or not, but could be worth a try.
yogi2010 said:
have you tried hitting up Blue, since he is the keeper of the ROM that roman started? otherwise, how about pulling the tweaks.apk out of a Bulletproof ROM and putting it into /system/app of your current ROM? i'm not sure if it's that simple or not, but could be worth a try.
Click to expand...
Click to collapse
I tried pushing it to system but it wasn't that easy... Didnt work for me. Ill see if I can get blue's attention. I'll keep this thread posted for future reference.
Sent from my DoubleShot Lite using Tapatalk
masterkamon842 said:
I tried pushing it to system but it wasn't that easy... Didnt work for me. Ill see if I can get blue's attention. I'll keep this thread posted for future reference.
Sent from my DoubleShot Lite using Tapatalk
Click to expand...
Click to collapse
What you can do is use Root Explorer to move it to /system/app while the phone is on, then set the permissions (long press on it, permissions is in the menu that pops up - scroll down) to look like the permissions of every other file in the /app folder.
Edit: to quote myself from explaining how to do it before:
Stop all apps that require market licensure to work, halt the market processes, delete the old vending.apk. Then you have to delete the market data directory at /data/data/com.android.vending and find the dalvik-cache file that belongs to the market ( [email protected]@[email protected] ) and delete that too.
Then you rename the new market .apk file to Vending.apk and use root explorer to copy it into your /system/app directory. Once there, you long-press on the Vending.apk file and select 'permissions' from the menu that pops up.
Change the permissions to read/write for owner, read for group, read for others, and nothing for the bottom 3 check boxes. Now it reads rw-r--r-- like all the other apps in the /system/app directory.
Then you reboot your phone and it should work, but you should clear the whole dalvik-cache in recovery, and you should clear cache in recovery too, so all the dependencies on the market get rebuilt the right way.
Click to expand...
Click to collapse
Then, reboot the phone, and see how much of the app works.
You should be able to get it installed that way, but if not my thread on Replacing the Google Market would be a good place to start learning how to make your own flashable zip file.
Just replace the market with whatever app you can't push to /system/app normally and you should be good.
Some third party apps don't run well or at all from the /system/app partition, they just expect to be in /data/app ... but some will. The one you're playing with works fine from in the /system/app directory.
Might want to look into this thread by Romanbb: Extended Quick Settings as well.
Romanbb's awesome tweaks are worth the work - I couldn't imagine using the device without them now, and am definitely looking at playing with it some. The one thing i'm struck by as a user more then anything else, i'd like to be able to change the order of the quick settings in the actual pull-down menu.
I want flashlight first, full settings second, then i'll figure out the rest of the order as I go, but both volume settings go dead bottom with me.
I haven't had the time to sit down and do it, but that's the next ability i'm interested in acquiring with regards to that. I can't wait to get my phone back so I can start making some progress again.
Meantime, i'll be in and out and others floating around here I know can steer you right if you need it - you lose nothing 'cept time for trying (you did do backups before you started playing around, right?).
Hi, I made Tweak.zip (i extracted tweak.apk from booletproof 1.1) for flash it by CWM, but don't works fine.
After flashed, the app is in /system/app with 0644 permissions, but with no visible changes, where was i wrong?
Can you help me? In attach my file.
antonaq said:
Hi, I made Tweak.zip (i extracted tweak.apk from booletproof 1.1) for flash it by CWM, but don't works fine.
After flashed, the app is in /system/app with 0644 permissions, but with no visible changes, where was i wrong?
Can you help me? In attach my file.
Click to expand...
Click to collapse
The tweaks need coded into the ROM, It's not as simple as just installing the apk, I would think some SystemUI smali needs edited also for any tweaks to Rosie, the Rosie.apk smali files will need an edit, so it knows what to change otherwise your just looking at the possibilities of the tweaks app.
I just did a Rosie remap for my Sense 2.1+3.0 Speedy ROM, and even though the option had always been in MikTweaks I had decompile tweaks to activate the remap option for my ROM ( by default It's turned off for Sense 2.1 ROMS ). Then I had to decompile Rosie and make the smali change. Then compile and resign both apps and i was good.
Sent from my myTouch_4G_Slide using Tapatalk 2
If you are really needing those tweaks, you can use the kitchen to apply most of them.
Compile? Decompile? More difficult for me then... I abadone the idea to realize Tweaks.zip.
Sorry.
Inviato dal mio Bulletproof_Doubleshot con Tapatalk 2
Got the modded Camera.apk from Here. I changed my hardkey Search button to function like a Menu key (my menu hardkey won't work properly). I liked the search key as a snapshot key for the camera but now with me changing 217 "SEARCH" to MENU" it doesn't work.
I downloaded APKTool and decompiled modded .apk. Now the only problem is I can't find where to change the key to take a snapshot with "MENU" pressed. I have been looking through the .smali files and not having any luck. Menu key as far as I have seen has no function in the camera app anyways so this shouldn't be a problem.
Last question I would have (which I could probably search) would be how to take the decompiled .apk and compile it back to .apk.
Is the code for the menu button 217 or is that independent of the button?
Sent from my SCH-I510 using xda premium
Within /system/usr/keylayout/qwerty.kl "key 217 SEARCH" I changed to "key 217 MENU" also I changed /system/usr/keylayout/s3c-keypad.kl "key 217 SEARCH" to "key 217 MENU".
That is how I got Search button to open Menu.
I'll take a look for you. It probably won't take too long.
Yeah it should just be changing the key event code from the search key to the menu key in a few places.
dwitherell said:
Yeah it should just be changing the key event code from the search key to the menu key in a few places.
Click to expand...
Click to collapse
The problem for me is I can't find those few places. lol Searching through all these .smali files I think I'm gonna need my search button back lol.
Edit: I opened all of the files in NotePad++ and did a search for "search" and found several items but I don't know what to change or leave.
I think what I need to change is in AbstractCameraActivity.smali
Enlightened_Rogue said:
The problem for me is I can't find those few places. lol Searching through all these .smali files I think I'm gonna need my search button back lol.
Click to expand...
Click to collapse
I'm sure substanceD will get it for ya, but camera.smali and camcorder.smali are 2 at least. It'll be in the onkeyup and onkeydown event methods (just looked at this, but memory is a bit sketchy...)
dwitherell said:
I'm sure substanceD will get it for ya
Click to expand...
Click to collapse
As you see I don't mind doing the leg work, I'm not one of these beggers out there that just want someone to build a app just for me. Thanks for giving me some pointers. I'm just trying to learn as I go. New to modding phones (trying to get better).
Enlightened_Rogue said:
As you see I don't mind doing the leg work, I'm not one of these beggers out there that just want someone to build a app just for me. Thanks for giving me some pointers. I'm just trying to learn as I go. New to modding phones (trying to get better).
Click to expand...
Click to collapse
All right, let's see if I can be helpful without doing the work for you. The Android key codes are published here: http://developer.android.com/reference/android/view/KeyEvent.html. The smali files have the hex values for these key events without the extraneous zeros. For example, you'll notice that KEYCODE_POWER is sprinkled throughout the code as 0x1a. Try to find a block of code that refers to the common keys (power, search, menu, etc.) and see how it delegates them.
OK I replaced 0x54(Search) with 0x52(Menu) [14 instances] and then Compiled with APKTool. Moved Camera.apk to /system/app/ and now phone doesn't recognize Camera.apk. I restarted, tryed setting permissions to rw-r--r-- then restarting as well and still not being recognized.
Edit: Noticed when I moved your modded the permissions where rwxrwxrw- and it still showed up without restarting.
Enlightened_Rogue said:
OK I replaced 0x54(Search) with 0x52(Menu) [14 instances] and then Compiled with APKTool. Moved Camera.apk to /system/app/ and now phone doesn't recognize Camera.apk. I restarted, tryed setting permissions to rw-r--r-- then restarting as well and still not being recognized.
Edit: Noticed when I moved your modded the permissions where rwxrwxrw- and it still showed up without restarting.
Click to expand...
Click to collapse
Did you sign it (don't)? Also, there are some sound files in /res/raw that need to stay UNcompressed for things to work properly.
All I did to compile was from Here.
Code:
apktool b <directory of decoded apk>
Never compiled any apk before. How do you not sign it and not compress some of the resource files?
Edit: Just seen this at the bottem, but I'm using APKTool 1.4.3
idroid84 said:
Issues;
I noticed that while the new version 1.2 works great on the framework-res.apk file, it seems to have issues with other System/app files like Settings.apk,Phone.apk, etc. For these files use version 1.1.1.
Click to expand...
Click to collapse
Enlightened_Rogue said:
All I did to compile was from Here.
Code:
apktool b <directory of decoded apk>
Never compiled any apk before. How do you not sign it and not compress some of the resource files?
Edit: Just seen this at the bottem, but I'm using APKTool 1.4.3
Click to expand...
Click to collapse
Well the first part shouldn't be an issue I don't think. For the second - an apk is similar to a zip file. I would use something like jzip or winrar to extract out those sound files, delete them from the apk, then drop them back in using store or storage (i.e. no) compression. Though I am doubtful not doing this would cause the phone to not recognize the apk to be honest.
I opened the Original Modded .apk with 7zip moved the res files over just playing around waiting for a response and still no luck. Also I noticed while doing that the Modded on had a META-INF folder which I moved over to my Mod and after all that moved to phone /system/app and restarted phone still no Camera in App Drawer.
Original Mod I decompile: Camera 5-14-12
My Decomipled and editied:Camera - Menu Button
I was messing around with my phone and decided to install PBJ Kernel 0524. After installing that now Root Manager won't allow Mount R/W so now I can't change system files. I guess I'm stuck with what I got for now.
Edit: Complete noob moment... Went into CWM -> Mounted System -> Installed SU again. Now works. Back to working on Camera
Enlightened_Rogue said:
I was messing around with my phone and decided to install PBJ Kernel 0524. After installing that now Root Manager won't allow Mount R/W so now I can't change system files. I guess I'm stuck with what I got for now.
Edit: Complete noob moment... Went into CWM -> Mounted System -> Installed SU again. Now works. Back to working on Camera
Click to expand...
Click to collapse
Yeah the lost root is just a permissions thing - a number of ways to fix it, and installing su is definitely one of them. Glad you got that figured out.
I looked into this more - you changed too many 0x54s... not all of those were relevant to what you wanted (only 6 were). On top of that, only two of them were changing 0x54 to 0x52 (CamcorderRecordingMenu.smali) - the other 4 (2 in Camcorder.smali and 2 in Camera.smali) were simply changing the :sswitch_ value associated w/ 0x52 to that associated w/ 0x54.
Anyhoo - end result should now be power, menu, and search take pics/start video. Here's the apk - just rename to Camera.apk and push. If it doesnt show up right away and a reboot doesnt fix it, you could try to push in recovery, or dump it in a cwm-flashable zip and flash it. Hope it works for ya!
Thank you. I figured I probably changed too many. I just opened notepad++ and find/replaced in files. I was looking through but was having a difficult time tracing what was needed and was not. How did you compile just like I posted earlier? And how did you get META-INF and not compressing resources?
Enlightened_Rogue said:
Thank you. I figured I probably changed too many. I just opened notepad++ and find/replaced in files. I was looking through but was having a difficult time tracing what was needed and was not. How did you compile just like I posted earlier? And how did you get META-INF and not compressing resources?
Click to expand...
Click to collapse
I was lazy and used one of the gui-ized apktool approaches (apkmultitool). It took care of keeping things in order. After recompiling, I opened the apk in jzip, pulled out the oggs in /res/raw, deleted them from the apk, then put them back in and set compression to store. It should be noted that you could go about things without dealing with any of this - just pull out the classes.dex from the apk, use baksmali to decompile and smali to recompile, and place new classes.dex into the apk.
I take it the apk worked for you then?
Yes it worked perfectly! Thank you. Instead of just getting what I want then not saying anything I was decompiling yours and seeing what needed to be changed. Hopefully soon I will be able to to much much more. Just a little time devotion patients and people like you to help. Thank you so much!