yashsingh1/xdaforums huggingface dataset:
[Android General] Zarboz:
so far i have tried using DD to strip bad bits / bytes out of the file and it still is corrupted

you can strip the first ammount of bytes

Today I had to remove the first 1131 bytes from an 800MB mixed text / binary file, a filtered subversion dump I'm hacking for a new repository. What's the best way to do this?

To start with I tried

dd bs=1 skip=1131 if=filtered.dump of=trimmed.dump
but after the skip this copies the remainder of the file a byte at a time, i.e. very slowly. In the end I worked out I needed 405 bytes to round this up to three blocks of 512 which I could skip

dd if=/dev/zero of=405zeros bs=1 count=405
cat 405zeros filtered.dump | dd bs=512 skip=3 of=trimmed.dump
which completed fairly quickly but there must have been a simpler / better way? Is there another tool I've forgotten about? Thanks!

got past alot of the bad header files

but i think there is an algorithm inside the .exe that will tell us what we want

also when trying to flash these RUU's it looks on your device for a sigcheck

if you are able to successfully run the RUU

does the system cache the system.img somewhere?? or does it extract it to the unit
[Android General] carl1961:
same with CYGWIN

same with CYGWIN

with ext2explore only system files folder/ apps extracted

467 MB (490,099,471 bytes

516 Files, 2 Folders

second folder bin is empty
[Android General] Zarboz:
its looking right now as if we need to figure out how to repack the CRC and remove those 384 misc byte?
[Android General] carl1961:
Beyond Compare Failed too
[Android General] sbryan12144:
Yeah. It looks like they're purposely corrupting the zips. The only thing I find common is 384 offset.
[Android General] Zarboz:
i think its a set of data to be stripped from the actual file

if we find the data to strip i feel it will resolve the other unzipping problems

now

where to find this data to strip :D
[Android General] sbryan12144:
Maybe extract the exe and the cab to find out
[Android General] carl1961:
I uploaded what cygwin un ziped if you can use it

http://d-h.st/QQS

romcygwin.zip

I copyed rom.zip to phone and tryed with term console and busybox complained
[Android General] Zarboz:
are these still with corrupted System.img?
[Android General] carl1961:
yes thats what was unziped
[Android General] Zarboz:
jw did any one else have success with dd if=

and removing the first 384 bytes in the file?
[Android General] mike1986.:
I don't really think that "corrupted" is good name for that. They are not corrupted, because device can read and extract it properly. I think this is a mechanism of faked checksums inside or maybe HTC wrote some small app for Linux and a password or special keyfile might be required.
[Android General] sbryan12144:
Yeah. It would make sense
[Android General] Shaky156:
Did have a quick look, HTC have messed with it, they've done their own thing to it. If it was a normal corrupt zip afaik it would still start with Pk showing its a zip file

but this doesnt start with pk

Also you have this Htc@egi & RUU version number 1.14.709.16 within the zip

They clearly messed with the file.

Think diamondback/flemmard/chainfires needed for this one

I could get most of it extracted, 4 failed due to data error and the only 1 failed due to CRC error was the main system.img
[Android General] sbryan12144:
Yeah. The offset of 384 is constant throughout all the zips. But yes, we'll need some real help.
[Android General] Zarboz:
i agree

i feel as tho it does a sig check on the device and decrypts the .zip with the coresponding "pub" / "priv" key on the device
[Android General] usaff22:
Tried extracting it yesterday and the only solid thing I got was /system/app/ through cygwin. None of the other /bin/ or /framework/ files or anything for that matter other than app succeeded.

Why would they even do it in the first place is beyond me.
[Android General] carl1961:
to stop custom roms of JB, also to increase people upgrading there phone $$$
[Android General] chubbzlou:
I was able to extract the app folder but the the rest of the folders in the system.img gave me errors and I couldn't look in the build.prop it froze up the application that I was using. I think the answer to our problem is in the build.prop. Just throwing out and idea.

Does anyone know how to extract the exe with out running it?
[Galaxy S I9000 Q&A, Help & Troubleshooting] rubervalrfl:
Good morning guys, I would like if someone could help me with this error below, I already compile ROMs like CyanogenMod and AOKP, but this Slim is giving me the biggest job now stopped this error and i could not get out, someone has any idea?

GEN / media/ruberval/DADOS2/slimroms/out/target/product/galaxysmtd/obj/KERNEL_OBJ/Makefile
scripts / KConfig / conf - silentoldconfig Kconfig
Note: Some input files use or override a deprecated API.
Note: Recompile with-Xlint: deprecation for details.
GEN / media/ruberval/DADOS2/slimroms/out/target/product/galaxysmtd/obj/KERNEL_OBJ/Makefile
CHK include / linux / version.h
CHK include / generated / utsrelease.h
Using / media/ruberval/DADOS2/slimroms/kernel/samsung/samsung-kernel-aries the source for kernel
make [3]: `include / generated / mach-types.h 'is up to date.
target Java: AriesParts (out / target / common / obj / APPS / AriesParts_intermediates / classes)
CALL / media/ruberval/DADOS2/slimroms/kernel/samsung/samsung-kernel-aries/scripts/checksyscalls.sh
CHK include / generated / compile.h
/ media/ruberval/DADOS2/slimroms/kernel/samsung/samsung-kernel-aries/scripts/gen_initramfs_list.sh: Can not open '.. / ramdisk-ics / jb_combo /'
make [3]: ** [usr / initramfs_data.cpio.lzma] Error 1
make [2]: ** [usr] Error 2
make [1]: ** [sub-make] Error 2
make [1]: Leaving directory `/ media/ruberval/DADOS2/slimroms/kernel/samsung/samsung-kernel-aries'
make: ** [TARGET_KERNEL_BINARIES] Error 2
make: ** Waiting for other processes to finish.
Note: device / samsung / aries-common / AriesParts / src / com / CyanogenMod / settings / device / DeviceSettings.java uses or overrides a deprecated API.
Note: Recompile with-Xlint: deprecation for details.
Note: device / samsung / aries-common / AriesParts / src / android / hardware / TvOut.java uses unchecked or unsafe operations.
Note: Recompile with-Xlint: unchecked for details.
Ruberval Fenix ​​@ :/ $ media/ruberval/DADOS2/slimroms
[Galaxy S I9000 Q&A, Help & Troubleshooting] erpurohit:
why don't you try to contact the dev of slims
[Galaxy S I9000 Q&A, Help & Troubleshooting] rubervalrfl:
I contacted but nobody answered me until today, I'll lock the topic because I decided it alone.

Alias ​​could not see where I can close the post, a moderator could do it?
[Nexus 7 Q&A, Help & Troubleshooting] WibblyW:
Anyone playing with 4.2 yet?

Second and subsequent users seem to have to go through some kind of set up. Can they/do they need to use a Google Account they already have on another device? Is it a good idea for them to do so?
[Nexus 7 Q&A, Help & Troubleshooting] ajpettit:
was just playing around on mine yeah it seems it's set up as another user (inc google sync everything) what i was hoping for was like a guest account that could browse the web use some of the apps (according to a whitelist or something) say im with some friends and am streaming music and want to be able to let them use it without giving them access to my email and other stuff?

sadly not to be i fear unless someone can allay my fears?
[Nexus 7 Q&A, Help & Troubleshooting] WibblyW:
Looks like you have to emulate a guest user by pre configuring them as a 'dummy' account, with dummy email etc.

Would be difficult to get them access your paid apps though. And what if you set up free apps under that account? Are re downloaded and take up space? That would be a bummer for big apps like games.
[Nexus 7 Q&A, Help & Troubleshooting] ajpettit:
exactly want to show the thing off but don't want to have to stand over them making sure they don't go rooting around
[Nexus 7 Q&A, Help & Troubleshooting] Wilks3y:
How is this going to be managed then?

Good Point !
[Nexus 7 Q&A, Help & Troubleshooting] bl4cKz4cK:
I've tried that out with my girlfriends account and it seems like if you download an app, which you already have on your device, it "installs" it almost immediately. There is no re-download of the file. However, if you start the app you'll see a new instance of it, without any data taken from your other account. Maybe there are some apps which keep their settings but those which I've testet so far seem to start naked. This will mean that the app itself will only stored once, the data like savegames etc. is stored per user.

What bugs me is that there seems no way (maybe with root) to access the internal storage area of the other user. As example, I have some movies stored on my device and I can only access them in the account which was active, when I copied the files to the device.

Edit:

BOOOM: Here we go. Tried to install the facebook app on two users and got the following message:

"You cannot install this app because another user has already installed an incompatible version on this device"

Seems like Google adding this feature is only one part of the story. I think there are quite a lot apps out there which will run into the same issue.

Edit2:

Looked a little bit deeper into this and found out, that this was NOT caused by an incompatibility issue from the facebook app itself. I've modified the apk (for testing purposes, don't use facebook much) with "AppGuard" and installed it outside of the google play store. As I tried to reinstall the facebook app from the play store I ran into the previous described error message.
[Nexus 7 Q&A, Help & Troubleshooting] ejkeebler:
So am I correct in thinking there will be no way to "make apps available" to all users? I thought this would be a great tool for my son, so i can basically say you can have access to these 10 games and that's it. but if i have to add my google account then "install" each game that's going to be a pain in the arse!

