Fix for DJ Steve's Froyo v1.5.0 - Streak 5 Android Development

Hi all,
This was originally posted over at Modaco by user Ced62. For me, this has fixed the problems with some settings in Steve's rom as well as fixing the calendar.
I just installed with clockworkmod, no wipe for me but I won't be help responsible if you lose all of your data or brick your phone.
Kris

That hits the spot. Thanks!
This is what clockwork does:
$ unzip /patch_bugs_1.5.0.zip
Archive: /patch_bugs_1.5.0.zip
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.SF
inflating: META-INF/CERT.RSA
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: system/app/Calendar.apk
inflating: system/app/CalendarProvider.apk
inflating: system/app/NetworkLocation.apk
inflating: system/app/Settings.apk
inflating: system/app/SettingsProvider.apk
Click to expand...
Click to collapse

Perfect. Thx

Thanks for the post. I found calendar has lines, the setting menu in Japanese, brightness adjustment works, and maybe some other things that I do not notice.
But front camera still does not appear, Youtube rotation issue still remains.

Compass app still resets my Dell Streak. Actually works as it should for 5" and then resets. If anyone comes up with an idea it would be great

This fixed the issue where the Clock app and Beautiful Weather widget wasn't able to lookup my GPS/Geo location to find my weather. Thank you again.

If I get the settings menu in Japanese, is it easy to revert back to English? I haven't installed this yet, but plan to later this afternoon.

thx for your post. good job.

sorry but hotspot wifi still dont work ....
i see "error" after i try again to start but dont see wifi connection aviable..
i tink is a bug because in the 1.4.6 work perfect...
sorry for the incorrect english...
by and thanks!

Krisbo said:
Hi all,
This was originally posted over at Modaco by user Ced62. For me, this has fixed the problems with some settings in Steve's rom as well as fixing the calendar.
I just installed with clockworkmod, no wipe for me but I won't be help responsible if you lose all of your data or brick your phone.
Kris
Click to expand...
Click to collapse
Original post is here: http://android.modaco.com/index.php?s=&showtopic=325889&view=findpost&p=1516308
Instructions include:
1) downloading the .zip and placing it on the SD card
2) booting into clockwork (exactly like you do to flash the ROM) but
3) choose to install an update from a zip file.
4) Then choose the zip file manually from the sd card.
5) Remember, after the install in complete, pressing the power button will bring you to the previous menu and allow you to reboot gracefully.

Works for 1.5.1 too.
greez

Related

[SOLVED] Modifying layout xmls in framework-res.apk, fails, have questions.

This has happened twice to me:
1) I modify a xml file in framework-res.apk (using apktool)
(I modified the two slide lock screen xmls. apktol rebuilt it without any errors)
2) push the rebuilt apk back. (didnt sign it)
3) reboot
During the reboot i get a ton of app permission errors, and then a "Failure starting core service" error, a few seconds later the phone restarts
The permission errors ("no group null"):
http://pastebin.com/p2ut8MmB
And then the actual errors:
http://pastebin.com/Hg4M9jcA
Fixed by:
1)pushing the backup framework-res.apk back.
2)fixing UID mismatches using the utility in AMON-RA's recovery
Solution: http://forum.xda-developers.com/showpost.php?p=6334647&postcount=5
Questions:
What am I doing wrong?
What triggers the permission errors?
My suggestion didn't work, see below for alternative.
I don't know much about all these signing mechanisms, but I had exactly the same problems when I was testing framework-res rebuilding capabilities of apktool. Tried to sign it using testsign, but had no luck.
I searched for help on IRC and prash told me that I must testsign update.zip file, not framework-res.apk. I did as he said and it worked for me
Brut.all said:
I don't know much about all these signing mechanisms, but I had exactly the same problems when I was testing framework-res rebuilding capabilities of apktool. Tried to sign it using testsign, but had no luck.
I searched for help on IRC and prash told me that I must testsign update.zip file, not framework-res.apk. I did as he said and it worked for me
Click to expand...
Click to collapse
Thanks for the info. Great tool by the way
Will try the update.zip method, and the method djmcnz mentioned.
Update:
Brut.all's tip worked!! thanks again man. I learnt how to create update zips now
Also tried djmcnz's test but it did not work.
update 11/19/2010:
All you need to do is copy/install the file while the OS is not running. The signing part was only needed to allow the update to be flashed
Since AmonRa 2.0 has an option to turn off signature checking all you need to do is
1) update whatever you need in framework-res.apk
2) put the new framework-res.apk in any update.zip whose script copies it to /system/framework. (get a CM nightly if you dont have one)
3) reboot to recovery
4) turn off update signature checking (options>)
5) flash the update. and reboot.
Hmm, is this nexus specific? I'm trying to update framework-res.apk
on motorole milestone, but I get only crashreport after my device boots up.
I jarsign and zipalign this apk and set mode 644 before reboot.
herrlado said:
Hmm, is this nexus specific? I'm trying to update framework-res.apk
on motorole milestone, but I get only crashreport after my device boots up.
I jarsign and zipalign this apk and set mode 644 before reboot.
Click to expand...
Click to collapse
see #3 "..I must testsign update.zip file, not framework-res.apk. I did as he said and it worked for me "
OK Thx, do not need we to zipalign framework-res.apk?
Lado
rori~ said:
see #3 "..I must testsign update.zip file, not framework-res.apk. I did as he said and it worked for me "
Click to expand...
Click to collapse

