yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] greg709er:
Hello all,

I appear to have gotten a bad buy on Amazon (from an individual), and so far am not getting help getting it returned, so I am seeing how I can correct the problem myself.

When I go into About | Status in settings, I see "Serial Number unknown". This prevents me from running auto updates and also prevents me from using the unlock tool so I can install custom firmware. Really all I would like to be able to do is try custom firmware on it.

I have tried everything I can find to find a way to store the serial number in the device. I tried the Ratchet tool which was designed for the infamous TF201 serial number issue, no luck. I also tried using setpropex - which successfully sets the ro.serialno property, but this is lost on reboot and while its set, it doesn't help either the System settings (still shows unknown) and I still cannot unlock.

I've been looking around in the file system (I have it rooted) to find out where the S/N might be stored, but can't find it. It is currently running 4.2.1 with 10.6.1.14.8.

Does anyone know of a way to set the serialno property if its been lost? Or am I out of luck until, hopefully, Amazon helps me?

Thank you!

Greg
[Asus Transformer TF700] _that:
The serial number is stored in a FAT filesystem on /dev/block/mmcblk0p5, you need to mount it manually to access. However I doubt that setting the serial number will fix the unlock tool. The unlock tool sends your MAC address to Asus and their server needs to have the correct information to cryptographically sign your CPU serial number.
[Asus Transformer TF700] greg709er:
Yea, I finally got the serial updated, as you mentioned, by mounting the partition. The SSN file was not even there. After adding it and putting my SSN in, I can now see it in About | Status but I still cannot unlock. Looks like I have myself a waste of money unless Amazon helps me with this crappy seller.

I am still searching for ways to unlock without the Asus tool, but it sounds like its not been done so far...

Thanks,

Greg
[Windows Mobile Development and Hacking General] ryhor:
Hi!

We have just discovered one very interesting thing:

using memcpy() function we observe data transfer rate

~4.5 Mbytes on our Qtek s100 device and

~9.0 Mbytes on our iPAQ 2210

do not discussing difference of rates for these devices I wanna ask - is such extremely low internel data transfer rate normal for nowadays PDA and communicators?

It's really disappointing.

Any advice?
[Nexus 7 Q&A, Help & Troubleshooting] IamWilcox:
Tried to flash PA-AOSP 4.4 and must of had a bad download or something because the installation kept failing, now I'm stuck in recovery and my backups have disappeared from the menu
[Nexus 7 Q&A, Help & Troubleshooting] mrjonwilson:
Did you ever fix this? I am having the same problem.
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] tony_stark_noob:
Holo locker is an excellent app. Is there any way we can integrate it into our settings so that when we choose lockscreen options we can have holo locker screen.... I.e. Instead of an app :P
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] MuSaddiq:
Try from this guide

http://xdaforums.com/showthread.php?t=2341389
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] hnkotnis:
Check my this thread out for a set of simple instructions (Specific for Galaxy y series devices)

http://xdaforums.com/showthread.php?p=47252110#post47252110
[Galaxy S 4 General] TRusselo:
whats the command to create a system dump to an odin compatible system.img file? been a while. i forget
[Galaxy S 4 General] SamuriHL:
This is how I do it in my script:

adb shell "su -c 'cd /sdcard; dd if=/dev/block/platform/msm_sdcc.1/by-name/system of=/sdcard/system.img.ext4'"

adb pull /sdcard/system.img.ext4

