[Q] CWR Script errors - Thunderbolt Q&A, Help & Troubleshooting

I'm trying to get one of these keyboards http://forum.xda-developers.com/showthread.php?t=754948 on my TB. I'm getting that lovely script error when trying to install it via CWR. Anyone know if this is possible? I'm really not liking the stock keyboard on the TB, its not large enough.

Its a scripting issue....the new CWR doesn't allow the old updater script...I have been looking all over the place for a solution and keep coming up empty...if you find one, let me know and I'll do the same!

This probably should have been in general. Just use adb or root explorer instead since those use the old script.

mob87 said:
This probably should have been in general. Just use adb or root explorer instead since those use the old script.
Click to expand...
Click to collapse
How exactly do you do this? Please and thank you

Turns out we were overthinking it....here ya go!
mykenyc said:
Just install it from the market. Search for gingerbread keyboard, using it.
Click to expand...
Click to collapse

Fodizzle1978 said:
Turns out we were overthinking it....here ya go!
Click to expand...
Click to collapse
Unfortunately this is not the same as the ginerbread keyboard. the gingerbread keyboard has way smaller buttons.
I just need to figure out how to install .zip files over adb apparently...

ZuneNinja! said:
Unfortunately this is not the same as the ginerbread keyboard. the gingerbread keyboard has way smaller buttons.
I just need to figure out how to install .zip files over adb apparently...
Click to expand...
Click to collapse
You don't install zips through adb....you "push" the necessary files to the phone, the zip is just an automated way to do it. Everyone with a rooted phone should have some common knowledge of adb commands....there are some great tutorials out there...I'm no genius in adb but I dabble. Good luck!

Fodizzle1978 said:
You don't install zips through adb....you "push" the necessary files to the phone, the zip is just an automated way to do it. Everyone with a rooted phone should have some common knowledge of adb commands....there are some great tutorials out there...I'm no genius in adb but I dabble. Good luck!
Click to expand...
Click to collapse
Yeah I know how adb works and all that, just didn't know this specific function because I've always been able to install from CWR.

Fodizzle1978 said:
Its a scripting issue....the new CWR doesn't allow the old updater script...I have been looking all over the place for a solution and keep coming up empty...if you find one, let me know and I'll do the same!
Click to expand...
Click to collapse
Search for amend2edify that's the script updater
Sent from my ADR6300 using XDA Premium App

Related

Gingerbread keyboard on froyo

Had to install manually with adb, otherwise it's working fine:
http://www.droid-life.com/2010/12/06/download-gingerbread-keyboard-for-rooted-devices/
josebagar said:
Had to install manually with adb, otherwise it's working fine:
http://www.droid-life.com/2010/12/06/download-gingerbread-keyboard-for-rooted-devices/
Click to expand...
Click to collapse
any problem with our low resolution?
It's way too big taking up almost the whole screen, so layout needs to be adjusted.
It's certainly too big at times, but I'm quite happy with it as it's now.
Thanks for the useful information.
When I try to flash It, it say: Installation aborted
What I wrong??
The easiest way is to install it manually with adb.
what about latest gingerbread maps with 3d view ?
can we have it on this device ?
i know we don't care at all about multi-touch, so what about a google earth way to turn the maps in 3d space ? can tattoo handle it ?
Not really sure. They said they're going to update maps soon. We'll have to wait and see.
josebagar said:
Not really sure. They said they're going to update maps soon. We'll have to wait and see.
Click to expand...
Click to collapse
you think on 1.6 or 2.2 ?
No idea, sorry.
i cant install via adb...it give me an error...can you please say us how to install that package via adb??
ser1993 said:
i cant install via adb...it give me an error...can you please say us how to install that package via adb??
Click to expand...
Click to collapse
Just uncompress the zip file in your computer. It'll extract quite a few things, but we only want the two files in the "system" folder.
First, remount the system partition on your phone as read-write (adb remount), then adb push the apk to /system/app to your device, then the lib to /system/lib on your device.
Not sure about the exact names of the files, but it should be something like:
adb push system/app/LatinIME.apk /system/app
adb push system/lib/libwhatever.so /system/lib
That should do it. You might want to make a backup of the old files, in case things go wrong.

[Q] [Dev Help Needed]Restore System Apk

