[Q] I need a stock Verizon 4.08.605.2 build.prop? - Droid Incredible Q&A, Help & Troubleshooting

I have a rooted Verizon 4.08.605.2 Incredible. I tried to modify the build.prop to avoid the daily OTA messages (I didn't hear anything good about the new version plus it wasn't installing). I used ES File Explorer to change the version, saved it and voila the file was empty. I really thought it would be that easy and so I didn't bother to make a backup. I found a stock build.prop online and downloaded a build.prop editor. But I'm not sure if it's good build.prop because it has version 4.0.3. I'm now afraid to reboot this phone and possibly brick it.
If someone could post a stock 4.08.605.2 build.prop for the Verizon Incredible that would be awesome.

Grab a stock ROM from dinc.does-it.net and extract it from there.

Thanks, I'm probably good now. I haven't tried rebooting, but I'll follow up.
For anyone who cares:
I downloaded Stock_inc_4.08.605.15_odexed.zip. I extracted the build.prop file to my Windows desktop and renamed it to have a .txt extension. I emailed it to the phone. On the phone I opened the .txt file and copied the contents. I opened the buildprop editor app and went into write mode and pasted in the new contents. They appeared to show up as build properties in another screen of the BuildProp editor so it looks good to me. The real test will be when this phone ends up rebooting.

Related

[Q] apk images

Trying to edit some of the images of the yahoo mail app. The previous version I pulled the images I wanted to change from the apk, edited them (just changed the color) and pushed them back into the apk. Put the apk on my phone and installed it...no problems. Now yahoo released a newer verison of its mail app and I go to do the same thing. I used the 10 images I edited from the previous version and put them into the new version since the unedited ones in the new version were the same file names as the ones I edited. I pushed my edited images to the new version and sent the apk to my phone. But it won't install. I have tried everything I can find (or Google) and still the apk will not install. Attached are my two versions. The old version which has the edited images and works perfect, and the newer version that has the edited images and does not want to work. The zip file has the images I edited. Anyone want to tell me what I'm doing wrong?
Put it in system/app
Sent from my Samsung Legendary 4G, a Universe UTES phone, running "two.three.five"
Pushed to system/app, tried to open app and it gives an FC. I tried redownloading from market, backing up, copying and editing the backup and repushing to system/app (after uninstalling the untouched version) but still gives FC. I know its something with the edited images since the newer untouched version installs fine with no problems.
Did you sign the files?
Make sure there weren't any .9.pngs that you edited also. Those are special.
No I did not sign the apk. I was told before that you don't need to resign an apk, just check the "unknown sources" checkbox in the application menu under settings. But quite a few of these do have .9.PNG in the filename. I looked up DrawPatch9 images and am confused about what they are and how to modify a png into one. I am surprised the modded images will work in 1.3.6 and not 1.3.7.
So I googled and D/L'ed a signing tool, signed the apk (or at least the program told me it was signed) and tried to install on my phone with no success. I tried pushing it manually again and it gave an FC when I try to run it. Most likely the .9.PNG's are the problem. Anyone recommend a site/program to use to fix the .9.PNG's?

7-zip cant modify files