adb shell rm /sdcard/system.img.ext4
[Galaxy S 4 General] muniz_ri:
I'm a relative noob and just learning as much as I can and this is alot of great info. I am able to pull system dump and pull recovery.img from my but when I create an odin flashable recovery image (for back-up purposes) it fails auth. Is there a way to pull a signed recovery image from system? Thanks.
[Galaxy S 4 General] SamuriHL:
No. When you dd extract a partition it adds padding to it which messes with the signature. I create a signed recovery img file by patching the boot img with the recovery-from-boot.p in the OTA update. That's a lot more involved than what's in this tutorial, however.
[Galaxy S 4 General] muniz_ri:
Got it, thank you. I found the thread on hexediting the partition file. I will see if that works.
[Galaxy S 4 General] SamuriHL:
My initial results weren't very conclusive on that. I tried it with the NON-HLOS.bin file just to see if I could make it consistent with the one I create by patching, and the results were not good. There's no way to know exactly how long to make the cut. It seems like all you do is remove the trailing 00's when hexediting, but, I can tell you that's not enough to make it match. I've got more research to do on this as it would be extremely useful to be able to edit the dd extracted files to make them match the signed files. So far, that doesn't seem possible.
[Galaxy S 4 General] muniz_ri:
That's too bad, I was also hoping removing the trailing zeros would work. Can you point me to a tutorial, etc where i can learn how to patch using the OTA files? thanks again.
[Galaxy S 4 General] SamuriHL:
It's not quite as simple as that. There isn't a tutorial on it. I learned what I know from Matt Groff. It started with a thread here:

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

But that thread isn't going to teach nearly enough to learn how to do this. It involves parsing the update scripts from the OTA to find the command they use to patch the actual partition and then converting that to a command to patch the file. So if you look at this command from install-recovery.sh:

applypatch EMMC:/dev/block/platform/msm_sdcc.1/by-name/boot:8036608:1ad324cf48a6e19fd402603477cd0ed8472ed863 EMMC:/dev/block/platform/msm_sdcc.1/by-name/recovery f4579fa7099942ec2f214cff81014b8e8b1a550f 8632576 1ad324cf48a6e19fd402603477cd0ed8472ed863:/system/recovery-from-boot.p

What that's doing is taking 8036608 bytes from the boot partition, ensuring it has a sha1 hash of 1ad324cf48a6e19fd402603477cd0ed8472ed863, patching it with the contents of the recovery-from-boot.p file, and then writing it to the recovery partition.

Each time an OTA comes out for our phones, I create signed recovery, modem, and non-hlos files using this process. Then I use the process outlined in this tutorial to create the ODIN tar md5 files that I post.
[Galaxy S 4 General] muniz_ri:
Success! Thanks so much, just created my first signed odin image!
[Galaxy S 4 General] Surge1223:
Theres two more ways the get signed images. One is using dd if=of with the right bs and count. For example, I extracted the stock signed PIT file for the S4 using

su
dd if=/dev/block/mmcblk0 of=/sdcard/sch1545.pit bs=8 count=580 skip=2176

you can see the thread and md5 comparisonhere The other method is hexediting but it was easier on 4.2.2 but still very doable on 4.3. You have to know what signatures look like though. Hexediting can also be useful for manually extracting the zimage and ramdisk from a boot.img
[Galaxy S 4 General] muniz_ri:
I'm also going to play around more with hexediting, if it will work it seems much more straightforward. Thanks again for all of the good info!
[Galaxy S 4 General] Surge1223:
Sam, id be glad to try hexediting the NON-HLOS.bin file and then send you the md5. ;)
[Galaxy S 4 General] SamuriHL:
I'll pm one to you tomorrow. I definitely am curious if you're able to md5 hash it correctly. :)
[Galaxy S 4 General] SamuriHL:
Pm sent. Good luck. :)
[Galaxy S 4 General] muniz_ri:
How do you limit the number of bytes extracted for the mdm.bin to match the updater script's parameters? Thank you.
[Galaxy S 4 General] SamuriHL:
I didn't. The first signed modem bin I made was done by looking at the size in the updater script and using cygwin to copy that many bytes to a new file. From then on I just patched the previous version's modem bin and NON-HLOS bin files.
[Galaxy S 4 General] Surge1223:
First time quickly hexediting it I got

