yashsingh1/xdaforums huggingface dataset:
[Eee Pad Transformer Q&A, Help & Troubleshooting] hachamacha:
I'm not sure I understand the intent. I've just awoken and that's probably part of the problem..

'applypatch' is part of the standard (say 10.04 ubuntu) repo and is in a package called makepatch. Did you want to be able to run it "from" a standard x86 Ubuntu dist but have it targeting "armle" files or just be able to run it both on Ubuntu & Android correctly?

The files I tested were a) both binaries in different stages of evolution, and b) both built for armle(droids) and x86_64 and didn't behave differently, worked, and the checksum could be pre-calculated.

I'm going to mess around with applypatch when I'm out of my morning coma and get back to this in a bit.

Hah -- I do wonder if there's already a script (maybe it's a binary though) that lives in the dm* app on the tf101 that just does this already. You may have been right about that. Something has to apply those OTA patches. There's a few mechanisms for detecting them but I hadn't thought about how they're applied.

I'm trying to think if there's any scenario where the market applies 'patches' rather than always downloads the next version in entirety. Not sure about that.

Anyway, I'll see if I can get anywhere with applypatch.

Edit:: After a little messing around :

I finally see what you are trying to do and why what I'm doing is totally useless for that. I'm going to spend a little time looking over the imgdiff2 (apk) deal, and probably end up now figuring out a thing. ;)
[Eee Pad Transformer Q&A, Help & Troubleshooting] gee one:
I'll look into the makepatch package later today. Maybe that might be what I'm looking for.

Just to be clear, the intent is to be able to patch a "stock" system without it actually running on the TF. For example, to take the stock 8.6.5.9 image, decompress system/ to the PC, apply the patches from the OTA, and then end up with a stock 8.6.5.13 image. This would all happen on the PC, not the TF. It would streamline the ROM cooking process and make it easier and faster to spit out a complete, flashable update that won't fail sha1 checks because of mods.

sent from my cyanogen(mod) vision
[Eee Pad Transformer Q&A, Help & Troubleshooting] gee one:
Zombie Thread Alert!!!

You have been warned....

OK, so my C-fu isn't strong enough to figure out how to cross compile the apply patch binary to run on a x86 computer. However, I did notice that the applypatch binary gets built in the aosp/generic_x86 build, specifically in the system/bin folder.

This will be an exectuble file that will run on a x86 linux based system and do the same thing that the applypatch binary does to the ota package during the ota update. In other words, you can apply the ota patch to a system image from the comfort of the linux command line without having to actually flash the ota. This will allow you to be the first one on your block to have the new system image without having to mess up whatever rom you are currently running.

Of course, this might all be moot if we don't see another ota for our tf. Come on ASUS, just one more so I can test this out on a live update.

OK, so if you read this far, repo sync your aosp source and build the generic_x86 branch. The binary is aosp/target/product/generic_x86/system/bin/applypatch_static

edit: then after you've done that, use a script to parse the updater-script to extract the patching commands and then she-bang! I'll post mine a little later- I've got to get some flowers for tonight :)
[Eee Pad Transformer Q&A, Help & Troubleshooting] bgcngm:
Any luck with that? I'm also searching for a way to apply an OTA update to a ROM using Ubuntu.
[Eee Pad Transformer Q&A, Help & Troubleshooting] gee one:
Yeah, it works like a charm. The binary is compiled in the aosp/generic_x86 build. There is no need to flash, you can just pull it out of the system/bin folder after compiling the source. You can probably use an "mmm" command to make just files you want, but I'm not sure which package it's in. Then, I use a script that converts the OTA patch commands in the updater-script to a script file that runs on my linuxbox that calls the binary and patches the ROM under linux/ubuntu.
[Eee Pad Transformer Q&A, Help & Troubleshooting] bgcngm:
Do you mind sharing your applypatch binary? I don't have AOSP source on my Ubuntu installation right now, so if you don't mind sharing I wouldn't need to build it from sources...
[Eee Pad Transformer Q&A, Help & Troubleshooting] gee one:
I attached the applypatch binary- it should work on most x86 linux distros, maybe.

