[Q] Problem signing update.zip - Android Software/Hacking General [Developers Only]

Hi all! I have an i9003 and i wish to install a custom update.zip... the problem is that i get always signature problem.
In the log of recovery i see that the program check the sign of package with one file present in the /res directory of the phone called KEY.
My question is.... can i use that key file to sign my package? How?
I see that another member of this forum (for another phone model) make an update.zip and the related key to put in the res directory.. i really would know how he done it....
Thanks in advance.

Related

Google Experience only

I am happy with what I have since the new update from Viewsonic.
If I only want to add Google Experience, marketplace, do I still need to go through the process of rooting, installing clockwork and a new UI?
Is there just a simple way to add GE to the Classic UI?
Gapps install
http://forum.xda-developers.com/showthread.php?t=842590
Everyone,
I have had zip luck with this method of installing zapps. Not a dev, but I've been doing this long enough.....
I moved the Recovery file to to /sdcard. Checked for command and command line inside that file All ok to my eye.
Downloaded the gapps file which my WinRAR pronounces a WinRAR/Zip file. So I tried renamein the original update.zip and didn't get any install. So I extracted using winRAR. Still no install.
I tried the permutations as well. Extracted using G-Tablet extract. Still no results.
There must be something I am missing here -- too much holiday cheer or too many crowds or whatever.
Suggestions?!
Rev
butchconner said:
Everyone,
I have had zip luck with this method of installing zapps. Not a dev, but I've been doing this long enough.....
I moved the Recovery file to to /sdcard. Checked for command and command line inside that file All ok to my eye.
Downloaded the gapps file which my WinRAR pronounces a WinRAR/Zip file. So I tried renamein the original update.zip and didn't get any install. So I extracted using winRAR. Still no install.
I tried the permutations as well. Extracted using G-Tablet extract. Still no results.
There must be something I am missing here -- too much holiday cheer or too many crowds or whatever.
Suggestions?!
Rev
Click to expand...
Click to collapse
I HAD to resort to putting on Clockwork Mod 0.8 to get GApps on my G Tablet.
Putting the update.zip on the internal and sd card storage did not work for me either with the newest update installed.
Clockwork Mod is a super easy install - just follow the instructions on how to install G Apps...basically: put CWM on your SD card in it's root (meaning NOT in any directories) and rename it update.zip, put the corresponding recovery directory on the SD as well. I use Winrar as well, I drag the recovery directory right from the file itself and to the SD Card.
Will look like:
Drive: update.zip
Drive: /recovery/command
basically.
Flash it the normal stock way (power and volume +). I press Power and Volume + without even powering off the device, because if the device is powered down and then you start it and miss that first start up, the device WILL delete the recovery/command file and the update won't flash.
GL
I don't officially get to play with my GTab until after package opening tomorrow so I can't do anything today, but I'm trying to line up my to do list. I have never rooted, flashed, or modded anything but am not afraid to play around as long as I don't brick the tablet.
What do you mean when you say "put the corresponding recovery directory on the SD as well. I use Winrar as well"? What is the corresponding recovery directory? What do you use Winrar for? I Googled "winrar" and found " WinRAR is a shareware file archiver and data compression utility developed by Eugene Roshal, and first released in the fall of 1993.[1] It is one of the few applications that is able to create RAR archives natively, because the encoding method is held to be proprietary. " I cannot figure out why it would be needed to load the standard Android market.
MSU_Sparty,
When you do updates (or installs) that have to be flashed onto the internal sdcard, they usually com in pairs of files. You will have an update.zip file that has the update in it (DUH!) -- and accompanying it will be a "Recovery" directory that has a command file in it (The command file has only one line that "calls" the update.zip file.
WinRAR "Zip" utility enters the picture because most of the devs here use WinRAR to package updates. The when they tell you to decompress it, you use WiinRAR and are left with a .zip file to install.
That's the question I had about this update. The Gapp file show to be a RAR package, but when I un-RAR it I come up with no .zip file -- only regular files.
Hope this helps you understand.
Rev
P. S. -- If you are new to this business, take it slow and easy and read ahead on this site and make sure you understand what you are doing. I try to do that, but even with years of IT experience I still mess things up once in a while.
Neoprimal,
Thanks for the tip about CWM. I have two tablets and the other has CWM on it and is fairly modded.
But this tablet I am trying to keep basically stock so I can get updates, etc. and see what the "state of product" is.
As mentioned in my previous answer, I am stumped because I am not getting what looks to be an update.zip file from the Gapp download. When I use WinRAR to decompress the Gapp file, I don't get a .zip file -- only a couple of directories. On the other hand, when I rename the Gapp file update.zip and try to flash it it doesn't work.
Again, thanks for the reply.
Anyone else with suggestions!!!????
Rev
Thanks. What you've written really does clarify the previous post. I appreciate it.
But let me ask another naive question. Why don't the developers create their update programs so they can be installed by just downloading them OTA like most applications? That would sure make it easier for neophytes. I'm guessing that the reason is because we aren't really adding an application but replacing the OS.
I greatly appreciate your guidance and that of all of the folks who use this forum.
Happy Holidays!

[Q] Help with "Stock Android 2.2 Keyboard"

Hello, I recently upgraded to Android 2.2 (Froyo). I was unhappy with not having the (all so accustomed to) Android keyboard and began researching alternatives. I stumbled upon this thread:
http://forum.xda-developers.com/showthread.php?t=780683
I downloaded the file (.zip file) and succesfully got it on my phone. However, I do not know how to go about using a 'root' or what a 'root' is, and I also don't know how to copy the
"/system/app/LatinIME.apk
/system/lib/libjni_latinime.so"
to the system folder.
Any helpful responses will be greatly appreciated.
U r far far away from doing this....!!!!
Rooting is firstly necessary... Its the process where u get access to ur system files by deleting some system files via softwares and/or programming skills.. It also void your manufacturer's warranty..
Do not root only for installing a keyboard..!!! Its a big thing and not for beginners..!!
Then again u have to install custom recovery which is, kind of like bios in computer!! Via custom recovery u can install zip files!!
Good day
Yhuzan said:
Hello, I recently upgraded to Android 2.2 (Froyo). I was unhappy with not having the (all so accustomed to) Android keyboard and began researching alternatives. I stumbled upon this thread:
http://forum.xda-developers.com/showthread.php?t=780683
I downloaded the file (.zip file) and succesfully got it on my phone. However, I do not know how to go about using a 'root' or what a 'root' is, and I also don't know how to copy the
"/system/app/LatinIME.apk
/system/lib/libjni_latinime.so"
to the system folder.
Any helpful responses will be greatly appreciated.
Click to expand...
Click to collapse
Read this
http://www.brighthub.com/mobile/google-android/articles/84211.aspx
Thanks for your replies. I don't necessarily want to void my warranty- being a construction worker and all, phones need to be able to be replaced cheaply- so is there any other possible way to get a free keyboard like the Android 2.1 one? I found a free 7.1x keyboard that was good and easy to use, but you had to pay in order to get options (such as turning off that incessant tapping sound).
Any good free keyboards anybody can point me to that are simple to install?
try this link..
scroll at the middle of the page.. u will see a download option.. download those keyboard apps.. it can also run or other devices besides htc.. download your correct resolution keyboard (download all and see which works best for you)
you will download a zip file.. install the two apk's BY BROWSING TO THAT FILE USING A FILE MANAGER AND THEN CLICKING THE FILE...
GO HERE TO DOWNLOAD
http://forum.xda-developers.com/show....php?p=5475283
INSTALL THE ONE WHICH FITS YOUR RESOLUTION
TRY THE LAST ONE 1ST(LOWER RESOLUTION KEYBOARD)
AFTER U SUCCESSFULLY INSTALL THE TWO SOFTWARE GO TO settings->language & keyboard and then check mark the htc ime keybord..
then suppose u want to use it to text.. then open messaging-> new message
then press and hold the blank area where u type ur text.. select input method and click htc_ime keyboard..
also u may go to settings from the messaging and select htc_ime to use the keyboard..
GOOD DAY
Oh yeah!!
Unzip the files u download to your phone's memory card 1st!
I have the .apk files in my SD card. How do I install them?
browse to the files using a file manager.. the file manager is provided in every phone..
now go to the files.. and install them one by one.. to install select the file.. that is touch the files and then press install..
Thank you kindly. I should have mentioned I had a Galaxy S Vibrant. The one I downloaded did have a resolution too low but I guess i'll just try out a few more and go from there.
Again, thank you.

Help with a chinese model phone, A101, deleted /system/bin/sh..

Hello all,
Firs I like to apologies if I've posted in the wrong section of the forum.
As the title says, I have a Iglo A101 with GingerBread 2.3.4 phone and I accidently deleted the system/bin/sh file.
I was searching for a2sd and I downloaded it, but when running it, instead of pressing 1 - "install a2sd" I pressed 2 "uninstall a2sd", by mistake, and by the time I realized the sh file was deleted. Now the phone is no longer rooted and can't be rooted and also my Wi-Fi doesn't work anymore.
I've search the net for answer but I can't find a solution to this type of phone.
Could someone help me fix this or at least get the Wi-Fi working again?
Thanks in advanced...
OK, I've manage to contact the retailer and he gave me what appears to be the all system files, as now I have a rar containg system.img userdata.img recovery.img etc etc. How do I install this files, because he doesn't appear to know either. I tried from the recovery mode using install update.zip from sdcard but it give's me invalid OTA package and I can't find an answer on how to flash a img file from recovery mode...
pitvenin said:
OK, I've manage to contact the retailer and he gave me what appears to be the all system files, as now I have a rar containg system.img userdata.img recovery.img etc etc. How do I install this files, because he doesn't appear to know either. I tried from the recovery mode using install update.zip from sdcard but it give's me invalid OTA package and I can't find an answer on how to flash a img file from recovery mode...
Click to expand...
Click to collapse
Does the device have fastboot? If so the files need to flashed using fastboot. The command is fastboot flash boot boot.img
Fastboot flash system system.img.
If your device does not have fastboot then you will need to extract the system.img and make a flashable .zip so you can flash through CWM or whatever your recovery is. If you are using stock recovery then I eexpect you will either need to find a solution or send it off for repair. I will have a look into helping you get your device back up and running but I cant promise to succeed. Give me a few days and I will report back with any solutions or info to get you on your way to fixing your device.
Regards
Blackwatch
Sent from my LT18i using xda premium
pitvenin said:
Hello all,
Firs I like to apologies if I've posted in the wrong section of the forum.
As the title says, I have a Iglo A101 with GingerBread 2.3.4 phone and I accidently deleted the system/bin/sh file.
I was searching for a2sd and I downloaded it, but when running it, instead of pressing 1 - "install a2sd" I pressed 2 "uninstall a2sd", by mistake, and by the time I realized the sh file was deleted. Now the phone is no longer rooted and can't be rooted and also my Wi-Fi doesn't work anymore.
I've search the net for answer but I can't find a solution to this type of phone.
Could someone help me fix this or at least get the Wi-Fi working again?
Thanks in advanced...
Click to expand...
Click to collapse
You have use flash tools to flash those files in your mobile.......upload your build.prop under /system/
I'll tell you more!!
Sent from my GT-I5801 using XDA
I have stock recovery 3e. I tried to make an update.zip but I keep getting invalid OTA Package..
Here is the build.prop, sorry for my late response
And here is the one that is on my phone, I've manage to get it using jota text editor. Some how that application can still see some system files, but it can't write..
pitvenin said:
I have stock recovery 3e. I tried to make an update.zip but I keep getting invalid OTA Package..
Here is the build.prop, sorry for my late response
Click to expand...
Click to collapse
Do you have an update.zip of complete ROM for you phone??
If so, then upload your recovery.img....i'll mod it & give you a modded recovery......
here it is
any luck?
pitvenin said:
any luck?
Click to expand...
Click to collapse
Trying....
hi
i had similar problem on this device a101 i did not delete any folder but by rooting the device my wifi and Bluetooth stoped working.i solved the problem by the factory menu.....have you tried it?
i did factory reset, but since there a system file missing it doesn't solve it..Can't there be a way to create an update.zip package with the sh file and then apply like an update from recovery? I've been trying to understand what does invalid OTA package mean, I think if that would be solved then I could easily put the file back...
i think you need spb launcher
i have to admit i used it only ones before for china 5388 there i needed com + usb cable here you need just a normal cable us the boot on this phone is different i have all you need give me email i will send to you. i have scater for a101 file too.i never used it but i have.Us i said my phone work ok after reset from factory mode
still nothing?
pitvenin said:
OK, I've manage to contact the retailer and he gave me what appears to be the all system files, as now I have a rar containg system.img userdata.img recovery.img etc etc. How do I install this files, because he doesn't appear to know either. I tried from the recovery mode using install update.zip from sdcard but it give's me invalid OTA package and I can't find an answer on how to flash a img file from recovery mode...
Click to expand...
Click to collapse
If you have the system.img image, you can try to flash it in the phone with SP Flash Tool,
Here is the tutorial:
bm-smartphone-reviews.blogspot.com/2011/10/mt65x3-flashing-tutorial.html
arcristi..all I can say is : THANK YOU!
I finally managed to get the system files back, I'm gonna hang on to this program just in case....Thanks again
A101 Android
Please, can you here to give all system files, which were sent to you from retailer? I have the same model. Thanks!

Help with .APK File

Hi Developpers !!
I'm in an urgent need of help !!!
The thing is i have this app .APK that i want to modify,
I open it with winrar, navigate to the file i want to modify (Bitmap image in my case) then i copy it into the Desktop, modify it,
and then put it back in the rar archive without modifying the name or anything.
Then when i try to install (on Agent bluestacks) it it dosen't work !!
There's an Eroor
INSTALL PARSE FAILED INCONSISTENT CERTIFICATES
I watched some turorial on How to Edit image resources inside an android APK file and i did a new signature and it's allways the same error
I really need your help on replacing the file...
PS I uploaded the file .APK and the image i want to replace
Boom_vic said:
and then put it back in the rar archive without modifying the name or anything.
Click to expand...
Click to collapse
That's the problem, you need to sign it first. - http://forum.xda-developers.com/showthread.php?t=2069287
Thanks so much !! I will try this now
Hi
I followed your Topic, i was able to decompile it...but i can't recompile it
can you please do it for me ? cuz i'm in a hurry i need it by Wednesday..
You just have to replace the train480x320.png
in \res\drawable with the same image that i have uploaded with the rar file and sign it..
That would be perfect
thanks in advance

Samsung Galaxy S7 Active (G891AUCU6CSF2) - Unable to create or find combination file.

Hello lads, new poster here -
I've had a bit of an FRP issue with my phone, and after fiddling with this for a few hours, and searching for a few more (I ran out of google results after page 3), I've been completely unable to find a combination file for this specific model (U6CSF2). I've attempted to make one from a guide (Image attached), but the key step, renaming the AP file to a .zip and extracting some files, doesn't work as the new zip folder requires a password (Image attached as well).
Now, this password thing happened on two separate firmware folders I downloaded. Are these the same folders and one was ripped off and re-uploaded to a new site, or is this password a Samsung thing that someone here knows? (I was unaware you could even password encrypt a file just incase it gets re-zipped).
I'm a complete novice, probably doing something silly someone could point out, any help is appreciated, including this specific combination file if someone knows where to find it.
(I did try looking for the password around these downloads and by searching the name of the uploader, but to no avail.)
Turning it on and off again did not fix it. Any ideas?

Categories

Resources