I uninstalled the Protips.apk without doing a backup first and now need to restore it so the OTA update completes. I have the file from another Photon but how do I go about getting it installed? I moved it to /system/app/ with Root Explorer but it won't install.
Do I need to push it with adb? If it somehow needs to be re-signed I'm not sure how to sign w/system signatures.
What steps can I use to complete this?
Thanks.
download the cm5 from yays thread in the dev section and then using 7zip (providing you are using windows) take everything out except protips app and flash it through recovery
If it will flash via recovery and work then would there be a reason why I can't push it via adb? The file that was sent to me should still have the original signature attached correct?
I was trying to avoid unlocking the bootloader and having to install custom recovery.
CCallahan said:
If it will flash via recovery and work then would there be a reason why I can't push it via adb? The file that was sent to me should still have the original signature attached correct?
I was trying to avoid unlocking the bootloader and having to install custom recovery.
Click to expand...
Click to collapse
I THINK that you can flash the via bootstrap recovery. If not try pushing with adb and before you reboot typing
Code:
sync
reboot
[email protected] said:
I THINK that you can flash the via bootstrap recovery. If not try pushing with adb and before you reboot typing
Code:
sync
reboot
Click to expand...
Click to collapse
I pushed it but not sure about the sync command. Do I need to use "adb sync /system/app/"? It is asking me for a directory but don't know what I am supposed to be syncing.
**EDIT...NM. I need to know the exact syntax for the adb sync command I need to use. Nothing is working. Also, I do not have permission to run the remount command. Does this mean the system may still be read only?
Thanks.
CCallahan said:
I pushed it but not sure about the sync command. Do I need to use "adb sync /system/app/"? It is asking me for a directory but don't know what I am supposed to be syncing.
**EDIT...NM. I need to know the exact syntax for the adb sync command I need to use. Nothing is working. Also, I do not have permission to run the remount command. Does this mean the system may still be read only?
Thanks.
Click to expand...
Click to collapse
Okay try this.
1st put the protips.apk on your sd card then
Code:
adb shell
su
mount -o rw,remount /dev/block/mmcblk0p12 /system
cp /sdcard/protips.apk /system/app
sync
reboot
this should work
You know do don't actually install the apk. Just drop it in the system/app folder in reboot.
Perhaps I misunderstood your problem.
ptfdmedic said:
You know do don't actually install the apk. Just drop it in the system/app folder in reboot.
Perhaps I misunderstood your problem.
Click to expand...
Click to collapse
Yes. However it seems the Protips.apk I have might not be signed properly because it never installs upon reboot. So I was trying to find a way to make this work.
ptfdmedic said:
You know do don't actually install the apk. Just drop it in the system/app folder in reboot.
Perhaps I misunderstood your problem.
Click to expand...
Click to collapse
won't work because we don't have remount available now.
CCallahan said:
Yes. However it seems the Protips.apk I have might not be signed properly because it never installs upon reboot. So I was trying to find a way to make this work.
Click to expand...
Click to collapse
Did you try what i had suggested above (cp from sdcard mount file system sync reboot)???
[email protected] said:
won't work because we don't have remount available now.
Did you try what i had suggested above (cp from sdcard mount file system sync reboot)???
Click to expand...
Click to collapse
Not yet...had to make some dinner. Going to try it here in a sec.
Thanks.
[email protected] said:
Did you try what i had suggested above (cp from sdcard mount file system sync reboot)???
Click to expand...
Click to collapse
Tried it. All commands went through without issue. After reboot I tried doing the update but when it scans for existing files it still stops at 30%. It is still either not finding Protips.apk or there is something wrong with the file I have. A friend of mine emailed to me in an attachment. Don't know of any other way to get it without knowing how to properly extract an sbf file. Maybe if someone has a TB backup of it and could send to me? Then I could try restoring it. Not sure if something like that would be worth a try.
CCallahan said:
Tried it. All commands went through without issue. After reboot I tried doing the update but when it scans for existing files it still stops at 30%. It is still either not finding Protips.apk or there is something wrong with the file I have. A friend of mine emailed to me in an attachment. Don't know of any other way to get it without knowing how to properly extract an sbf file. Maybe if someone has a TB backup of it and could send to me? Then I could try restoring it. Not sure if something like that would be worth a try.
Click to expand...
Click to collapse
protips is the only thing that you don't have?
I am not sure. this thread has the ota as an sbf. I saw in another thread you were worried about having to reactivate again. The phone will program over the air you won't have an issue at all. I wish I could help you get protips installed correctly but I am still finding my way around moto. I guess that the mount command we used could be wrong. Not sure :/
[email protected] said:
protips is the only thing that you don't have?
I am not sure. this thread has the ota as an sbf. I saw in another thread you were worried about having to reactivate again. The phone will program over the air you won't have an issue at all. I wish I could help you get protips installed correctly but I am still finding my way around moto. I guess that the mount command we used could be wrong. Not sure :/
Click to expand...
Click to collapse
Yes. I deleted Protips.apk after rooting and didn't make a backup. The update errors every time because of that file not being installed it seems. Do you think that leaked OTA would restore the missing apk?
CCallahan said:
Yes. I deleted Protips.apk after rooting and didn't make a backup. The update errors every time because of that file not being installed it seems. Do you think that leaked OTA would restore the missing apk?
Click to expand...
Click to collapse
This leak is the same as the OTA. The only difference between installing this and downloading the OTA is having to reset everything up.
[email protected] said:
This leak is the same as the OTA. The only difference between installing this and downloading the OTA is having to reset everything up.
Click to expand...
Click to collapse
I'm gonna go ahead and try to figure out how to do the leaked one. I pulled the Protips.apk from Juggs file and still doesn't work. Weird that I can't go to it in Root Explorer and just install it.
Anyways, phone has been factory reset anyways so I'm not worried about having to set it all back up.
Thanks for your help.
Did you set the proper permissions for it?
CCallahan said:
Tried it. All commands went through without issue. After reboot I tried doing the update but when it scans for existing files it still stops at 30%. It is still either not finding Protips.apk or there is something wrong with the file I have. A friend of mine emailed to me in an attachment. Don't know of any other way to get it without knowing how to properly extract an sbf file. Maybe if someone has a TB backup of it and could send to me? Then I could try restoring it. Not sure if something like that would be worth a try.
Click to expand...
Click to collapse
Beach_Head said:
Did you set the proper permissions for it?
Click to expand...
Click to collapse
Yes. Still wouldn't work. Only thing I didn't try is modifying the update.zip and flashing just to restore the missing apk.
Did you also return the Protips.odex file?
That's the only other reason why the update wouldn't work...
CCallahan said:
Yes. Still wouldn't work. Only thing I didn't try is modifying the update.zip and flashing just to restore the missing apk.
Click to expand...
Click to collapse
Beach_Head said:
Did you also return the Protips.odex file?
That's the only other reason why the update wouldn't work...
Click to expand...
Click to collapse
I can't believe I didn't think of that
Sent from my MB855 using xda premium
No...I didn't.
Oh well. Too late now.
Thanks for the tip.