As I stated in my earlier post, the binary is built with the x86 build. I'm not so good with the build system, but I think the code is from the bootable/recovery/applypatch. I included the relevant notices for that code.

In the OTA updater-script, there will be a bunch of applypatch commands- you might have to change the name/permissions of the binary, but that syntax should be what you are looking for.

Enjoy!
[Eee Pad Transformer Q&A, Help & Troubleshooting] bgcngm:
Thank you very much for your time. It seems we are almost the only one trying this. The thing is that I really need to get this done because OTA update is failing for me by running it the usual way.

I've tried your binary and it works under my Ubuntu installation, however I was trying to manually patch just one file and got this:

bgcngm@ubuntu:~/Desktop/system/app$ applypatch_static ./ApplicationsProvider.apk - d9023cd58fd055e1ca3c8f8492b2c36aba923c6a 6184 69bea5d5a62980c611b903de8243d980f30e5fb5:../../patch/system/app/ApplicationsProvider.apk.p

applying patch to ./ApplicationsProvider.apk
target 6184 bytes; free space 1080520704 bytes; retry 1; enough 1
chown of "./ApplicationsProvider.apk.patch" failed: Operation not permitted

I got that chown error message although ApplicationsProvider.apk.patch was created. Is this the patched file?

EDIT: Nevermind, I forgot to run the command as superuser.

EDIT2: Would it be too much if I ask you also to share the script that converts OTA commands from updater-script into the correct syntax to run on Ubuntu?
[Eee Pad Transformer Q&A, Help & Troubleshooting] jawad6233:
IMGDIFF Tool Needed...

Hello Sir, i am looking for a tool to generate IMGDIFF patches on windows... i already have a BSDIFF tool, but coudn't find IMGDIFF... Thank You :)
[Eee Pad Transformer Q&A, Help & Troubleshooting] gee one:
I have no idea about windows, but the source is here.

https://android.googlesource.com/platform/bootable/recovery/+/master

You could install linux and build it from there. Follow these directions http://source.android.com/source/building.html

There is also lots of great info here http://wiki.cyanogenmod.org/w/Development#Learning_To_Build_CM

Good luck!
[Eee Pad Transformer Q&A, Help & Troubleshooting] jawad6233:
I am very thankful to you for replying me sir... these guides are awesome, but i dont think my slow internet connection and PC with 1GB RAM will be allowing me to download or compile :rolleyes:

actully i was making a tool to apply OTA Updates in PC, it is semi functional for now, it is able to read updater script and apply bsdiff patches, but can't handle imgdiff patches and now i am stuck at this point because of no imgdiff port for windows... :crying:

i will be very thankful if you or [MENTION=455439]bgcngm[/MENTION] can compile imgdiff at least for cygwin? :( else i will have to postpond this project until someone else compile and port imgdiff for win/cygwin :(
[Eee Pad Transformer Q&A, Help & Troubleshooting] gee one:
Sorry- I'm clueless about cygwin. You could try dual booting to linux to compile from there.
[Eee Pad Transformer Q&A, Help & Troubleshooting] jawad6233:
Thanks alot for taking your time to reply me sir :) now it seems like linux is the only option left :(

as you are a linux user will it be too much if i ask you to find a right guide to compile ota tools only? :( cause i don't know much about linux, and it will be difficult for me to find right guide to compile ota tools only...
[Eee Pad Transformer Q&A, Help & Troubleshooting] DeckerSU:
Answer is here - [Tool]imgdiff executable for windows. BTW, anybody have applypatch for Win32?
[Eee Pad Transformer Q&A, Help & Troubleshooting] vampirefo:
Hoping this works for lollipop.
[Android Apps and Games] dadyal:
http://www.emoiz.com/download-android-network-toolkit-app-for-android

It's free version
[Android Apps and Games] radxcoresteven:
I've been waiting for this! Thank you sir :)
[Android Apps and Games] NicholasQ:
Awesome.
[Android Apps and Games] NicholasQ:
You need a user name and password to use the app. Bummer.
[Android Apps and Games] de_gijbels:
Here's version 1.4

http://www.filesonic.com/file/2342173184/Anti1.4.apk
[Android Apps and Games] NicholasQ:
is this app safe?
[AT&T Samsung Galaxy S II SGH-I777] Fenny:
Tired of having to type in a password or PIN into your phone just because your Corporate Email account requires it? I know I am.

This modified Email.apk will allow you to bypass the password, and possibly other exchange security policies, simply because, when it evaluates the policy to see if it is active, it always returns that it is. And so, when it checks to see if your PIN is active, it simply thinks it is, and continues to go about it's business as normal.

To install do the following:

adb shell mount -o remount rw /system
adb push Email.apk /system/app/Email.apk
adb shell rm /system/app/Email.odex
adb reboot

Now with MOAR flashable zip.

YMMV, I am not responsible if you get fired for circumventing your company's Exchange Policies.

Appreciate my work? Buy Me a Beer:
[AT&T Samsung Galaxy S II SGH-I777] jank0023:
Anyone else use this? I'm interested...

My work installs a policy stating pw has to be typed in after 29mins...On Atrix I could hit the power button and it wouldn't require the me to type password until after 29 mins.

With S2, if I let the screen time out, I can awaken it and not type in password. If I hit the power button it makes me type it in.

Would love the behavior my Atrix had, I don't mind typing it in after no usage for 29 mins...but I hate that I have to type it in every time I hit the power button to turn off screen.
[AT&T Samsung Galaxy S II SGH-I777] prata:
Does this still display all of the source formatting and header inform in verbosity that the stock email app displays in messages?

That's a really unpleasant visual experience. Thanks.

--

Sent from a mobile device, all typos are errors in transmission. Please excuse my brevity.
[AT&T Samsung Galaxy S II SGH-I777] Fenny:
That behavior is in the system frameworks. This mod will allow you to, for instance use a pattern unlock where your work's exchange policies may require a numeric pin. Or no pin at all, it won't change the behavior of the system's lock/unlock timeout policies, just the exchange enforced ones.

It does nothing more than remove exchange policy enforcement.
[AT&T Samsung Galaxy S II SGH-I777] prata:
Thanks for the info. :-)
[AT&T Samsung Galaxy S II SGH-I777] SNadler:
Do you know if this email.apk supportss multi select for "Mark Read" and "Mark Unread" and "Delete" ?
[AT&T Samsung Galaxy S II SGH-I777] jsmith8858:
Hope that answers the question!

Also, fyi , all variations of the email client support multiple delete, just choose the delete menu item when viewing your inbox or some other folder.
[AT&T Samsung Galaxy S II SGH-I777] Massael:
Thanks. This is awesome :) I've always hated having zero timeout.
[AT&T Samsung Galaxy S II SGH-I777] jank0023:
Quick newb question..anyone know why I wouldn't be able to perform:

adb shell mount -o remount rw /system

I get error mount: Operation not permitted

I know I have root and I have debugging enabled....I'm familiar with running adb on my Atrix...for the life of me can't figure out what I may have missed.
[AT&T Samsung Galaxy S II SGH-I777] Fenny:
Try doing this:

adb push Email.apk /sdcard/Email.apk
adb shell
su
//Here accept the superuser request on the phone.
mount -o remount rw /system
rm /system/app/Email.odex
cp /sdcard/Email.apk /system/app/Email.apk
chmod 644 /system/app/Email.apk
reboot

If it gives you an error on 'cp' reinstall busybox... you can download the busybox installer from the market.
[AT&T Samsung Galaxy S II SGH-I777] phositadc:
Will this APK work on other phones? Thinking about giving it a try on my DInc.

Also, any idea if you have to re-add your Exchange account after replacing the APK? Or should all of my Exchange settings (username/pw etc) remain unchanged?
[AT&T Samsung Galaxy S II SGH-I777] Fenny:
this one probably will not work on your device. However, if you can get me a deodexed version of that Email.apk I can probably mod it for you. :D
[AT&T Samsung Galaxy S II SGH-I777] phositadc:
Sweet, thanks for the offer! I'm actually in the process of switching phones, but once I actually get one that I'm gonna hang on to for awhile I might drop you a line.
[AT&T Samsung Galaxy S II SGH-I777] tone_la:
What is a MOAR flashable zip (ref OP)? I googled this and still found nothing.

I flashed the zip file with my CWR and it didn't seem to change my EMAIL.APK app. I added my Exchange account and it went through the same wizard with password and both USB and SD card file encryption requirement. I was not sure what file encryption they were going to use, so I removed the account from "Accounts and sync" before rebooting. But still when I rebooted, it prompted for the password, but so far has not encrypted any of my data. I then removed the password and was back to normal with no Exchange email. Any thoughts?
[AT&T Samsung Galaxy S II SGH-I777] jeffsf:
Try http://xdaforums.com/showthread.php?t=775007 -- I can't speak for the SGS II, but works fine on SGS4G under Froyo
[AT&T Samsung Galaxy S II SGH-I777] Dungeon47:
It's a comical corruption of the word "more," meaning that the zip is now flashable. Imagine a cat saying it.
[AT&T Samsung Galaxy S II SGH-I777] rav4kar:
Could someone please confirm if this has worked on AT&T Samsung galaxy s2 that is rooted but still on Stock ROM?

Basically I would like to get rid of password (PIN, alphanumeric) requirement for Microsoft exchange email setup on my phone, would like to use "Draw pattern Unlock" , simple and good lock mechanism.

My problem is I got used to iphone's 4 digit unlock pin and this password screen does not show boxy fields and in iphone once you type in 4 digits it automatically opens up, you don't need to specifically press "OK" button as in S2.
[AT&T Samsung Galaxy S II SGH-I777] Massael:
Yeah, it works perfectly on rooted stock, enjoy!
[AT&T Samsung Galaxy S II SGH-I777] rav4kar:
Thanks much for confirming this..
[AT&T Samsung Galaxy S II SGH-I777] rav4kar:
Okay folks, I applied this and worked fine but got panicked!

For those who try this be advised from my experience...once you follow the steps as given in the original post, it may remove the Email icon (shortcut) on the home screen and all email setup, so do not get panicked please make sure you save important details such as Exchange server name, etc. beforehand that you can reconfigure later.

Thanks!
[Huawei Ideos X5 U8800] mkr17:
i recently switched 2 oxygen from stock 2.2.1 , n found out that whenever i use more power ( like playing games like m combat 2 , n using few apps) i phone automatically switchs off , so pls i need help ????
[Huawei Ideos X5 U8800] levibuko:
Did you wiped everything? Try different cpu clock speeds
[Huawei Ideos X5 U8800] mkr17:
nope i forgot 2 wipe data , am now trying cm7 after wiping data , hope this works .

btw thanx for the advice
[Motorola Droid Bionic] Itismetravis:
Rooted Bionic deodexed:

trying to revert to stock and was applying the revert to stock battery mod here

http://xdaforums.com/showthread.php?t=1279475

after installing the zip and rebooting im stuck at the dual core screen.

Any suggestions??
[Motorola Droid Bionic] mistawolfe:
FXZ. Or, pull your battery then reboot. That somehow fixed me twice this weekend when stuck.
[Motorola Droid Bionic] Itismetravis:
pulled the battery after 15 minutes three times so thats not working...what is FXZ and is it easy to use?
[Motorola Droid Bionic] mistawolfe:
It's the new SBF, found in development. Or, it would probably be easier to use dhacker's one click fix - found in the same section.
[Motorola Droid Bionic] kejar31:
Boot into recovery and wipe data... to boot into recover simply hold both the power up and down buttongs while pressing the power button... when presented with the option select recovery...
[Motorola Droid Bionic] mistawolfe:
Thanks for teaching me how to find the stock recovery on this. I tried the old volume down trick and only got the fastboot menu. Not sure why I didn't try both buttons. Durp! moment for sure...
[Motorola Droid Bionic] biyobe:
trying this and i'm getting the android guy with the white triangle and exclamation mark.. (which is after i select recovery)
[Motorola Droid Bionic] eye__dea:
Whats going on with your phone? Bootloop?
[Motorola Droid Bionic] lhkjohn:
Press both buttons again.
[Motorola Droid Bionic] biyobe:
been trying repeatedly and still always goes to the white triangle with yellow exclamation mark..

---------- Post added at 04:45 PM ---------- Previous post was at 04:32 PM ----------

finally home from work and going the RSD Lite route and going back to stock and new root.. then will pull out the backup (from pre lockup) and then hopefully will be back in business!! :)
[Motorola Droid Bionic] ROB281:
I thought it was just volume up after reaching the triangle?
[Motorola Droid Bionic] lhkjohn:
Nah it's both buttons