Is there no resource documentation on this? I looked I could not find anything on google that addressed apps really at all.
[Nexus 7 Q&A, Help & Troubleshooting] tehSmoogs:
Each user appears to get a their own "home" directory created in /mnt/shell/emulated.

Default user dir is "0"

Second user dir is "10"

Each contain the standard dir's from 4.1 and earlier.

I took a CWM nandroid backup immediately after upgrading and the clockworkmod folder is in the same directory, so I'm guessing that any app that uses the old-style home path will need updating.

since adding the second user SuperSu has had issues - hangs & then crash, and the Settings app crashed - if I have time I'll revert to stock, upgrade again, and then add another account without rooting & installing supersu/busybox et al.
[Galaxy S II Themes and Apps] mythtrandyr:
Work only on ICS Samsung based Roms! Not work on CM and AOKP rom

Install instructions: (Do not forget to make a backup first)

- Flash via CWM

or

- Flash via Stock Recovery (Installation zip file, signed for a normal installation in stock recovery)

Screenshots:

Downloads: S3_ClockPackage

Tab(icon+text) version, download: S3_ClockPackage_tab_icon

All say thank you Mirko ddd for remaking Tab (​​icon+text)
[Galaxy S II Themes and Apps] JoFury:
Yeah!!!!! Wait for this for long time!! :good: Thx! And can you port the MMS,apk too? I like it's theme features