I am looking to modify my phone.apk to change the color of a few buttons and the android guy that shows up when in a call. I have done this in the past and it seemed like then it was as simple as deleting the files in 7-zip and replacing with the file I wanted. Am I missing something or is it not that simple. Every time I try to move a file or delete it its says "not Implimented" or un supported compression method. I know how to push and pull files through adb so if I could just get the .png images where I want them then I would be all set. I have looked everywhere but cant seem to come up with a solution.
Thanks Jason
PS. the files are from another rom I am simply trying to use them in my current rom so the .png file should not be corrupt or broken.
You can't edit apk's with any zip extractors
Sent from my Incredible using xda premium
Albinoman said:
You can't edit apk's with any zip extractors
Sent from my Incredible using xda premium
Click to expand...
Click to collapse
Not true, regular image files can (should) be able to be draged out, edited, and droped back in an apk using 7-zip.
nighthawklude99 said:
I am looking to modify my phone.apk to change the color of a few buttons and the android guy that shows up when in a call. I have done this in the past and it seemed like then it was as simple as deleting the files in 7-zip and replacing with the file I wanted. Am I missing something or is it not that simple. Every time I try to move a file or delete it its says "not Implimented" or un supported compression method. I know how to push and pull files through adb so if I could just get the .png images where I want them then I would be all set. I have looked everywhere but cant seem to come up with a solution.
Thanks Jason
PS. the files are from another rom I am simply trying to use them in my current rom so the .png file should not be corrupt or broken.
Click to expand...
Click to collapse
My guess would be that the apk was decompiled at some point before, but not recompiled right, or with the right program. Which phone.apk are you having issues with, the one on your phone or the one your pulling the pngs from?
I am having problems with the phone.apk I pull from my phone with adb, with the phone.apk that is in the original rom, and the phone.apk that is in a nanadroid back up. The rom I am running is anthem 3.3. I am starting to think that there is a problem with 7-zip on my computer. Is there a setting I need to change? I have even ran 7-zip as administrator to see if that helped.
nighthawklude99 said:
I am having problems with the phone.apk I pull from my phone with adb, with the phone.apk that is in the original rom, and the phone.apk that is in a nanadroid back up. The rom I am running is anthem 3.3. I am starting to think that there is a problem with 7-zip on my computer. Is there a setting I need to change? I have even ran 7-zip as administrator to see if that helped.
Click to expand...
Click to collapse
Sounds like your install of 7z may be messed up. I just tried it to make sure something didnt change in an update and it works fine for me still with default configuration.

[Q] Modify "updater-script"

Does anyone know how to modify the "updater-script" that is within the following file path: cm-10-20120818-NIGHTLY-d2spr.zip\META-INF\com\google\android
I just want to modify one line within the updater-zip. I tried using notepad plus by copying the "updater-zip", modifying the line I wanted to and then copying and pasting back into the CM-10 update zip (in the above mentioned file path), but I get errors. I think its an issue with file "signing" or the fact the original update-script is packed "compressed", and when I edit it, it compress's the file.
The reason I am doing this is I want to be able to dual boot my stock rom and the C10 nightlies. The current procdure allows for CM9 only but in the link below a developer found a work around where he calls for updating the script - he does not explain how to do so (I am new to to this). See link below to see what I mean:
http://forum.xda-developers.com/showpost.php?p=28906564&postcount=49
Is there an easy fix for this? Can this be done on the phone. I want to avoid having to deal with "apk signing" etc. Thanks!
i imagine ur errors are when you install?
Try mine https://dl.dropbox.com/s/6gzr055iyb1v6hp/updater-script?dl=1 you probly just got a typo somewhere. Make sure u delete .txt from my attachment as it will probly be added when you DL it. Same goes for the one ur editing. Notepad adds .txt. make sure ur deleting the extension. Mine worked perfect so if it doesn't post the error u get in recovery.
and this can be done on the phone I use root explorer but u have to unzip, edit then rezip the entire cm10 file. Easier to hit the PC and use 7zip or even windows explorer.
billard412 said:
Try mine https://dl.dropbox.com/s/6gzr055iyb1v6hp/updater-script?dl=1 you probly just got a typo somewhere. Make sure u delete .txt from my attachment as it will probly be added when you DL it. Same goes for the one ur editing. Notepad adds .txt. make sure ur deleting the extension. Mine worked perfect so if it doesn't post the error u get in recovery.
and this can be done on the phone I use root explorer but u have to unzip, edit then rezip the entire cm10 file. Easier to hit the PC and use 7zip or even windows explorer.
Click to expand...
Click to collapse
This worked perfectly Billiard. I can now dual boot CM 10 and also revert back to my normal TW rom with a simple reboot. Thanks again !

[Q] framework decompile help.