[REQ]Stock Camera APK.

Would anyone be willing to upload the stock camera apk. Thank you !
If no one gets you one by around 10:30 I'll boot into ubuntu and upload the file I pulled. I have some homework to get done first
thanks bro!
Sent from ma mothalovin! MOPHO!
Here ya go. It's the .apk with the .odex file packaged in a .zip archive. Extract them and then "adb push BlurCamera.apk /system/app" and "adb push BlurCamera.odex /system/app".
excuse me if I sound like a noob but so flash I have to deodex my phone and do I need root?
Sent from ma mothalovin! MOPHO!
oh and thanks a million man!
Sent from ma mothalovin! MOPHO!
You do not need to being using a custom ROM or a deodexed ROM to use this. You don't flash it, either. Extract the .zip archive and then follow the instructions I put in the upload post.
Canot get it going
Hello guys
I did try to swap the camera app from the Droid to Photon but no succes, couldn't get the shortcut to show up. Now I'm trying to restore the stock one, same thing, can't get shortcut to show up, help please. BTW, did all the process with root explorer and I have the right permitions. No deodexed.
Elendil_23 said:
Hello guys
I did try to swap the camera app from the Droid to Photon but no succes, couldn't get the shortcut to show up. Now I'm trying to restore the stock one, same thing, can't get shortcut to show up, help please. BTW, did all the process with root explorer and I have the right permitions. No deodexed.
Click to expand...
Click to collapse
If you have an deodexed version of the apk, then do "adb install namehere.apk".
Still no go
mrinehart93 said:
If you have an deodexed version of the apk, then do "adb install namehere.apk".
Click to expand...
Click to collapse
Hi, thank you for your answer, I don't have adb installed, is it possible any other way?
There are other ways, but I recommend using adb. If you do any type of android modding you should learn how to use adb and be familiar with it.