Edit: Anyway, for those who wan to install in ODEXED Rom ( Stock Rom) , Push the apk into system/app, and delete Clockpakage.odex and reboot. Voila =)
[Galaxy S II Themes and Apps] MPooZD:
sounds great ! Thanks

who's can port galaxy s3 S-Memo :D
[Galaxy S II Themes and Apps] rush25:
@op u have full system dump then i can tell you how port the keyboard too..if interested reply.
[Galaxy S II Themes and Apps] JoFury:
Then i'm interested =))
[Galaxy S II Themes and Apps] rush25:
Already ported by mythandyr ;)
[Galaxy S II Themes and Apps] syahradzi:
Thanks:)
[Galaxy S II Themes and Apps] khaled_7:
FORCE CLOSE when I start stop watch or timer
[Galaxy S II Themes and Apps] mythtrandyr:
Delete /data/data/com.sec.android.app.clockpackage dir and reboot your device
[Galaxy S II Themes and Apps] Mirko ddd:
Congrats mate, i got it too :) will post tomorrow
[Galaxy S II Themes and Apps] MPooZD:
waiting him :)
[Galaxy S II Themes and Apps] khaled_7:
still the same problem
[Galaxy S II Themes and Apps] Brendo:
Doh, I made a copy of my clockpackage (well, renamed it), flashed the zip, and the apk is corrupt (can't be passed). I tried copying manually, but it fails. Only happens on this apk file as can copy others in fine. Now I can't get my old one back either....

EDIT: Turns out my system rom was full (only 200k remaining). I removed a couple of frozen system apps and it appeared copied fine :)
[Galaxy S II Themes and Apps] mythtrandyr:
Thanks )
[Galaxy S II Themes and Apps] mythtrandyr:
Send me logs...

