Android : Pad Block Corrupted During Decryption(droid)
Sep 20, 2010
I'm encrypting a file in java and send the encrypted file and private key to android device. But while decrypting the file in Android, it gives pad block corrupted error.
By the way, same decryption code works on PC
Here is the encryption:code...
View 1 Replies
Dec 29, 2009
I am trying to do AES decryption like this -Cipher cipher = Cipher.get Instance("AES/ECB/PKCS5Padding"); cipher.init(Cipher.DECRYPT_MODE, aesKey); cipher.update(encryBytes, 0, encrByteCount); and it is taking me about 2.5+ seconds to run just the cipher.update (i.e. I excluded the init and get Instance() calls) for 65KB of data -- which seems way too long.What this translates to (roughly) 60 seconds for a 1.5MB file. Which is uber slow.I *am* actually seeing 60 or so seconds when I try to decrypt that big of a file (looping through and feeding buffers).Does anybody know why AES decryption is so slow on Android? A co- worker is seeing times around 10 seconds for the same file on a RIM device.
View 2 Replies
View Related
Aug 26, 2009
I wrote a small application which encrypt some files using a secret key. i need to decrypt files on 2nd run which requires same key again plz advise where should i store the secret key.
View 13 Replies
View Related
Dec 30, 2013
I encrypted my LG Optimus G E970 using the option in cyanogenmod under security. It prompted me for a pin using a keypad, and I carefully entered a 4 digit pin. At the end of the encryption process, it rebooted and promted me with "Enter password to decrypt storage." Instead of a pin, there was a text box and full android keyboard. I entered my pin, and it said "Try Again." It did not lock me out at all for any amount of time no matter how many passwords I tried. I tried rebooting it, and had the same problem. If I leave the device on without typing in a password, it makes a clicking sound after a minute or so every ten seconds. I can't factory reset in TWRP because it can't mount /data.
View 1 Replies
View Related
Nov 28, 2009
So my I randomly got a notification tonight saying my SD card was corrupted. My Eris told me I had to format it, so I tried through my phone, and nothing happened. When I connected it to the computer, I tried formatting it through there and when I click on format (Using Windows 7 32-bit), it tells me there is no drive at drive F: Does anyone have any ideas? I used to have a microSD converter so I could use it in a card reader but I don't know where its gone too, and don't know if it would help anyways.
View 2 Replies
View Related
Aug 11, 2009
I took the source from API demos (TriangleRenderer.java) Here's the code on how textures are loaded in onSurfaceCreated():.....................
View 3 Replies
View Related
Mar 10, 2010
I want to develop one call control application on android. As we know android sdk does not provide any API which block incoming call due to security reason. Is there any possibility to block incoming call using android open source api;s?
View 6 Replies
View Related
Jul 14, 2010
Is it posible that Android would allow an app to block a phone call, email and or SMS from coming through to the device? e.g. User opens app and sets it to block all incoming info for 2 hours. App blocks all email, SMS and calls for 2 hours.
View 1 Replies
View Related
Nov 14, 2010
I can't figure out why I'm getting corrupted images when I save them in my app.In fact the thumbnail seems to be fine, but the actual image is corrupted, as if the stride value is not being set correctly.
View 8 Replies
View Related
Jul 18, 2010
I can't open email attachments. Says they are corrupted. I know they aren't because I can see them on my desktop.
View 6 Replies
View Related
Aug 20, 2013
I own HTC one X,(UK model). Recently my mobile started acting strangely. It is getting restarting often and on doing so, it itself getting formatted. And once it went to main menu, it is showing error as gapps. process is stopped working.
More than that once it got switched off, it is not getting turned on. I don no what happened to my mobi.
When i took to HTC service centre, they said that this is international phone and we don't have os for this mobile, so try outside for OS.
Previously atleast the HTC start up screen will get opened sometimes. Now not even that is getting opened.
View 2 Replies
View Related
Oct 3, 2010
I'm considering writing an internet filter app for Android which would allow parents to block objectionable web sites on their children's phones. I'm assuming this would also be useful on GoogleTV when it comes out. How would I even start? Is it possible to block access to specific sites without requiring the user to root their phone?
I'm guessing I could do it with iptables, but that would probably require a rooted phone.
Edit:
If the phone was rooted, how would one go about doing this? Are ip tables the way to go or is there a better way?
View 2 Replies
View Related
Oct 29, 2010
I want to block access to any service like Network for particular 3rd party application.
For e.g. Email app, I want to block network usage form my application.
or any game or app using network for advertisement, I want to block access to network for that app
so how can i get permission list and block permission from my application?
eg i want to change permission of app A by app B.
View 1 Replies
View Related
Apr 23, 2010
I need to develop an application that will check whether the phone is in roaming. If it's in roaming then the application should block internet for all applications except several from white list. In non-roaming mode it should allow all requests. There should be no way for user to kill or suspend the application or turn internet on.
I'm not familiar with android much so I really don't know whether it possible to implement without modification of OS. Is there any way to do this?
View 2 Replies
View Related
Jan 27, 2010
When I used to have a G1 I remember having an app that automatically updated the hosts file to block ads. I can't find it anywhere, does anyone remember the app?
View 2 Replies
View Related
Jun 9, 2010
I have no idea whats going on with my EVO but my memory card keeps getting corrupted.
It started when I was trying to "hide" some pictures using Photovault. All the sudden it couldn't hide or see my already hidden photos'. All of my porn was like totally gone! Seriously though, it corrupted all my phones pictures. Thinking it was the Photovault app, I uninstalled and went to reinstall. Well installer cant see any of the app apk files I have on my mem card.
Then I noticed my MP3's were corrupted, all the sudden it reports there a format the phone cant use and I notice files are just plain missing when I view folders with Astro.
I hooked my EVO to the PC and it wanted me to run check disk on the phone/mem card so I did. This hung causing me to have to hard reboot the phone.
All my data was now gone and Windows 7 reports I need to format this device blah blah blah. I tried to format from within Windows 7, no go. So I formatted from within the phone.
I copied a backup of my memory card I had back to the memory card and all seemed fine.
Hour later I'm right back where I was before, shits getting corrupted again. I again formatted from within the phone but did not copy over my backup as I was at work when this happened.
I fired up Astro though and I see still most of my files even thought I formatted from within the phone.
I didn't want to do the OTA update thingy for fear of loosing root. You know the one that was for the mem card issues. I thought formatting it was all I really needed to do. Maybe not?
Right now I'm doing a full format of the memory card out of the phone and attached to a Sandisk micro usb reader/writer.
View 1 Replies
View Related
Oct 11, 2010
I keep getting these spam texts from this weird number and want to block it from contacting me.. how do I do this?
View 10 Replies
View Related
Nov 8, 2009
Anyone know how to block ads in the browser? It'd be nice if something would work. Also, what plugins are available for the browser so far?
View 8 Replies
View Related
Jan 18, 2010
I know you can do it online, but that lapses in a few months, blacklist with Handcent just hides the message.
Is there a way in the OS to really block a caller/sms. I already have sent to VM but what I'd really like is a big go fuck yourself to be sent back to them.
Google Voice would work if it would actually control my other number and not just theirs.
Any ideas/suggests?
View 5 Replies
View Related
Aug 17, 2010
First post - was browsing and thought i should let everyone know what happened to my desire after about a month. Bascially, it corrupted my SD card, lost everything on it and the SD card itself was not recoverable. I'm seeing similar reports on these forums but no clear answers other than to try another SD card. Not the best idea. The problem in my case was NOT the 4gb SD card that came with the phone but after a HTC repair turned out to be a faulty SD card reader in the phone. I wouldn't have known it was this (i got no info back in the post) if i hadn't rang up & the guy told me. There's no way i'm the only one...so back up your SD cards often just in case!!
View 1 Replies
View Related
Oct 14, 2013
My mother-in-law ran out of space on her Samsung Galaxy S3 GT-I9300, 32GB (note that she has no microSD, only internal memory), and requested that I get everything onto a DVD to clear up some space. I initially copied and pasted 3 folders of her photos (approximately 800+ files) into a re-writable DVD successfully and she was happy with it. She got me to delete those folders on her phone. Following that, she decided that she needs more space so she wanted me to do a cut and paste into the DVD instead. Since a cut and paste is much faster than a copy and paste, I very much obliged. There were up to 12 folders containing 4,000-5,000 photos from her various trips around the world. The estimated time to completion was around 2-3 mins, so I decided to surf the internet a little while waiting. To my dismay, I realized that my mother-in-law was looking through her photos "one last time" before it disappears from her phone - But I couldn't do anything else to salvage what she did at that point of time. Unsurprisingly, the photos were all corrupted and although they managed to fit into my DVD (total of 2.02GB), each of the corrupted file was 3.2-3.5GB in size!! I have no idea how that is possible, but it still says that when I look in its properties. No clue how all of that can fit in a tiny DVD, but I guess the corrupted photos were presenting inaccurate information. Anyways, surprise surprise, no photos in her phone as well. I ensured that she did not use her phone at all since, to make sure any existing memory of the photos will not be overwritten. She has never ever backed up her phone since buying it last year - I just did one with Keis that took 4.5 hrs.
I have since tried several of the top data recovery software on both the phone and DVD with no luck at all. With regards to the S3, it is on Jelly Bean 4.1.2 and has no USB mass storage capabilities (no "USB Utilities" option in settings). I have tried looking at apps to unlock UMS, but none works with internal memory for the S3. Also, most programs require rooting of the phone which I cannot risk voiding her warranty with. Furthermore, who knows what will happen to the memory of the lost photos when I root the phone and rollback the version (was planning to get it back to ice-cream sandwich so that I can access UMS). Tried using flashtool to downgrade the phone as well, but can't find a suitable ROM (again, not confident of keeping lost photo memory by doing that - don't wanna risk it).
View 9 Replies
View Related
Jun 25, 2013
I should start off by mentioning im completely new to rooting and custom ROM (or even UNIX for that matter).I've just flashed a CM 10.1 rom onto my LG Optimus 2x. In the process my phone has lost its IMEI, and for that reason i cannot connect to any mobile network.In the 'about phone' section of the settings, it shows IMEI as unknown and Baseband as unknown.
I've learned that this may have to do with a corrupted EFS folder/partition. I didn't make a backup of this folder (i were following didn't mention that i should have done that)Now I'm trying to follow along with this guide to recover my IMEI. URL>....The problem is i don't even find the /efs folder in both the terminal emulator or this app I've downloaded "ES File explorer". Does it mean its been deleted? I've read that it may need to be mounted so i found this command somewhere on XDA to use
The first line worked in the terminal emulator, but when i tried entering the second line i get an error 'mount: No such file or directory'.
View 3 Replies
View Related
Jun 15, 2010
using Beautiful Widgets for the clock/weather widget. I am using one of the skins from the available to download section of the config. Airport One or something like that. When I turned on Home++ it took that skin off, and its not even showing in my downloaded skins. Nor is it available to re-download. This is the case with a few others I downloaded as well. When I uninstalled Home++ they all magically appeared.
View 2 Replies
View Related
Oct 3, 2010
I had to .sbf last night back to 2.1, rooted with Universal Androot and then used rom manger to update to 2.2 which is 2.3.9 then when I try to restore a backup or apply any zips from sd card during clockwork Mod recovery I get the following error.
ClockworkMod Recovery v2.5.0.5
E: Can't mount /dev/block/mmcblk0 (or /dev/block/mmcblk0pt1)
(Device or resource busy)
Can't mount /sdcard
Does anyone have any solutions to help me out? I am not sure if it was something to do with the root method I used or something else I need to do to get it going.
The first time I rooted I installed the first leak 2.2 myself and then rooted with adb, but I no longer have the leak 2.2 file so I rooted 2.1 first then installed 2.2 like I said earlier through rom manager.
View 7 Replies
View Related
Feb 2, 2010
I read that official 2.1 (from another Droid forum) will be blocking root access. I too thought that this is kind of odd, so I thought to ask.
View 15 Replies
View Related
Nov 14, 2009
I'm using the free Advanced Task Killer app save as much battery life as possible.
After I "kill" all the apps, the same programs tend to run all over again (Alarm Clock, Corporate Calender, Settings, etc). How do I block programs that I don't use but tend to open continually?
View 1 Replies
View Related
May 22, 2010
Every where I go with the navigation on my droid it is off by a block. The street view is real obvious of that. Anyone else have that problem?
View 11 Replies
View Related
Jul 9, 2010
ever since i rooted my phone, ive been having problems with my evo memory card. i formated it and everything tried different roms but same thing happens whenever i take a picture,listen to music, or anything involving the memory card. all apps crash except for the camera which says cannot save files to the SD card due to insufficient file permissions.
View 1 Replies
View Related
Oct 2, 2010
I have recieved a message (official OTA ) on my Desire to download Froyo. After the download it says that the file is corrupted. I have an 16gb card, do i need to put the original card when downloading/instaling the Froyo? Theres a file that i can put in my sd card and it automat installs froyo?
View 1 Replies
View Related
Feb 7, 2014
I have 2 ThL devices: w200 & w100s, and for both I having the same problem.
Every time whatsapp compresses the video, it recived corrupted (only voice with black picture).
I tried to use LGCAMERA (MPEG4) as well, but the problem still exist.
View 3 Replies
View Related