Tapatalkin' from my eclipsed BIONIC
[Vibrant Q&A, Help & Troubleshooting] }{Alienz}{:
Hi all,

My mother just bought a Vibrant and moved from a feature phone. As it goes, I will be flashing it from it's eclair condition to Froyo but since I haven't run Froyo in so long (I'm CM7 fan), I don't know which Froyo ROM to use.

Any help is appreciated here. I need the best possible ROM+Kernel for battery. I don't really care about other features at the moment. Only requirement is to last as long as possible on a charge.
[Vibrant Q&A, Help & Troubleshooting] GreggoryD502:
I'd suggest bi winning v3 by Dan brutal. I know he's moved on, but the rom is rock solid for me. I use the bullet kernel that came with the rom but alot of people used the Bali kernel that was under volted.
[Vibrant Q&A, Help & Troubleshooting] caldran:
bionix v2

bionix v2 and bali 1.8.8 uv . .:D
[Vibrant Q&A, Help & Troubleshooting] lazyb421:
ZenDroid w/ included Bali kernel or DMZ kernel. ZenDroid is already very much stripped down and has newer tweaks than most other froyo roms. Very efficient. Maybe you should order another one of those 1800mah batteries for her too. ;)
[Vibrant Q&A, Help & Troubleshooting] Jasonhunterx:
Project v an bali x oc 1.2 conservative undervolt 50 across board
[Vibrant Q&A, Help & Troubleshooting] kaintfm:
Basically Bali 1.8.8uv or Bali X 1.2 (if you want to UV further) kernel coupled with any of the recently updated Froyo Roms. I'd suggest Toxic8 if you really like to theme your phone (though nothing beats MIUI for theming) and Zendroid if you want a stripped down, Touchwiz-less experience.
[Vibrant Q&A, Help & Troubleshooting] cyberpyr8:
I have to agree with @GreggoryD502 on this one. I have put Winning on all 3 of my family phones and it ran great in terms of battery. Except for CM7 and Neo 16 that I am running now, I have never had any better battery life than I did with that rom. It isn't the latest and greatest but it is a solid performer. I flashed other 2.2 roms and ended up coming back to it several times until Cyanogen was released and stable.
[Sony Tablet S] darktranquility18:
Anyone unhappy with the tablet s and wanna trade, pm me
[Samsung Epic 4G Touch] churro7:
Any prl that allows normal sprint operation but allows 3g roaming in California?

Samsung Galaxy S Dos indeed
[Samsung Epic 4G Touch] skandranon314:
I was using 11115 on my OG Epic. Just flashed it on my Epic Touch.

The prl can be found here

Instructions can be found: here

If this helps ya out, please click the "Thanks" button.
[Samsung Epic 4G Touch] churro7:
Are you located in California

Samsung Galaxy S Dos indeed
[Samsung Epic 4G Touch] skandranon314:
No. There are some areas where you just cannt 3g roam. I saw a explanation once as to why, but I forget. I did use that prl when I drove across the country and back (5300 miles!) a couple of weeks ago. I was forced roaming almost all of the time. I got 3g about half of it. Almost always in citys though.
[General Questions and Answers] MichaelAmrs:
I want to create manual internet settings in nokia C2-03 but there is no options for that. My c2-03 works on s40 OS.
[Samsung Epic 4G Touch] robert_ayala:
Would someone please work on porting this ROM over?

http://xdaforums.com/showthread.php?t=1194765

It is currently being discussed as a theme port here( http://xdaforums.com/showthread.php?t=1268510 ) but feel the ROM would be great!
[Samsung Epic 4G Touch] luigic81:
that thing is sexy!
[Samsung Epic 4G Touch] vwlove09:
Flame thread.
[Samsung Epic 4G Touch] cachorropedorro:
Someone didn't read the rules. And by someone, I mean OP.
[Samsung Epic 4G Touch] H4k3r4r34l:
lol hilarious
[Samsung Epic 4G Touch] stangdriverdoug:
You may begin....

Samsung Galaxy S II
[Samsung Epic 4G Touch] cidica:
That is one damn sexy rom though O.o
[Samsung Epic 4G Touch] ilostmypistons:
Could someone please port over the customer support person in this rom PLEASE
[Samsung Epic 4G Touch] jvjidNite:
Rom does look great. Would flash that rom any day...
[Samsung Epic 4G Touch] DonutGrunt:
Dear baby jesus

please bring this rom to us
[Samsung Epic 4G Touch] gtuansdiamm:
Is that a really good theme or a rom
[Samsung Epic 4G Touch] robert_ayala:
Were you able to solve the last issue?

Did the creator provide permission?
[AT&T Samsung Galaxy S II SGH-I777] pogiewun:
purchased from amazon.com for $32.48 USD including shipping and handling.

i personally love the case. its not as bulky as everyone says it is. the GS2 is a lil too slim in my opinion and this case makes it a suitable size for me. fitment is almost perfect...i say almost because it seems like the hole for the speakers are slightly misaligned(shown in the picture below). the camera, 3.5mm jack and the micro usb holes are a perfect fit. the volume and power buttons are easy to press while in the casing. the black shiny plastic is very durable, but does show smudges if you have greasy or oily hands. the cool grey rubber provides grip and is placed perfectly along the sides and frontal rim of the casing. here are some pics:
[AT&T Samsung Galaxy S II SGH-I777] Aquarianperry:
I saw this in the AT&T store and tried it out with my phone, very nice case made 110% to fit the GSII but it ends up being VERY thick pretty and about 1.5x the thickness of the phone itself thus eliminating the thinness of this phone. If you don't mind the thickness or really need the protection then it's a great case for you.
[AT&T Samsung Galaxy S II SGH-I777] ngocdao:
had exact same case for my Thrill. I loved it, but like what aquarianperry mentioned above, it does make feel a little bulky. kick stand was pretty useful when it was needed :)
[AT&T Samsung Galaxy S II SGH-I777] eep2378:
Yeah don't like the added thickness. I really hope they come out with the body glove case like the one for the cappy, one of the best cases -)
[AT&T Samsung Galaxy S II SGH-I777] Red5:
I agree! I had the BodyGlove case for my Captivate and I loved it. Sleek and smooth yet durable.
[AT&T Samsung Galaxy S II SGH-I777] grumbled23:
using it now- makes the phone thick but it is durable and sturdy

kickstand will come in handy when i want to eat and watch tv shows at lunch
[AT&T Samsung Galaxy S II SGH-I777] WillEat4F00d:
I find the kickstand to be really useful when I'm laying down with the phone on my chest.
[AT&T Samsung Galaxy S II SGH-I777] aver2one:
I ordered that same case in white from Amazon on Sunday!.. I had that same case on my LG thrill and I absolutely loved the kick stand..
[AT&T Samsung Galaxy S II SGH-I777] bluetoothless:
Does this come with a holster, or has someone found a compatible one i.e. Platinum ?

an INFUSION of REALITY