How to save logs, see here:

http://xdaforums.com/showpost.php?p=31376226&postcount=23
[Galaxy S II Themes and Apps] rush25:
How to port Touchwiz Keyboards for all AOSP & STOCK Roms

@Mythtrandyr if u want to port S3 keyboard to our devices just replace these files :)

It will work on all roms [CM,AOKP,AOSP,MIUI,STOCK,etc]

Extract :-

-system\app\AxT9IME.apk

-\system\etc\permissionstouchwiz.xml

-\system\lib\libdhwr.so

-\system\lib\libXt9core.so

-\system\T9DB

Make a flashable zip and try ;D
[Galaxy S II Themes and Apps] mythtrandyr:
Why did you decide that I will make the keyboard port? I do not see anything useful in the S3 keyboard to deal with it...
[Galaxy S II Themes and Apps] trailmaker:
Flashed it via CWM but nothing's changed. It didn't give any errors during install.

I have dilidroid rom.
[Galaxy S II Themes and Apps] mythtrandyr:
unzip and copy ClockPackage.apk to /system/app/ and reboot your device
[Galaxy S II Themes and Apps] khaled_7:
It keeps saying reading logs please wait but the screen stays blank

is it normal ??

are you sure that the stopwatch works fine with all roms ? I'm on simplistic V

Should I have deleted the stock clock before flashing this ??
[Galaxy S II Themes and Apps] wer11:
Amazing work thanks alot i wait this mod with tabs containing icon+text
[Galaxy S II Themes and Apps] Paul_Days:
Reboot loop with XWLPT S3mods ROM :(
[Galaxy S II Themes and Apps] Heroeagle:
1.extract clock package.apk

2.go to system/app using root exploler or similiar one

3.rename old clock package.apk to clock package.bak

4.copy new apk to system/app

5.set permission to rw-r--r--

6.restart phone
[Galaxy S II Themes and Apps] Mirko ddd:
coming soon ;)
[Galaxy S II Themes and Apps] mythtrandyr:
Update...read first post
[Galaxy S II Themes and Apps] Mirko ddd:
Buddy update the screenshots xD

It was easy enough right? :D
[Galaxy S II Themes and Apps] LegendM:
Is any one tried with last leak jb?
[Galaxy S II Themes and Apps] mythtrandyr:
Yes :) Thanks again
[Galaxy S II Themes and Apps] wer11:
Many thanks for tab icon text version :good:
[Galaxy S II Themes and Apps] seanwong98:
Is it possible to make this mod available for CM10?
[Galaxy S II Themes and Apps] Martillero:
This clock solved my problem w the sj leak clock when you change dpi. Thanks a lot!

Enviado desde mi GT-I9100 usando Tapatalk 2
[Galaxy S II Themes and Apps] LuanTeles:
SOLVED

Flashed via cwm and FC

i deleted data/data files and same thing

So i FOUND A SOLUTION

through Root Explorer in System/apps Just Select The ClockPackage.apk and Install like a normal apk.. and done... its FUlly working now
[Sony Xperia S, Acro S, Ion] mirhl:
i'm trying to make my own FTF stock rom file, from PC companion download cache

in the blob_fs i have many files (which are icons) and 3 files (named FILE_xxxxxxxxx ,where x is a number)

the tutorials said to decrypt only the 2 bigger files, but i uncompressed even the litter, which contains a file called loader.sin

i opened it with notepad++ and it doesn't seem useless

why this file shouldn't be in ftf archive?

-edit-SECOND QUESTION: why would i need "disable signature check" ticked?
[Samsung Galaxy Nexus] Akizella:
flashed takju with command prompt to upqrade to android 4.2 so i flashed yakju, after that i had a really poorn signal i mean something like gprs 3/5 usually its full signals full speed, installed 4.2 didnt make difference