[Q] Applications crash after pushing modded framework-res.apk

After rebooting with a modded/pushed framework-res.apk i can see my changes (status bar bg, etc).
But shorty after entering my pin code, several applications crash, repeatedly. Why is this happening?
Here's what i did:
Code:
adb pull /system/framework/framework-res.apk
2. Opened framework-res.apk in BetterZip
3. Extracted pngs to be edited in photoshop
4. Dropped edited pngs back to framework-res.apk in BetterZip and saved file
5. Signed the .apk with Android-sign.app
Code:
adb reboot recovery
adb shell
mount system
exit
adb push framework-res.apk /system/framework-res.apk
adb reboot
Can't figure out what I'm doing wrong here, I tried flashing cache. Tried doing this process on OpenFireROM but ended up in a bootloop.
Any suggestions?
Thanks in advance
tried zipalign, still no luck
maybe i'll just buy an iphone
Try wipe dalvik cache this should help
Sent from my HTC Wildfire using XDA App
Did you try putting the original meta-inf folder and manifest xml back into your modified framework?
Sent from my HTC Wildfire using XDA App
Tried wiping the dalvin cache, still no luck.
At what stage should i put back the .xml and META-INF folder?
Thank you for your replies
sohn said:
Tried wiping the dalvin cache, still no luck.
At what stage should i put back the .xml and META-INF folder?
Thank you for your replies
Click to expand...
Click to collapse
After you compile the apk.
Sent from my HTC Wildfire using XDA App
I tried a new approach on this now;
decompiling framework-res.apk with apktool
editing pngs in photoshop
building new .apk with apktool
now i noticed the compiled .apk did not include the META-INF folder, so i tried two approaches here;
1) signing it with android-sign.app (on mac os), this did not work
2) I included the original META-INF folder and saved the files using a zip manager, this failed too
thought i had it when i saw the decompiled png files
I had this to but tomorrow I will look better to it to look to the problem
Will reply tomorrow what I found
send from my HTC WildFire
* 2.1
* rooted
* clockworkmod recovery
* no custom rom yet, only theme
I dont think stock roms can apply themes because they aren't deodexed.
When you compile the apk using apk manager, don't forget to delete the resource.arsc and other files in the keep folder you modified.
Also don't mess with .9 pngs as that can screw your framework if you duno what you're doing.
Or just use the UOT kitchen to make a flashable zip.
Btw you can inject themes on any rom you want
Even with an extracted nandroid backup
Search: one click theme injector
(Sorry can't give the link on phone)
send from my HTC WildFire
* 2.1
* rooted
* clockworkmod recovery
* no custom rom yet, only theme
i installed windows server 2003 on a virtual machine and made changes to non .9.pngs in 7zip, flashing this worked out fine.
if I decompile a framework and edit the .9.pngs in photoshop, then replacing files in 7zip, would that work?
Yes works by me but have only done a few can be that not every .9.PNG will work, one time 1file was making every app fc so I think just try and if its not working just use backup of the one before and try again I think, I am doing the same
send from my HTC WildFire
* 2.1
* rooted
* clockworkmod recovery
* no custom rom yet, only theme

UOT Kitchen mods DON'T work on the SGS II???

Hi there! I tried to mod the appearance of my phone using the UOT Kitchen. But am stuck after creating my UOT ZIP file. I assumed we have to flash the UOT Zip file using CWM Recovery mode. I tried that, and it fails to install the zipped files due to a "signature error". Any idea how to fix this?
The UOT Kitchen site does give a workaround to this problem, saying in case of error, we can manually replace the META-INF file zipped inside the UOT file with the Meta-Inf file which can be extracted from the phone's ROM. I am on KF3 Rooted, and extracting the KF3 ROM only gives some Bin files......so my problem is how to find the original META-INF file? Anyone knows this?
So no one has used the UOT Kitchen mods for their SGS II here? No answers?
Do you have a link to the UOT Kitchen thread?
Hi, Johncmolyneux. Thanks for your reply. Yes, now I have it and have posted my question there also. But that thread has 426 pages and am not sure how soon I'll get a reply there. So I'm hoping someone may see my query here also and reply. So waiting for a useful answer on either of these threads now. Thanks.
I installed a UOT Kitchen Mod, my 1st time
I probably did something wrong...unless they just don't work but I doubt that because one or 2 of the options are for SGS2 specific roms
Anyways, I got stuck in boot loop and had to restore everything
I might try again later when I have more info about it
i am using the uot kitchen online without any issues. uploading files that they need. always work like a charm!
I have used uot kitchen with both stock, vr and cm7, almost always worked perfect, had to untick generate preview for theme closer for cm7 though.
Sent from my GT-I9100 using XDA Premium App
Hunteres said:
i am using the uot kitchen online without any issues. uploading files that they need. always work like a charm!
Click to expand...
Click to collapse
That I did not do, I will try next time thanks
hashbrick said:
That I did not do, I will try next time thanks
Click to expand...
Click to collapse
do it here mate
http://uot.dakra.lt/
and upload
framework-res.apk
SystemUI.apk
twframework-res.apk
pick what ever u want...if your rom supports costum bootanimation u can do that 2. but the lockscreens aint working anyway enough to make the ROM diferent
as said a few post up; always upload framework-res.apk , systemUI.apk and twframework-res.apk when generating a theme with UOT Kitchen.
Also DO NOT forget to always wipe cache and dalvik-cache in CWM prior to apply the generated zip (wipe cache, dalvik-cache then flash the zip, and after that reboot ).
a few selected set of icons sometimes not apply properly with our SGS2 (kalagas mainly is a bit tricky for that )
if manually correcting the unchanged images is outside of your possibilities, ask in the UOT thread, they are generally really helpfull and Mendozinas respond generally really quickly
as Hunteres said, lockscreen don't work for us, as Quick settings in the notifications tab(that is for Sense Rom) everything else works generally like a charm
All done yesterday itself. There was only a small issue of disabling signature verification and Mendozinas replied pretty quickly. Other than Boot Animation, Lock screen everything else works on a Stock KF3 Kernel. You don't even need to wipe the cache/Dalvik cache before flashing. It's optional & just a precaution.

[Q] Phone.apk FC, Any Tips on This?

Guys,
Need your advise on this problem that I'm facing right now. I did some Mod on the Phone.apk but somehow the Phone.apk will FC. I won't see the Pin number entry and it won't detect any mobile signal. If it did pass the two processes mentioned before, it will FC when...
1. I hang up a call.
2. the screen on during the call. (proximity sensor activity)
I did a simple compilation by decompile the original Phone.apk and compile it without any changes and still can't work, even with signed and unsigned APK. Any kind soul able to give me an advise on what to look at...
FYI,
1. The original (stock) deodexed Phone.apk was working flawlessly.
2. ROM - KI4
3. Tools - APK Manager, Brut Apktool
4. Signer - Zipsigner2 (autotest & platform key), APK Manager option number 12; both did not make any difference
Thanks in advance.
Repair permissions?
This often helps. Maybe give it a try.
donalgodon said:
Repair permissions?
This often helps. Maybe give it a try.
Click to expand...
Click to collapse
You mean the file permission. Yup I already did that. Even wiping the dalvik.
Is the phone.apk dependent on other apk? Maybe I signed it incorrectly?
Go to manage application and wipe data of phone.apk
Don't delete the app just wipe data
Solved
Managed to solve it. Seems that any compiled Phone.apk did not work correctly. I had to manually compiled classes.dex and replaced it together with resources.arsc on top of the original Phone.apk
Weird but it does not FC so far.
Bugeca said:
Managed to solve it. Seems that any compiled Phone.apk did not work correctly. I had to manually compiled classes.dex and replaced it together with resources.arsc on top of the original Phone.apk
Weird but it does not FC so far.
Click to expand...
Click to collapse
old post, but i am having the same trouble as you not being able to decompile and recompile a untouch stock phone.apk. what did you do to resolved this? how did you manually compiled the classes.dex file? sorry for being a noob.

[Q] Question for DNA themers

Hi guys,
I've been doing quite a bit of research and also quite a bit of trial and (all) error. I am currently trying to replace the battery icons in my current SystemUI.apk with battery icons from another SystemUI.apk (both DNA, of course). From what I read, it looks like I need to decompile the SystemUI.apk, but it appears that apktools currently does not work with the DNA. I have also tried just extracting the apk files using winrar, and then just copying the files over, but when I do that I the stat bar disappears and everything is black. I'm curious how you guys are managing to make basic mods like battery icons and transparent stat bar on the home screen when using Nova. I've read that the transparency needs to be done by editing a couple xml files, but the one in res/values is only available when you decompile.
As always, any tips or guidance would be warmly welcomed and greatly appreciated.
Thanks,
Steve
Use 7 zip to drop the new images into the zipped system UI then it will ask you to update archive and say yes. Then flash system ui.
That's the short version.
Do I actually need to flash, or can I just adb push while mounted in recovery?
Thanks,
stevedub40 said:
Do I actually need to flash, or can I just adb push while mounted in recovery?
Thanks,
Click to expand...
Click to collapse
You can do that as well, my main point was to use 7-zip, for image replacing I personally use zipthemer so I can use my theme on any rom, Each time I install a new rom i just need to run zipthemer on my phone and flash the zip it makes, and walah, themed to my liking.

Categories

Resources