Not sure if this is the right spot or should actually go in development or here since I got lectured for putting it in development the last time.
But what I am trying to do is decompile the framework file from the stock rom and change a xml and recompile so as to bypass the tetheringprovison call.
The last time I did this on the HTC One S I ran into the trouble that the recompiled verision didn't work and ended up just opening the recompiled apk as a zip pulling the xml and replacing it in the original apk and load that.
That seemed to do the trick on that phone.
I think the problem is with compression as the output apk I get after recompiling is never even close to the original size.
I am having the same issue when it comes to the file for the gs3.
So far I haven't tested a recompiled one yet since I haven't rooted yet but just working on the file.
That is a job for a little later on my days off where I don't need my phone.
But with this one the file I am looking for once it is decompiled shows in res/values/arrays.xml for this one. How ever if I open either the source file or the recompiled when I don't see those values folders anywhere inside.
I am not sure if they are just hidden in something else or where the other files are.
I am using the newest verision of apk multi tool to recompiling and decompiling with compression values tested at 1 and 0.
both the framework-res.apk and twframework files are loaded into it as well as dependencies.
Any ideas on the best way of changing out this one file?
Or if anyone can recompile one with the following arrays.xml file instead that I have attached.
When it is decompiled it does show the right folder string "\res\values" and the array.xml inside I have just made a change to the xml that would not check the tethering provision on the device to allow the built in tether to work again. and a recompiled verision with that file will bypass any tethering check
any help would be greatly appreciated.
*edited* to include the arrays xml
Anything found in the "values" directory are not going to be visible inside the apk they are files used to build the actual apk that tells the other XML and other files where things are. Compression won't break an apk. What exact file are you editing? Also you are going to have to root if you want to put the modded file back on the device..
Sent from my SGH-T999 using Tapatalk 2
Yeah will be rooton on day off so i dont have to worry about it too much.
But with the arrays file that has a call in it to consult a different program before starting tethering.
I have changed that file so it dont check anymore.
This worked on it before with it just unlocked and a different apn update came and dont work anymore.
I am just confused that why it recompiled before for the one and wouldnt work right.
Based on what i read should be no problem as long as both frameworks are installed to the apk multitool
M9x3mos said:
Yeah will be rooton on day off so i dont have to worry about it too much.
But with the arrays file that has a call in it to consult a different program before starting tethering.
I have changed that file so it dont check anymore.
This worked on it before with it just unlocked and a different apn update came and dont work anymore.
I am just confused that why it recompiled before for the one and wouldnt work right.
Based on what i read should be no problem as long as both frameworks are installed to the apk multitool
Click to expand...
Click to collapse
I decompile framework-res.apk all the time with no issues. What is the exact issue you're having?
Sent from my SGH-T999 using Tapatalk 2
Just that when I decompile the framework-res.apk replace one xml file and recompile it using the multitool (am using the system apk with dependancies and linking the twframework) and then try and load it on the phone it seems to cause it to crash.
M9x3mos said:
Just that when I decompile the framework-res.apk replace one xml file and recompile it using the multitool (am using the system apk with dependancies and linking the twframework) and then try and load it on the phone it seems to cause it to crash.
Click to expand...
Click to collapse
You cannot replace XML files with other XML files. You have to open the XML in notepad++ and edit the actual lines of code then recompile. And I thought you weren't rooted so how are you able to push the app back to the device? Also, are you setting correct permissions for the newly compiled apk?
Sent from my SGH-T999 using Tapatalk 2
Yeah sorry for the late reply.
I am still tinkering with it. I wanted to root just till I had a day off that it wouldn't kill me to have the phone down for a little.
I will be rooting it in the next day or two since I am off.
After recompiling the APK and pulling the XML out of that one and putting in the original was the only way I could get the change to take on the One S.
When I was testing then, and will try the same procedure with the GS3, is after recompiling it with the tool I would put on sd card then using twrp copy to the phone and chmod 644
Out of curiosity what would be the DD command for backing up the recovery to the sd card?
I am having trouble finding that.
I would like to have that to flash back on the phone as I am planning to try this again from within twrp and see what happens.
From my understanding for triangle away to work you need to be on stock recovery right?
Ok
Now I have a new problem I have stumbled upon.
I have modded the file but when I try and push it with ADB from the pc even after system mounted it tells me that permission is denied.
Any ideas why that is happening?
Tried copying over with root explorer and that froze during copy and then resulted I'm a boot loop.
Not sure if that was because of the method or a problem with the file I made.
When decompiling does that need to be done with the twframework dependence or just simple decompile?
Also then after switching the arrays.xml I can just recompile with no compression or do I have to do something with keeping files.
Since the arrays is in something else I'm not sure what it shouldn't keep.
Any ideas would be greatly appreciated.
And I can't find if should either be zipaligned or signed. Some articles say signed some say don't sign system apks
Holy crap... youre allllllllllll over the place one bite at a time.. Quick answers first:
You do not need to backup your recovery. It is flashable via Odin and is much safer to flash via odin then it is using DD. With DD, you could flash the wrong partition by a simple slip of a keystroke. IE you typed '9' instead of '0'
Secondly: You got that 'freeze' issue using Root Explorer because framework-res.apk is constantly in use by the system. The BEST way to apply any system file is by creating a flashable zip file then applying it through recovery.
Thirdly: You do NOT need stock recovery to use Triangle Away, ive used it twice now with CWM as my recovery.
About your issues with decompiling recompiling.. I dont think its necessary to install the twframework... i dont recall if i had to when i was on Frosty, but doing "java -jar apktool.jar if <twframework here>" wouldnt hurt.
Also what exactly are you trying to modify?
Yeah Sorry about that
was just as I was reading other things and playing with it I kept coming across other questions.
Was thinking about that with the recovery so I am just going to skip doing that and flash a custom one then.
Was trying to do it without switching to avoid tripping the counter but seems like that is un neesicary
I am looking to stay on the stock software of the phone but want to edit the arrays file out of the framework so it don't check for tethering provisions.
Previously I was able to tether just by changing the APNs on the device now I can't do that. Says I don't have a tmo tathering plan. But also not with T-Mobile so that is problematic.
M9x3mos said:
Yeah Sorry about that
was just as I was reading other things and playing with it I kept coming across other questions.
Was thinking about that with the recovery so I am just going to skip doing that and flash a custom one then.
Was trying to do it without switching to avoid tripping the counter but seems like that is un neesicary
I am looking to stay on the stock software of the phone but want to edit the arrays file out of the framework so it don't check for tethering provisions.
Previously I was able to tether just by changing the APNs on the device now I can't do that. Says I don't have a tmo tathering plan. But also not with T-Mobile so that is problematic.
Click to expand...
Click to collapse
Quick question, are you running Stock Jellybean? And who is your carrier? There was a hacked apk that enabled tethering.. not sure what its called. just read about it. Never tried/downloaded it.
i got this to work last night for frosty 11.2.1, AllenD87 over at the att forums helped me get it right.
I have the stock jellybean on tmo device and use with simple mobile service
Just checked out the other one hack/mod that was looking like the same kind of mod where made changes to the framework and put it back.
different firmware so I don't that I should try that on mine.
i just decompiled framework-res.apk made the changes and recompiled. put it in the rom and flashed the whole rom.
Trying to keep the absolute stock rom.
I just installed twrp since it has file manager so I don't need to make a flashable zip but just copy over and chmod 0644
first attempt gave me a boot hang so I am going to try compiling with a different tool
Ok found out the problem was the multi tool inwas using
Used the beta instead and everything worked ok