Lol flashed yakju still poor signal... what should i do?
[Samsung Galaxy Nexus] beekay201:
Change your radio back to what it was? From the little i was able to understand from your post...

sent from my i9250
[Samsung Galaxy Nexus] Akizella:
yeah

sorry my bad english. tried to flash older radio back but nothing is working, i also know its not about carrier because my mom's xperia neo works 100% with same carrier. Cant find any logical explain to this O.O i just flashed yakju and since that everything has been bad. even tried to redownload factory images, nothing did help. Is it possible that something broke while i flashed yakju?

Edit:

Lol i see the bad english on first post :D i was really tired
[Samsung Galaxy Nexus] beekay201:
i flashed takju last night and from what i've seen/experienced, no signal issues
[Samsung Galaxy Nexus] FreXxX:
You might have a wrong RIL?

Cheg GetRIL from the market.
[Samsung Galaxy Nexus] beekay201:
if he flashed stock rom (factory image), there's no way he'd have the wrong ril.
[Samsung Galaxy Nexus] ATMOSF3AR:
No problems here
[Samsung Galaxy Nexus] Ben67100:
Hi every one, this morning i wanted to upgrade my galaxy nexus with android 4.2, i had stock yakju, i downloaded e587de13bf8a.

signed-yakju-JOP40C

-from-JZO54K.e587de13

And now my phone is dead... I have bootloops, nothing more...

I still have access to the clockwork recovery....

Any ideas for a fix ?
[Samsung Galaxy Nexus] ngankl:
Me same problem as you, please help!!
[Samsung Galaxy Nexus] oddfuturejoey:
Reboot to recovery, restore previous nandroid?
[Samsung Galaxy Nexus] ngankl:
I try to wipe to factory, wipe data, format everything, still cannot boot into system. only can go to recovery mode.
[Samsung Galaxy Nexus] evil_penguin:
flash stock rom.
[Samsung Galaxy Nexus] Ben67100:
Ho, and i'm on a mac :good:
[Samsung Galaxy Nexus] Ben67100:
How can i flash stock rom ? How can i put the files on the sd-card ?

If i try to use

Install Stock Jelly Bean 4.1.2 / Unroot to Stock Jelly Bean [Odin for Mac] GSM ONLY!

I get a baseband error ... not the same version...

Thanks
[Samsung Galaxy Nexus] ngankl:
I find to way to recovery system.

1. unplug the phone from pc

2. download adb driver from pdanet.co/bin/PdaNetZ350.exe and install it

3. use Galaxy Nexus ToolKit go 7 then 9 then 1 > the phone will back to 4.1.2
[Galaxy Note II Q&A, Help & Troubleshooting] dy246:
I have just bought a note ii, after installing my apps, i noticed that i cannot update the phone via wifi. The message appears : "your device is modified. software update not available "

I have not rooted my phone and I do not intend to. Please help...

My device is purchased in Malaysia, with the firmware : JRO03C.N7100XXALJ3
[Galaxy Note II Q&A, Help & Troubleshooting] djashjones:
please search before posting, this has been explained
[HTC One X+] shubhamchamaria:
Bump!
[HTC One X+] oopled:
The guide doesnt contain any of the commands or parameters!

Is that what you mean by "(to be detailed shortly)"?

thanks
[HTC One X+] shubhamchamaria:
Oops....I'll add them soon !
[HTC One X+] oopled:
I found the original post, made a full backup using

adb backup -apk -shared -all -f filename

it made a backup of about 1.2gb which I tried restoring. It hung on restoring uk.co.7digital. Well I assume it hung, no movement in 30minutes and I could not see any file access to the backup on my pc. I killed it. It had restored my apps ok, but rosie was completely blank, just the apps button, I didnt investigate any further as to whether contacts, app data etc were there, I just did a factory reset thinking some things may be in an inconsistent state
[HTC One X+] ifixrjs:
Restore command?

What's the restore command?
[HTC One X+] dohduhdah:
http://www.thesuperusersguide.com/adb-backup--restore.html
[Nexus 7 Android Development] sparksco:
Update: This bootloader is older and is not the newest available one. If you want the 4.18 version one go to THIS post and flash it with fastboot.