md5: 9616e85b765e0365e8ccd57550a715b8
[Galaxy S 4 General] SamuriHL:
Which doesn't match the digital signature. This is what I was afraid of and what I was running into.
[Galaxy S 4 General] Surge1223:
what are you comparing the sig to?
[Galaxy S 4 General] SamuriHL:
The sig from the signed file I made. It matches the sig from the script which is how I know it's right. (since I used the script to generate the file I know it's right, anyway, but it never hurts to double check). The thing is I hex compared the generated file with the dd extracted file to see if there was a logical way to see "the end" of the dd extracted file. The answer is no. It "ends" in the middle of a non-zero block with more stuff after it. I was not able to find a pattern to determine where to cut the dd extracted file.
[Galaxy S 4 General] Surge1223:
Ahh, your guys is signature is shorter than ours. K Got it :) Theres a pattern for sure. Its just each pattern is unique to each device. In fact ill bet you 100$ that you can give me any padded NON-HLOS.bin from your device (any OTA or Firmware update) and ill get it right on the first try.

P.S. This is definately gets easier the sooner you learn, because they changed how you have to go about trimming it between 4.2.2 and 4.3.

MD5: 538f2fd6855e1538650ca828300978a8

SHA1SUM: 96f43b141aaacde6e0d536b607d0dfc930ff7c49

I think your PIT is different than mine...do you have a signed PIT file? I cant seem to find it for you guys S4 if not can you get a Heimdall printed PIT? I can tell you the command for extracting your signed PIT but I need the Heimdall output.
[Galaxy S 4 General] SamuriHL:
Please teach since that is correct. :)
[Galaxy S 4 General] SamuriHL:
I see the pattern now. That's awesome!
[Galaxy S 4 General] Surge1223:
Its funny the more you do it the more perceptive you become, I saw three patterns that tell you were its at..not including Samsungs South Korea signings. Try to Hexedit another NON-HLOS for your device, I bet you it will find it significantly easier the second time. :)

Now if only we could get something to automate it....HOB revival?? lol
[Galaxy S 4 General] SamuriHL:
Well, it's not necessary for the S4 GPE because I already have a script to automate creating recovery, modem, and non-hlos from the OTA. Then it pulls system img. And then builds my ODIN images for me so I can post them. All I gotta do is install the OTA, restore root, and run my script. ;) It parses all the update scripts in the OTA to get the proper commands.
[Galaxy S 4 General] muniz_ri:
Here is an S4 pit file.
[Galaxy S 4 General] SamuriHL:
That PIT file, just so people in this thread understand, is NOT for the S4 GPE. It's for the AT&T S4 I believe. If you are on a S4 GPE *DO NOT* use it EVER as it'll permabrick your phone.

I just wanted to post that warning so that people didn't see it in this thread and think it was meant for our phone.
[Galaxy S 4 General] muniz_ri:
I understand and I would add to that and say the average user should never, ever flash a pit file.

---------- Post added at 10:58 AM ---------- Previous post was at 10:47 AM ----------

I got the bs and count parameters from the pit file but how do i get the partition start in order to plug in the skip parameter? Thank you.
[Galaxy S 4 General] Surge1223:
4,640÷8 = 580

4,640÷1,024 = 4.53125 = ~4.53kb

but even though the block size we used was 8 (bs=8) in actually its 16, but since the first 512 bytes is the mbr you skip it. So since the block size is actually 16, then it would goes that 512/16=32 so since the pit lies at the 34 hex range 34(1024)=34816 bytes / block size (16) = 2716. Basically getting to the range we wanted with oour particular block size requires us to stay consistent with skipping over the 512 bytes. Remember because were talking about bytes below 1024 bytes the conversion isnt implemented below 1024
[Galaxy S 4 General] muniz_ri:
Is is theoretically possible to pull a signed system, cache, etc. partition by using the exact bs and count? Has that been done? Thank you.
[Galaxy S 4 General] SamuriHL:
Not for system. That can never be pulled signed. That's because in order to dd you have to be rooted. Root is installed on the system partition.
[Galaxy S 4 General] nprussell:
In order to dd, you need a root shell. You do not need to have the su binary in system.

Do it from a 3rd party recovery.

adb shell

mount -o rw /dev/block/mmcblk0p16 /system

mount -o rw /dev/block/mmcblk0p29 /data