[SOLVED] I need a favor (if it's possible). [CWM Related]

So I was bored at work and did something stupid. Now I'm wondering if there is some way to fix it without having to flash my entire phone.
Is there someway a single file can be deleted using a CWM update zip. The file is the ported version of google now and having installed it using root explorer it is stopping my phone from booting entirely.
The file is "system/app/velvet.apk".
If anyone is experienced at CWM and knows how this can be achieved then I would be extremely grateful.
SOLUTION: Flashed a stock nandroid backup of the system, managing not to lose my data.
jcspecs said:
So I was bored at work and did something stupid. Now I'm wondering if there is some way to fix it without having to flash my entire phone.
Is there someway a single file can be deleted using a CWM update zip. The file is the ported version of google now and having installed it using root explorer it is stopping my phone from booting entirely.
The file is "system/app/velvet.apk".
If anyone is experienced at CWM and knows how this can be achieved then I would be extremely grateful.
Click to expand...
Click to collapse
I would imagine you could use adb to delete the file. Install the Android SDK on your computer and use adb shell to delete the offending file from bootloader mode. Havent tried it before myself, but I believe that's what adb is for amongst other things?
p.s. You should post this in Q&A forum and you might get a better response. This is not dev related.
salada2k said:
I would imagine you could use adb to delete the file. Install the Android SDK on your computer and use adb shell to delete the offending file from bootloader mode. Havent tried it before myself, but I believe that's what adb is for amongst other things?
p.s. You should post this in Q&A forum and you might get a better response. This is not dev related.
Click to expand...
Click to collapse
Ok will try it at work, or at home. Thanks for the suggestion. Will post in the Q&A forum as well.
Velvet.apk isn't that the voice reg. From jellybean,that shouldn't stop your phone from booting.the app would only FC.
Adb or reflash as suggested above
Tell someone to make it cwm flashable. Boot to recovery and flash. Make a new thread or ask for this a mod to rename it.
Something like this " make velvet.apk cwm flashable".
Cheers
Sent from my GT-I9300 using xda premium

[Q] What is the difference between flashing and installing an apk?

Sometimes.. you see apps on xda.. that are required to be flashed.. and are in the form of zip files. Now how are these different from apk files with their regular installation? is it something to do with giving these apps you flash a deeper level permission? if so.. if your rooted can't you just give those apps those permissions after a normal install?
Usually making them flashable is just easier for some and if you were to extract the .apk from the zip and install it from sdcard it would work the same. Sometimes the app may require extra libs that are flashed at the same time as the app so they are bundled together as a zip. Or possibly it is being flashed to system for whatever reason and can't be done this way installed through os.
There are lots of varying reasons why it may be a .zip but you could also install it probably any way you'd like (including pushing with adb) if you want to know what's in the .zip just extract its contents, if you want to know what happens when you flash it look at the updater-script
Sent from my Nexus 4 using xda premium
Thank you!
demkantor said:
Usually making them flashable is just easier for some and if you were to extract the .apk from the zip and install it from sdcard it would work the same. Sometimes the app may require extra libs that are flashed at the same time as the app so they are bundled together as a zip. Or possibly it is being flashed to system for whatever reason and can't be done this way installed through os.
There are lots of varying reasons why it may be a .zip but you could also install it probably any way you'd like (including pushing with adb) if you want to know what's in the .zip just extract its contents, if you want to know what happens when you flash it look at the updater-script
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Thank you..! I have one more question.. in some cases.. you are instructed to "copy apk's to system\app folder with a file manager with root permissions and then reboot" ... why this? does this produce the same effect as flashing it?
I guess it depends on the app, but it may only function properly as a system app, and yes it would be just as possible to flash it through recovery or push with adb to get the same effect
Sent from my Nexus 4 using xda premium
Thank you again!
demkantor said:
I guess it depends on the app, but it may only function properly as a system app, and yes it would be just as possible to flash it through recovery or push with adb to get the same effect
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
hey, thanx alot!
rjspark89 said:
hey, thanx alot!
Click to expand...
Click to collapse
And if it's an system app, or framework it's better to flash via Recovery
thanks!
superdragonpt said:
And if it's an system app, or framework it's better to flash via Recovery
Click to expand...
Click to collapse
thanks this is valuable info for a newbie..! any more imp tips related to my question is should know?
rjspark89 said:
thanks this is valuable info for a newbie..! any more imp tips related to my question is should know?
Click to expand...
Click to collapse
Yes
DON'T let you battery go all the way down.
This way it will lst longer (no Joke)

Categories

Resources