Older bootloader version: Doesn't flash and take hold for everyone, flash at your own risk

Usefull for people that don't want to flash in fastboot. The official OTA for 4.2 flashes this bootloader through recovery in the exact same manner ;)

md5sum: 7cb16bc418e15ee2c7c48b82ea923e23

sha1sum: 6151d4afd075d03cfdfa33d111a1a6bba25fcab8

sha256sum: 2b7efeade37c1ec00d03ba71a56d5b921e6c27d4393298020bcd1601ae079605

sha512sum: cd7444ec7073e553b7715e4ee30d69f64b06ab3846f1d0ff3d9129f652ab4e90c3400f139a0347f0b78a0719c86b6e2d7f41d36068f032472dbc90c3530cefcb
[Nexus 7 Android Development] remmyhi:
You need to be aware that on my Nexus7 the problem with Custom Recovery on the newest bootloader still exist.

Means you need to downgrade to 3.34 in order to flash CWM.
[Nexus 7 Android Development] sparksco:
I need to be aware of problems that happens on your Nexus7? I don't have that issue I flashed TWRP Recovery just fine on this booloader...
[Nexus 7 Android Development] remmyhi:
No, I did not write to you personally. Glad it worked on your side.

Just the people to know.
[Nexus 7 Android Development] sparksco:
That's really strange. I would try flashing the 4.1.2 factory images even though it might wipe everything including your sdcard.
[Nexus 7 Android Development] remmyhi:
Did that, thanks. Indeed wiped everything :)

Glad I had a backup
[Nexus 7 Android Development] miodrag.cutura:
Hey guys,

So, I can flash this file from TWRP and it will upgrade my bootloader?

Thanks in advance!:)
[Nexus 7 Android Development] smirkis:
you can, but make sure you check MD5, flashing a corrupt download can kill your device. OP, you should add a MD5 check in the zip if possible. but thanks for this none the less.
[Nexus 7 Android Development] sparksco:
If you have a rom like cm10 installed or other rom that has buysbox in it, just type busybox md5sum /sdcard/bootloader-grouper-4.13.zip

Either in terminal emulator or adb shell.

If your on stock you'll probably want to check it with a program on your pc or install busybox from one of the playstore busybox apps. Of course you'll need to be rooted.
[Nexus 7 Android Development] sparksco:
I went ahead and added sha1sum, sha256sum and sha512sum checks.
[Nexus 7 Android Development] miodrag.cutura:
I have just flashed the file and thank you, I no longer have to keep my power button pressed for 20 seconds just to have my tablet go on:)

Thank you so much!!!
[Nexus 7 Android Development] .torrented:
If anyone has any problems there is a link in my SIG to fix it or if you just need to revert back...
[Nexus 7 Android Development] sparksco:
Just a FYI the older bootloaders are in the factory images! You can extract them out and flash the bootloader separately if you don't want to flash ALL the factory images. So far flashing this with twrp I have not had one single issue yet to speak of... Each bootloader is meant to run on specific platforms, recoveries, kernels ect. So on that note I still suggest if you want to revert your bootloader you revert completely with the factory images.
[Nexus 7 Android Development] N@th_OC:
Hi,

thanks for that but when i falsh it in TWRP it's wipe all my data but i still have the 3.41 bootloader?

I'm not sure if i understood the thing to do with the md5sum?
[Nexus 7 Android Development] farshad.shirzadii:
f*** this bootloader i flash it yesteday.........

and my tablet stay on bootloader and i can't flash google image 4.1.1-4.1.2-4.2:(

why??

i can't downgrade bootloader too.........
[Nexus 7 Android Development] mondokat:
CWM + CM10 stable

I just flashed this bootloader using CWM 6.0.1.0 and CM10 stable. I used Chrome to download it and the md5sum command in terminal emulator to check the md5 hash before hand. It flashed fine, I have the new version number, everything continues to work. Very easy.
[Nexus 7 Android Development] .torrented:
Check this http://xdaforums.com/showpost.php?p=32735541&postcount=5039
[Nexus 7 Android Development] h.debnath:
Thanks, easy flash, works perfectly