yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Q&A, Help & Troubleshooting] bftb0:
OK jonchill I will try to help out.

But only because you inadvertently disclosed a new OTA download (JZO54K->JDQ39) for nakasi. :p

Here's the deal:

The OTA process performs checksums on hundreds of individual files (and even partitions e.g. boot partition) before it begins any work. 100% of checksums must pass before anything gets changed by the OTA.

It's a safety feature meant to protect people from applying the wrong files to their tablets/phones. More importantly, the reason that it is done is because the OTA does not contain "replacement" files - it only has small binary "patch" files which can be used only in conjunction with the original file to create the intended replacement file. This is how OTAs can be so much smaller than a full ROM - the files already present are "patched" to create their replacements.

But the bottom line is that if *you* removed or altered any single file which is a target of the OTA patching process, these pre-installation checks will fail. (Even worse, it stops immediately - it is possible that you have more than one file involved in this. Because of this stop-on-first-fail behavior, you don't know yet whether or not there are more to come.)

When I say *you* I mean you personally plus any root-using apps which you installed and ran on your tablet. Could have been an app.

OK, now for the good news. I downloaded the OTA - thanks for providing the file name - and looked at the installer script; that installer script for JZO54K-> JDQ39 is shown here on pastebin. The file which your OTA is complaining about is "bttest" - and as it turns out, this check occurs on line 1040 - it is the third from last file checked. The only thing which comes after that is a check of

/system/xbin/dexdump

and

the boot partition ( EMMC:/dev/block/platform/sdhci-tegra.3/by-name/LNX )

Now I don't have any idea what might have caused "bttest" to disappear from your ROM. On the off-chance that "dexdump" got deleted too, attached is a zip of those two files from the JZO54K distro.

This is not a flashable zip - it's just the two files. It's your responsibility to get them into /system/xbin/

Note their ownership info:

-rwxr-xr-x 1 root 2000 5448 Oct 2 14:49 /system/xbin/bttest
-rwxr-xr-x 1 root 2000 59828 Oct 2 14:49 /system/xbin/dexdump

If you restore them to /system/xbin/ make sure you

chown 0.2000 /system/xbin/bttest /system/xbin/dexdump
chmod 755 /system/xbin/bttest /system/xbin/dexdump

I verified their SHA1 checksums (note these are the 2nd string of digits in the failing assert_check).

2bb363a3f434d165d1167d915c2ba44967e22071 bttest

e5e4d35038ed3e32a15194275806d90e64e003c6 dexdump

good luck.
[Nexus 7 Q&A, Help & Troubleshooting] jonchill:
I've downloaded the files and tried transferring them across to XBIN but it fails saying the folder isn't writable, I've tried changing the permissions on the folder but it errors saying can't set permissions.

What am I doing wrong?

Thanks
[Nexus 7 Q&A, Help & Troubleshooting] bftb0:
The /system partition is typically mounted "ro" - Read Only.

Root-aware file browsers typically have a toggle in their (root-related) menu to remount /system in rw mode, but you can easily do it yourself from the command line. (using a terminal emulator or adb). You just need to be root to do this. (Or you can just do everything in the custom recovery, in which case the /system mount point will be in "rw" mode by default)

C:\foo> adb shell

$ su

# mount -o remount,rw /system

(copy files into place, do chmods , etc)

# mount -o remount,ro /system
[Nexus 7 Q&A, Help & Troubleshooting] jonchill:
Just tried a you suggested and it doesn't seem to want to put the system into RW. I've also tried changing the permissions through the file manager I've got installed and get the same result.

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

shell@android:/ $ su

su

shell@android:/ # mount -o remount,rw /system

mount -o remount,rw /system

mount: Read-only file system

255|shell@android:/ #

Thanks
[Nexus 7 Q&A, Help & Troubleshooting] bftb0:
Well, that's odd. I'm not really sure why that is happening. You could fool around with the mount command a little bit or just avoid all this nonsense and do what you need via adb in the custom recovery.

If your bootloader is unlocked, but you don't want to *flash* a custom recovery (I see you said you have stock recovery), you can nevertheless temporarily *boot* one, and just that temporarily booted custom recovery as in:

- put device in bootloader mode

C:\fubar> fastboot boot name-of-custom-recovery-image.img

(wait until it is booted)

C:\fubar> adb shell

# mount /system

# cp /sdcard/wherever/bttest /system/xbin/bttest

# cp /sdcard/wherever/dexdump /system/xbin/bttest

# chown 0.2000 /system/xbin/bttest /system/xbin/dexdump

# chmod 755 /system/xbin/bttest /system/xbin/dexdump

# sync

# umount /system

reboot

I don't know how you originally rooted, but generally the adb connection from either custom recovery (TWRP/CWM) needs an additional USB driver (yes, even though you "already have ADB working with the normal OS"). I suppose most lazy folks use either a toolkit or the XDA Universal Naked driver for this. (No support will be given by me on driver installs - I need to draw the line someplace.)

good luck
[Nexus 7 Q&A, Help & Troubleshooting] jonchill:
Tried booting to a temp custom recovery (TWRP) and followed your instructions but still getting the Read-Only file system. At this stage would it be better to take a backup and re-flash a full image?

C:\NRT\data>adb shell

~ # ←[6n

~ # ←[6nmount /system

mount /system

~ # ←[6ncp /sdcard/bttest /system/xbin/bttest

cp /sdcard/bttest /system/xbin/bttest

cp: can't create '/system/xbin/bttest': I/O error

~ # ←[6ncp /sdcard/dexdump /system/xbin/dexdump

cp /sdcard/dexdump /system/xbin/dexdump

cp: can't create '/system/xbin/dexdump': Read-only file system

Thanks
[Nexus 7 Q&A, Help & Troubleshooting] bftb0:
Well that is bizarre.

Some boot kernel/ramdisk configurations use a "errors=remount-ro" mount option with ext4 filesystem that automatically prevents a "rw" mount if corruption was detected in the ext4 filesystem meta-data.

Although when the mount of /system succeeds in 4.2.2 stock I don't see that - this is what you get:

adb shell cat /proc/mounts | grep system
/dev/block/platform/sdhci-tegra.3/by-name/APP /system ext4 ro,relatime,user_xattr,acl,barrier=1,data=ordered 0 0

I also don't see that option in use with TWRP 2.4.1.0 either:

adb shell cat /proc/mounts | grep system
/dev/block/mmcblk0p3 /system ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0

It's just a hypothesis - but perhaps somehow your /system partition got damaged?

I am reluctant to continue giving advice since your device is behaving non-nominally. (I never used JZO54K, so I can't say for sure.)

It is possible that doing a dirty overflash of factory 4.2.2 (of only the boot partition & system partition) via fastboot would succeed, but I would feel a lot more comfortable about doing that in the sequence JOP40C->JOP40D->JDQ39 where you are converting a 4.2.x ROM to a later version. In your case though, coming from a 4.1.x ROM (JZO54K), that seems like there could be downstream problems.

The conservative route would be to take as many backups as you feel are appropriate, e.g. Nandroid + TiBu or Carbon, reinstall the full factory 4.2.2 stock (including bootloader!), re-root, and then restore your market apps & data (TiBu or Carbon). Note that because we have no idea what the changes/bug fixes were in the 4.18 bootloader update, you probably want to make sure you install the 4.18 bootloader first (and make sure to reboot to it!) before doing any of the subsequent steps (partition erasures & formatting, in particular).

I wouldn't do anything at all, though until I had succeeded making a full Nandroid backup and making sure I had a copy of it off of the tablet. Do your Nandroid backups succeed?
[Nexus 7 Q&A, Help & Troubleshooting] jonchill:
Thanks for all your help, as this is going to be quite a bit more complex than first thought I'm going to leave the above until I come back from holiday.

Thanks again.
[Nexus 7 Q&A, Help & Troubleshooting] GedBlake:
You can always tell when there's a technical guru around... they use wonderful phrases like "...since your device is behaving non-nominally...":):):).

bftb0, your posts, as ever, continue to be hugely informative and a delight to read...

----------

Hi, jonchill... (when you return from your holiday)...

Here's what I would try...

When I'm poking around in /system (usually for something more prosaic, like changing the BOOTANIMATION.ZIP), I use X-Plore File Manager (

http://play.google.com/store/apps/details?id=com.lonelycatgames.Xplore&hl=en

).

It's a ROOT capable DUAL pane file manager... so you should be able to copy the files directly into /SYSTEM/XBIN (setting one pane as your SOURCE, the other as your DESTINATION TARGET).

Once copied there, LONG PRESS on the respective files just copied, select PERMISSIONs from the context menu that appears, and set accordingly.

But first, you will have to go into CONFIGURATION>ROOT ACCESS and set X-Plore File Manager to SUPERUSER+MOUNT WRITABLE...

I have both these files (bttest and dexdump) in my xbin folder... and permissions for both are 755.

See my screenshots appended to this post.

Hope this helps...

Rgrds,

Ged.

-----------

PS. where did you get the OTA updater ZIP nakasi-JDQ39-from-JZO54K.da55f917.zip from? I've Googled around for it, but can't find it anywhere. Would be nice to have it in my collection.
[Nexus 7 Q&A, Help & Troubleshooting] jonchill:
Ged

The OTA was what I received automatically.

I've already got XPlore and have tried what you suggested but get Can't write to file /system/xbin/bttest can't move temp file to /system/xbin/bttest.

Thanks
[Hardware Hacking General] huperetes:
I tried to get some help in the Q&A section, but it appears this is more technical/hardware seeking question than just generic "which phone" thread.

I have been suggested Samsung Galaxy Spica/i5700 by boofman (thank you), but the device is cost prohibitive.

I would very much appreciate anyone's suggestion.

I am planning a presentation to demonstrate the benefits of JTAG for data recovery on embedded systems. The audience has approx. 12th grade education, but higher than average computer understanding.

I have most of the equipment already, including a uLINK2, Bus Blaster, and Raspberry Pi for the UART-to-USB, and OpenOCD for the software.

What I am missing is the simplest cell phone (or other inexpensive embedded device) to make the demonstration.

I would like to connect to the device and list the devices on the JTAG chain, and recover the data from them.

What cell phone brand and model would work well for this presentation?

I would need to know the JTAG points, have access to the data sheets of the onboard chips, and since it is out of my own pocket, I hope to get the phones on eBay for a low price.

Any suggestions are welcome.:D
[Hardware Hacking General] bhundven:
You'd be surprised what kids know these days.

Check out gsm-forum, under the hardware repair section.

Googling for jtag pins and your phone model number usually works for me. I'd assume you might have to wait a little bit for brand new devices, unless you feel like scoping the pins to find out which is which or hope their labeled.
[Hardware Hacking General] huperetes:
These individuals are not kids. :fingers-crossed:

Excellent resource at the other site. Thanks!

But, I think I do not think I made myself clear regarding what I am looking for:crying:. I am not looking for info on how to JTAG a specific phone:eek:.

I am looking for 3 or 4 of the same model of cell phone that

I can pick up on eBay or similar for reasonable price (<$30/phone),

the JTAG TAP is known on the motherboard, and

it would be a bonus if the JTAG command set was known (besides the basic requirement).

This would allow me to make test run on one of the phones, then demonstrate the use of JTAG on the others.

The Samsung Galaxy Spica is a good phone, but I do not have the budget at $100+/phone. I need to find something cheaper. It does not need to be fancy telephone, or even smart phone - just have sufficient JTAG documentation.
[Hardware Hacking General] huperetes:
If anyone has any ideas on what to use for this demo, I am still in need of a good idea.
[Hardware Hacking General] 3ndymion:
You can look into any of the older HTC phones for this. I think that would be your best bet. I've done plenty of hardware repair, disassembling, reassambling, flashing, etc... on Android, & non-Android phones, & from my experience, the older HTC phones are the best. Specifically, concentrate on the GSM ones, such as for T-Mobile. Look into HTC myTouch 3G Slide (awesome little thing) :p, HTC G2 (one of the best keyboard phones ever), myTouch 4g, myTouch 4G Slide (overheating, self-destructing piece of crap), even the HD2 & the HD7. These are all devices that you can get for around $30 or so with a cracked, but still working digitizer, or some other kind of problem. Screens & other parts for them are very cheap as well.

Also, these are all known to RIFF Box. Look it up. You can do JTAG repair with these, & RIFF Box have all the JTAG ports labeled & documented. They might have some of the documentation right on their site, but I'm not totally sure. Anyway, check it out & see. I think this will be exactly what you're looking for. :D
[Hardware Hacking General] huperetes:
Excellent! Thank you very much.

I have looked at looked at many commercial products, including RIFF Box. I narrowed the selections down the RIFF and ORT, but they are both very expensive for demonstration purposes.

I do love the fact that one can buy "jigs", "clips" or "adapters" (names change depending on vendors) which removes the soldering requirements for some of the phones. Except, these are still very expensive. :cyclops:

Again, thanks. I will look into these.
[Hardware Hacking General] Rebellos:
I'd go with Galaxy S 1 as it's really cool to work on and relatively well documented and demonstration on such stuff always looks well. But if you want something low-budget. I've seen JTAG pads on Nokia E50'ish stuff. Or try with some Samsung S3000's, these are pretty cheap. But I don't know how's JTAG there.
[Hardware Hacking General] psytr0nic:
as @3ndymion218 told you , search old HTc .. also some Samsung that I think cheap could help too .

Samsung F480 , F490 , U700 , U900 etc ... some news Corby model also .. I think cheap .

I could help if you were near to me . I have 3 phones that I could offer you ... :(
[Hardware Hacking General] huperetes:
Thank you for the further info.

Definitely will try to track down the HTC and Nokia information.

Samsung is a bit pricy as you said, but maybe down the road.

Again, thank you all!
[Nexus 4 Q&A, Help & Troubleshooting] Titeufblaugrana:
Hello there

First of all my general information:

mako 16 gb

paranoid android rom 3.0 from 21st of february

I tried to flash a new ROM today after i noticed that my N4 reboots everytime when slimport is plugged in. So i wanted to flash via Root tools and CWM. Ive downloaded the xeno rom, gapps and trinit kernel. Then i wanted to copy these files to !Ready to flash via Root tools ,but only the kernel was sent. Now i tried to send the files manually but the same problem: only the kernel was sent.

Ive also noticed that fromat data and wipe system cant be done in twrp. Is my storage or USB broken or do you have a clou which weird thing is going on with my phone?
[Galaxy S III Q&A, Help & Troubleshooting] loyonyart:
Hello,

i recently got my Samsung Galaxy s3, rooted it and installed Android Revolution HD, so far no issues.

The only Problems occur when connecting the phone to my MacBook: Mouse an Keyboard freeze for about 10 seconds, then go back to work normally. Has anybody similar problems/a solution?
[Galaxy S III Q&A, Help & Troubleshooting] bigmo7:
I get this for a couple of seconds when I plug in any external storage to my mac. I'm pretty sure it's normal...
[Galaxy S III Q&A, Help & Troubleshooting] hsrars-d:
I think that all crapple products are allergic to samsung/android phones :D
[Galaxy S III Q&A, Help & Troubleshooting] bigmo7:
Can we not be a fanboy about this please? Get enough of it on other forums/sites...
[Galaxy S III Q&A, Help & Troubleshooting] loyonyart:
ok

Well, i guess i have to live with it then :D

Thanks anyways!
[Galaxy S II Q&A, Help & Troubleshooting] s_m_a_s_h:
I flashed my first ROM yesterday; JellyBam 5.

I was a bit hesitant though worked out ok I guess, apart from a fc due to trying to instal my email backup from TB, I googled a fix for the fc issue, then realised that also my contacts & calendar won't instal from TB backup, I assume this is cause I've gone from 2.3.5 to 4.2.1??

Also, apart from calendar, email and contacts, I've had random apps not work, either won't instal or simply fc.. what's up? and can it be fixed? how? compatibility issue?

In this case what's the best way to backup to ensure cross ROM compatibility of calendar entries, email accounts & contacts data...

I guess Google account right, but I've never been able to get mine to sync, so I'm asking for suggestions/advice other than using Google sync.

Thanks

--------

smash

SGS2 GT-I9100 using xda prem
[Galaxy S II Q&A, Help & Troubleshooting] Donnie Sins:
You can't restore System Apps, because they definitly won't work if you change your rom, and it sounds like you did. You haven't got a Google back up? Maybe try to restore your Nandroid back up and sync them, or somebody must have a better sollution..

Sent from the Matrix
[Galaxy S II Q&A, Help & Troubleshooting] s_m_a_s_h:
I understand about system apps, though the apps I've had problems with were just normal (non system) apps.

I'm pretty shocked my email accounts, contacts and calendar won't restore (It'll take ages to do all manually); I will either revert back to my original ROM unless someone can advise more ?

--------

smash

SGS2 GT-I9100 using xda prem
[Galaxy S II Q&A, Help & Troubleshooting] s_m_a_s_h:
sorted it out, I was loading prior system settings which was knacking my phone setup.

Reflashed and working fine )

--------

smash

SGS2 GT-I9100 using xda prem
[Galaxy S III Q&A, Help & Troubleshooting] X_Heroine_X:
well recently i have tested Kise Air

and i love it the most !

so my question here is it possible to view my camera display while recoding to my laptop ?

:angel:
[Galaxy S III Q&A, Help & Troubleshooting] X_Heroine_X:
anyone?
[Galaxy S III Q&A, Help & Troubleshooting] DjeMBeY:
You need AllShare Cast box. Can be connected to TV or PC. Your phone screen will be transferred to other device :)
[Sprint Samsung Galaxy S III] Brian3000:
of having app2sd / emulated SD blah is a big pain in the ass. do any of the roms come with app2sd preloaded?
[Sprint Samsung Galaxy S III] Keepinitgreen:
With Joshbeach's new updated rom Jellybomb Domination it comes with ROM toolbox PRO which has the function to move apps to sd. I don't know if I helped you out or not, but you should be satisfied with the ROM and what it comes with.
[Sprint Samsung Galaxy S III] topherk:
None of the last 10-15 ROMs I've tried (both TW and AOSP) had that baked in, but as Keepinitgreen said, ROM Toolbox Pro has this capability, as well as many other really good features that are worth checking out.
[Sprint Samsung Galaxy S III] PolynesianMedic:
I have ROM toolbox and still can't move any of my apps to External SD card. I am running FreeGS3 and rooted of course. Any help would be appreciated.
[Sprint Samsung Galaxy S III] tkepk181:
You running the Pro version? I think that's one of the features that's available in Pro.
[Galaxy Note II Q&A, Help & Troubleshooting] armus:
There doesn't seem to be more than one or two roms for the verizon n2 so I have to ask a somewhat silly question- is there a way to port or use roms posted here? I came from the S3 and there are tons there but was shocked to find low support for the n2 until I saw the many roms in this forum. Of course it was impossible to mix carriers on the S3, so are these roms strictly for the ww version or what?
[Desire HD Q&A, Help & Troubleshooting] DreadBeat:
Is it possible to have DTS / SRS TruSurround on Desire HD with all the new JB roms like Cyanogenmod 10.1 and so on.

I am just migrating from Revolution HD 6.3.1 to something much newer like Cyanogenmod 10.1 and I adore the new ROM.

Installed it amongst 4-5 JB or ICS good roms for it's known sound tweaking capabilities from what I red through XDA.

But eventually was very dissapointed by the single sound improving tool (DSP Manager).

Is it possible to have DTS / SRS back with current rom.

Already tried mod like this one:

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

the result was terrifying pre-exposured sound and rom reflash, no good.

I use the same audio/video players as before, they got good EQ but it's not the same (PowerAMP, PlayerPRO + DSP, MX Player).

Please help!
[Nexus 4 Q&A, Help & Troubleshooting] Dreiberg:
Hi, I have an issue with the stock Android 4.2 clock app and its alarms.

I have an unrooted Nexus 4 running stock 4.2.2. The clock app usually stays in background, inactive and using 0% CPU, measured with apps such as SystemPanelLite or Usage Timelines Free. However, when setting an alarm, stopping it and exiting the app, the app stays in background but consumes between 1% and 5% cpu, when should be consuming 0%, being supposedly inactive. It doesn't prevent the phone from going into deep sleep mode, but when awake, the app wastes some battery, unless you kill it. It only uses CPU after you stop the alarm, not while waiting for it or after using the timers. After clearing the app data, the issue still exists.

Does this happen to any of you? I wonder if it is an issue with my phone ot it is a bug of the app.

Thanks.
[Nexus 4 Q&A, Help & Troubleshooting] Dreiberg:
BTW, it also happened in 4.2.1. Doesn't happen with other alarm apps.
[Nexus 4 Q&A, Help & Troubleshooting] Michealtbh:
Have you noticed significant battery drain due to this? If not don't worry about it
[Nexus 4 Q&A, Help & Troubleshooting] Dreiberg:
I haven't quantified it, but I guess it will cause a small battery drain. But it's something shouldn't happen at all, and if it happens to everyone it's a bug that should be fixed, well behaved apps don't do this.

For now I have switched to another alarm app that doesn't have this issue.
[HTC EVO 3D] REAPEROFSOULS06:
Probably a stupid question, but can any jellybean roms allow for an MHL adapter to be used?
[HTC EVO 3D] ramjet73:
It doesn't work very well on AOSP based ROM's.

ramjet73
[HTC EVO 3D] REAPEROFSOULS06:
Alright thanks, just wondering why no JB roms mentioned it. I guess I'll be sticking with ICS.