dd if=/dev/block/mmcblk0p16 of=/data/media/0/system.img

Easiest way to dump. Reboot into system and copy from internal storage (as it's quicker than adb pull).
[Galaxy S 4 General] SamuriHL:
Interesting idea I suppose. It still wouldn't be signed but perhaps we could figure out how to make it so.
[Galaxy S 4 General] Surge1223:
System partition also contains csc which is extracted from cache. Also it's been said that the hidden partition also plays a role in having the system partition extract correctly. I'm going to say it's possible if you parse it correctly but as far as I know it hasn't been accomplished on non exynos Samsung devices yet. It would definitely be an accomplishment because we'd be alot closer to being able to make full odin restore tars from a live device. Unfortunately Samsung is getting smarter at the same rate we are lol we need a game changer.
[Galaxy S 4 General] TRusselo:
Looks like this is the place for my current question..

heres the issue, I found that the Telus odin files hosted by samsung-updates and sammobile, are actually bell firmwares for the S4.

This obviously poses an issue for anyone on telus, needing to flash their phone back to stock.

I have an other member with a brand new s4 out of box, un rooted, waiting to help get a factory restore available for us.

What would the best course of action be for pulling his firmware, and building a package to flash, that could potentially be good enough to pass the first round carrier "eye test" to get warranty repair, and hopefully receive/successfully install OTA updates???
[Galaxy S 4 General] Walter.White:
[MENTION=4939386]Surge1223[/MENTION]

We need your help...ATT is being a ***** and hasn't updated Kies with latest ATT N3 FW on there. Currently Kies only has MI9 (4.3, Original FW!!!)..Since then there has been couple of OTA (MJ5, NB4, NC2) none of which is on Kies..

And therefore we don't have anyway to restore softbricked device using odin tar :(

---------- Post added at 02:48 AM ---------- Previous post was at 02:46 AM ----------

Mind cluing me in as to what the pattern is?
[Galaxy S 4 General] Surge1223:
I havent tried to make a properly signed system partition from a live system jn some time but it would be difficult to do. You would need to try to create it using the ota zips.

As for the pattern, it varies from partition and carrier. But in general you remove the trailing zeroes by hexediting the partition and usually you can find the right area to truncate by searching for 00 01 and a bunch of F's. Truncate at the first zero in the "00 01" I mentioned.
[Galaxy S 4 General] SamuriHL:
From everything I've seen, system can't be done like that because they just patch files on the system partition rather than applying patch files to the partition itself like with recovery and the modems. And you can't dd extract system without root, so you've already modified it just from that. I've yet to find a way to do it for the GPE, either.
[Galaxy S 4 General] SamuriHL:
Actually, I suppose if you used tethered root like towel root or pie root, you MIGHT be able to dd extract it and then find the signed end of the image. Maybe. But that's an ext4 image so it's not going to be simple.
[Galaxy S 4 General] Mr Hassan:
bro it that work for more devices
[Nexus 4 Q&A, Help & Troubleshooting] pandag:
I was flashing a new ROM and accidentally ticked the option to wipe "Internal Storage." Now, I cannot access any files because they have obviously been deleted. I am stuck in TWRP with nothing to flash and no OS installed. Is there some way I can fix this?
[Nexus 4 Q&A, Help & Troubleshooting] hypemanisus:
Unroot your phone to factory image then root again.

OR flash clockmod revoir to access storage (haven't tried b4 thou)
[Nexus 4 Q&A, Help & Troubleshooting] 33t:
Reboot into the boot loader (Hold down power and volume down) and and then fast boot the factory image.

Google "how to restore nexus 4 to stock, fast boot"

http://forums.androidcentral.com/ne...3923-guide-nexus-4-factory-image-restore.html

it's easy.
[Nexus 4 Q&A, Help & Troubleshooting] wammie:
Just ADB Push your files connecting your phone to the PC while TWRP is on.
[Nexus 4 Q&A, Help & Troubleshooting] derekmalchus:
i also want to wipe internal storage using twrp in my nexus 5. i have my rom in flash drive. can i flash the rom that I have in my flash drive if I mount it after I wiped internal storage?
[Nexus 4 Q&A, Help & Troubleshooting] Karan.S:
Current TWRPs support MTP, all you need to do is wipe the storage and plug your phone into the PC. Just make sure that MTP is checked in the "mount" menu of TWRP. You can then proceed to put the ROM's zip onto the internal storage and flash like you normally would.
[AT&T Samsung Galaxy S 4 Themes and Apps] WarlockW:
[MOD] ANDROID FIRE - BOOT ANIMATION!

+ MATCHING WALLPAPER

INSTALL USING: CWM - TWRP

-----------------------------------------------------------------

IF THINGS GO HORRIBLY WRONG ..

1. DON'T PANIC

2. RESTORE USING YOUR CWM OR TWRP BACKUP !

-----------------------------------------------------------------

Installation:

1. BACKUP - BACKUP - BACKUP

2. Install In CWM or TWRP In Recovery

3. Wait A Few Seconds.. Reboot!

4. ENJOY!
[Nexus 5 Q&A, Help & Troubleshooting] rasta312:
http://d-h.st/N1q

I downloaded the new version of facebook in beta but with the revised UI pops up message stating "Application not installed"
[Nexus 5 Q&A, Help & Troubleshooting] haxrnick:
I'm on 4.0.0.3.3 and I don't have it either. Heard rumor it's server-side so even if you download the newest apk you could still have the old UI.
[Nexus 5 Q&A, Help & Troubleshooting] _MetalHead_:
You are correct, it is server side.

Sent from my Moto X
[Nexus 5 Q&A, Help & Troubleshooting] rasta312:
Could you give a link to download 4.0.0.3.3?

Wysłane z mojego Nexus 5 przy użyciu Tapatalka
[Nexus 5 Q&A, Help & Troubleshooting] haxrnick:
At the moment I can't but join their beta program and you can get it.
[Nexus 5 Q&A, Help & Troubleshooting] Runeviperz:
doesn't work for me as well
[Android Q&A, Help & Troubleshooting] bennyboy78:
Hey guys, I know this has been asked before, but I didn't find any very definitive answers.

My question is, can we somehow get android 4.4 color emoji on Android 4.2.2? I don't mind replacing some system files. Obviously Apple emojis would be cool, but they use some proprietary stuff in the ttf file.

Any help is appreciated
[Android Q&A, Help & Troubleshooting] Nasheich Xfiles:
just install keyboard app from android 4.4 gapps

search it the thread, I forget about it
[Xperia Z1 General] shem2409:
On my Youtube channel I have been asked multiple times to make a video on how to downgrade/ unroot Xperia Z1.

This is very straightforward, so I am sure that most of YOU (xda-developers) readers know this already but for all the newbies out there

here is the video:

[YOUTUBE]seyn_zS8c7E[/YOUTUBE]
[Xperia Z1 General] gregbradley:
Are you sure you mean UNroot....
[Xperia Z1 General] dazza7111:
You can Unroot using super su can't you?
[Xperia Z1 General] shem2409:
For unexperienced users unroot = revert to stock , before sending the device to a service shop for example.

As this thread is for newbies, I think I will just leave it as is. I get a lot of question on my rooting videos on how to "unroot" or downgrade :P
[Xperia Z1 General] gregbradley:
deleted
[Sony Xperia ZR] MQuant:
Before I ask my main question, does rooting the ZR on 4.2.2 delete the DRM keys? If so, how can I downgrade to .310 so I can root and backup with TA?

I want to install beanstalk's 4.4 ROM, and to do that I need to unlock the bootloader which removes the DRM keys. So it would be good to preserve these just in case. Thanks in advance.
[Sony Xperia ZR] ronaldbeti:
U r right. Just backup ur TA before unlocking bootloader. Rooting doesn't delete ur drm keys. The drm keys only gone if u unlock ur bootloader. So, no worry.
[Sony Xperia ZR] MQuant:
Ah thanks. alright so I have flashtool installed and there are no drivers on the list for the zr. Is there an equivalent which I'm supposed to install?

PS: I'm downgrading cuz all the tutorials say you need to unlock bootloader when rooting 4.2.2
[Sony Xperia ZR] ronaldbeti:
Install the xperia A driver. It is xperia zr japan version.
[Sony Xperia ZR] MQuant:
Excellent, managed to get it working! Here, have a thanks! :good:
[MDA II, XDA II, 2060 Windows Mobile 2005 Upgrading] cat_millenium:
OK, its been some days since my last post and I'll report my experiences:

Programs I have installed:

Sunnysoft Backup Manager

Spb Time

PocketMind

Microsoft .NET Compact Framework

Spb Pocket Plus

Navigon MobileNavigator 5

Clevergames PocketGrandmaster Chess

xda2jojo BullesSplash

Spb Weather

Resco Today Plugin

Resco Registry Addin

Resco FTP Addin

Resco Explorer

Resco Picture Viewer

Resco Picture Viewer Sync Module

WebIS Pocket Informant 2005

SBSH.net PocketBreeze

Problems I am experiencing are:

- After XDA hasn't been used for some time it takes a while thill I get response from pressing Start or Phone

- I use the XDA a lot with setting the Volume to only Vibrate. Aparently - and with no reason - it sets itself to off and changes the icon in the top bar.

- I use active sync agains a Small Business Server 2003 behind a dialup network with dyndns. I can sync my emails between soft resetting the XDA and getting a new IP. Afterwards there is no other way then resetting the device.

Any ideas?
[MDA II, XDA II, 2060 Windows Mobile 2005 Upgrading] e_copyright:
thxxxxx
[MDA II, XDA II, 2060 Windows Mobile 2005 Upgrading] tarekam:
did u try arabic?? if u are arabic any way.
[Sprint Samsung Galaxy S 4 Themes and Apps] reverepats:
Modded MultiWindow for TouchWiz (ONLY)

*Disclamer- I am in no way responsible if you mess your phone up, But I sure will help if such occurrence does happen

These we're TESTED on Sac's 4.3 ROM, but they should work on all TouchWiz ROMs

Some of you have been asking for this, So here ya go!!!

100% Transparent MultiWindow

75% Transparent MultiWindow

50% Transparent MultiWindow

​

Changlog

5-19-2013

*Initial Release

Installation Instruction

*Download and place on you SDcard

*Flash away like normal

**If you dont want to flash it, open the zip and pull it from XTRAS/system/app then Push & Set Permissions rw-r-r

RESTORE

Restore Original MultiWindow
[Sprint Samsung Galaxy S 4 Themes and Apps] reverepats:
mine
[Sprint Samsung Galaxy S 4 Themes and Apps] reverepats:
one more
[Sprint Samsung Galaxy S 4 Themes and Apps] reverepats:
Posts for Requests are OPEN....Colors and Text colors...Lemme know what you want, and ill put it together when i get the time.....
[Sprint Samsung Galaxy S 4 Themes and Apps] Disneyfist:
Thanks for the upload! Unfortunately, it did not work. Flash went fine, but went to turn on the multi window, and the tab didn't even appear on my screen. Gonna flash the restore zip, then try the 50% and see if that works.
[Sprint Samsung Galaxy S 4 Themes and Apps] reverepats:
Which one did you flash? YOur on sacs right, cause they all flashed fine here...
[Sprint Samsung Galaxy S 4 Themes and Apps] Disneyfist:
Yeah, on 4.3. I flashed the 75 and 50 to no avail. But the revert seems to work just fine. Maybe it's just my phone, have no idea really. I know it's not my launcher because I've used multi with it since I've been able to. Oh well.

---------- Post added at 05:59 PM ---------- Previous post was at 05:55 PM ----------

Alright.....weirdest thing......it works now. Didn't do anything other than turning multi on and off then on again and waiting 3 minutes by accident. *shrugs* looks great though!!!