Trying to restore my build.prop file... What I could download and unpack to get it?

I want to install the 3.32 OTA so I had to restore my phone a bit. Last time I did this was about a month ago, and I must be forgetting something... but I cannot run the OTA because of problems with the build.prop file.
I flashed the default recovery and uninstalled one app that I know tweaked the system by modifying the build.prop file, however, this didn't work. The log still says "unexpected content in system/build.prop".
I have uninstalled 3 or 4 other apps that I suspect may modify the build.prop file and turned on the SuperSU logging to make sure I wasn't missing any other app which was getting root permission to modify it.... I thought I found them all. However, I just tried running the OTA for the third time, and it still shows that the build.prop file has been altered.
I know I could download the OTA, modify the updater script, then copy it back to the phone, but before I do that I wanted to just get a default copy of the file. What could I download (i.e., a RUU, a stock nandroid, etc.) that I could unpack to get one??
Thanks!
This is a tough one. The OTA only has the patch file so that is out. You can unpack the RUU but then you get disk image files. If you can figure out a way to unpack the .img files, I'm guessing would be in there.
FreydNot said:
This is a tough one. The OTA only has the patch file so that is out. You can unpack the RUU but then you get disk image files. If you can figure out a way to unpack the .img files, I'm guessing would be in there.
Click to expand...
Click to collapse
Thanks for replying... I must have had a brain tumor for breakfast yesterday because there was already a backup copy in the system folder. I don't know how I missed it.

Categories

Resources