yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] karandpr:
https://source.android.com/devices/tech/ota/inside_packages.html

set_metadata_recursive("/system", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0")

set_perm_recursive(0, 0, 0755, 0644, "/system")

set_metadata("/system/xbin/su", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:su_exec:s0")

set_perm(0, 0, 06755, "/system/xbin/su")

uid ,gid,dmode ,fmode is pretty straighforward.

capabilities is usually 0x0

The selabel is different for different files. You will have to google a lot for their values. It's better to use set_perm or set_perm_recursive instead.

Check this script.

https://gist.github.com/venuatu/7429378
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] gabiabrudan7:
Where can i find the updater script?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] ramiabouzahra:
So I was using android kitchen to check for any wrong in the update script and I got 29 errors! I have 0 experience with this and if anyone could help that would be great! Sorry for the inconvinience! Here is the text:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] devilmaycry2020:
Hi all

Can i use update-binary file for any updater-script file ? Thanks
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Vaibhav145863:
My asus zenfone 2 ze551ml saying error excuting updater binary.zip what to bro pls pls help me 🙏🙏🙏🙏😣😣
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rishabh1806:
need a quick reply

I am having trouble installing a custom ROM with error7 in TWRP. so I just wanted to change the updater-script file. but that file was read-only so I just copied the file in notepad made the changes and then pasted in notepad++ but in which extension to save it.

please reply fast. "updater-script . ???"
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] WickedCool19:
In any readable form. Preferably .txt

Hope that helps.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Phylum:
This is great - thank you!

Are comments supported in updater-scripts? If so, what's the format?

How do I know if I need an updated update-binary and where does one get it from? (Stock, Locked, Unrooted Nexus 6P running Oreo)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] MAHABUBMARAJ:
Instead of KINGbabasulas post,yours should be featured on xda.Thank you my friend for your valuable post.:good: :svetius:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] DrewT4XP0908:
Im still confused

Hello, I just ported a rom to my device using a windows tool and it said there was a problem with the updater-script so i looked over it and didnt understand anything. I came over to XDA for a solution and found this. After reading i still dont get why when i flash i get an error ending in code 11 in twrp...this is my updater-script. if anyone can help me corrcet the problems that would be great. i just spent a few hours porting this rom and adding extra features to it so i dont wanna trash it...

Updater-Script:

ifelse is_mounted /system/ unmount /system/

package_extract_dir("install", "/tmp/install");

set_metadata_recursive /tmp/install uid 0 gid 0 dmode 0755 fmode" 0644

set_metadata_recursive /tmp/install/bin uid 0 gid 0 dmode 0755 fmode" 0755

run_program("/tmp/install/bin/backuptool.sh", "backup");

show_progress(0.750000, 0);

block_image_update /dev/block/platform/13540000.dwmmc0/by-name/SYSTEM package_extract_file("system.transfer.list system.new.dat.br system.patch.dat abort E1001: Failed to update system", "image.");

show_progress(0.020000, 10);

run_program("/tmp/install/bin/backuptool.sh", "restore");

show_progress(0.050000, 5);

package_extract_file("boot.img", "/dev/block/platform/13540000.dwmmc0/by-name/BOOT");

show_progress(0.200000, 10);

set_progress(1.000000);

set_perm(0, 0, 06755, "/system/xbin/su");

symlink("/system/xbin/su", "/system/bin/su");

set_perm(0, 1000, 0755, "/system/xbin/busybox");

symlink("/system/xbin/busybox", "/system/bin/busybox");

run_program("/system\/xbin\/busybox", "--install", "-s", "/system/xbin");

assert(package_extract_file("boot.img", "/tmp/boot.img"),

write_raw_image("/tmp/boot.img", "boot"),

delete("/tmp/boot.img"));
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Mikha777:
Error 11 could be because you don't have the right version of TWRP.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Vats12:
Where to get the `update-binary` to flash the zip with adb sideload feature?

Background: I have a Samsung device. I have install a stock ROM on it using Odin3 v3.13. I want to edit the system image of the AP file of the ROM and then flash it. For this I have extracted the system image from the AP file and tried to make a valid tar or tar.md5 file to flash with Odin. It failed to flash. I have also tried Heimdall but got Handshake errors. So, I am thinking of flashing it with adb sideload feature because there is no custom recovery available for my Samsung S10 5G (Qualcomm).

I have created a simple update script as following:

format("yaffs2", "MTD", "system", "/system");
ui_print("Format Completed");
mount("yaffs2", "MTD", "system", "/system");
package_extract_file("system.img", "/system");
unmount("/system");

Now, the problems is where to get the correct binary to run my script with adb sideload feature?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] karandpr:
:eek:

No No No. Your script is for quite old system.

This won't work on newer Samsung phones. (They use emmc)

I doubt you can flash anything using stock Samsung recoveries since the recovery blocks unsigned zips. And only Samsung can sign the zips.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Vats12:
So, the only option I have is to find a way to flash modified AP file. Do you have any idea how can I make a valid tar/tar.md5 that can be flashed with the Odin? I am facing this issue.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] karandpr:
Your best bet is the S10 5G section. :highfive:.

https://xdaforums.com/galaxy-s10-5g/help

They will be able to help you better.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Vats12:
Wondering, Why fastboot don't require such signing and can flash any image?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] karandpr:
Unlocking bootloader trips e-fuse. Plus unlocking bootloader wipes data.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kevosky:
Nice one
[Sony Xperia S, Acro S, Ion] jpcdeux:
So the Ion, for some reason has been tricky to get the MMS settings correct. I was at my wits end, and about to get rid of my beloved Ion due to the inability to send and receive MMS. Here's the settings I use, set them EXACTLY, any deviation, they will NOT work, trust me, I tried!

Delete any previous Straight Talk APN settings.

Create new APN.

Name: Straight Talk

APN: att.mvno

Proxy: proxy.mvno.tracfone.com

Port: 80

Username:

Not Set

Password:

Not Set

Server:

Not Set

MMSC:

Not Set

MMS Proxy:

Not set

MMS Port:

Not set

MCC:

310

MNC:

410

Authentication Type:

Not Set

APN Type:

default

APN Protocol:

IPv4

Bearer:

Unspecified

---Menu - Save---

***NOW***

Menu, New APN

Name:Straight Talk MMS

APN: att.mvno

ALL

THE REST:

Not Set

MMSC:

http://mmsc.cingular.com

MMS Proxy:

66.209.11.33

MMS Port:

80

MCC:

310

MNC:

410

Authentication Type:

Not Set

APN Type:

MMS

---Menu - Save---

What was catching myself, and many others I've seen asking the same question, was the addition of the MMS APN. I as well as them, were setting it all as ONE single APN. TWO APN's ARE NEEDED!

Soon as I set them and checked the Straight Talk box, it started sending and receiving quickly! Pictures go both ways without any issues at all, and last night at work I ran speed tests and averaged roughly 5mbps.

This was exciting to me and hopefully it helped someone else out. Now you're free to enjoy $45/Mo unlimited everything on your sexy Ion! :cool:
[Sony Xperia S, Acro S, Ion] Mag48:
Just tried this now. I was only able to send pictures when connected to wifi for some wierd reason. I just got the "queved for sending" message. Doesn't look like this has resolved it for me. let me try a power cycle. You have the default "straight talk" named apn the one with the green bubble next to it in your setting correct?

Thanks for the advice will let you no if get it working or not.
[Sony Xperia S, Acro S, Ion] jpcdeux:
Yeah, when I made it the Straight Talk MMS setting didn't have a checkbox next to it. However after resetting phone and doing this again it does? Odd. I'll see if I can figure out
[Sony Xperia S, Acro S, Ion] jpcdeux:
Try creating with wifi off? Set APN type as mms, not MMS. Worked for me. That's the only changes I made
[Sony Xperia S, Acro S, Ion] Mag48:
Changing MMS to lowercase had it working for about ten minutes. Still having troubles.
[Sony Xperia S, Acro S, Ion] jpcdeux:
Working fine for me still
[Sony Xperia S, Acro S, Ion] mr.M0:
Try these setting on my ion, still not working. Saw the 4G icon flashed for about 2sec and went away, 2 whole sec of hope. :/ Question, does the phone have to be unlock first? its still lock with ATT, getting my unlock code soon I hope. Thanks
[Sony Xperia S, Acro S, Ion] Vfan23:
Working perfect for me under 1 large apn without the data proxy too. :D
[Sony Xperia S, Acro S, Ion] bailey37821:
other working straight talk apn for ion

op's settings did not work for me; but these work great.

Name: ST (or whatever you want)

APN: att.mvno

Proxy: proxy.mvno.tracfone.com

Port: 80

Username: Not set

Password: Not set

Server: Not set

MMSC: http:mmsc.cingular.com (**no spaces and no”//”**)

MMSC proxy: 66.209.11.33

MMS port: 80

MCC: 310

MNC: 410

Authentication Type: Not set

APN type: default,supl (notice I took off the mms! This is because we’ll enter a 2nd APN for mms.)

APN protocol: IPv4

Bearer: Not specified

_________________________________

Now, we’ll enter in a another APN for your picture messaging. So go to your APN settings on your phone and create a new APN. Use these settings:

___________________________________________

Name: MMS

APN: att.mvno

skip down to MMSC: http://mmsc.cingular.com

MMS proxy: proxy.mvno.tracfone.com

MMS port: 80

MCC: 310

MNC: 410

Authentication Type: Not set

skip to APN type and enter: mms

THEN SAVE!!!

___________________________________________
[Sony Xperia S, Acro S, Ion] desanite:
I spent many sleepless nights looking for proper APN settings on Straight Talk's B.Y.O.P. plan (AT&T) for my unlocked Sony Xperia Ion (LT28at) device, here are the ones I came up with by messing around with multiple references, that work flawlessly; I get a near perfect 4G signal nearly everywhere and can send and receive MMS messages very fast:

You need you create 2 APNs and select the one named "straight talk"; The APN titled "mms" will be unselectable if done correctly.

Delete any other APNs if possible.

These settings are CAPs sensitive and sorry for the spaces in the URLs, don't have permission for posting hyperlinks yet,

so leave out the spaces.

When I created this APN setup I did it with the Wifi off and then restarted the phone, and after reboot, worked great with Wifi.

[B]Name:[/B] straight talk
[B]APN:[/B] tfdata
[B]Proxy:[/B] Not set
[B]Port:[/B] 80
[B]Username:[/B] Not set
[B]Password:[/B] Not set
[B]Server:[/B] Not set
[B]MMSC:[/B] Not set
[B]MMSC proxy:[/B] Not set
[B]MMS port:[/B] Not set
[B]MCC:[/B] 310 ([U]This was the default, probably should leave it as default, makes them unsavable if i change this or "MNC"[/U])
[B]MNC:[/B] 410 ([U]Leave as default[/U])
[B]Authentication type:[/B] Not set
[B]APN type:[/B] default
[B]APN protocol:[/B] IPv4
[B]APN enable/disable:[/B] APN enabled ([U]boxed is ticked for me, but greyed out[/U])
[B]Bearer:[/B] Unspecified

[B]Name:[/B] mms
[B]APN:[/B] tfdata
[B]Proxy:[/B] Not set
[B]Port:[/B] Not set
[B]Username:[/B] Not set
[B]Password:[/B] Not set
[B]Server:[/B] Not set
[B]MMSC:[/B] http: //mms-tf. net
[B]MMSC proxy:[/B] mms3.tracfone. com
[B]MMS port:[/B] 80
[B]MCC:[/B] 310 ([U]This was the default, probably should leave it as default, makes them unsavable if I ever changed this or "MNC"[/U])
[B]MNC:[/B] 410 ([U]Leave as default[/U])
[B]Authentication type:[/B] Not set
[B]APN type:[/B] mms
[B]APN protocol:[/B] IPv4
[B]APN enable/disable:[/B] APN enabled ([U]boxed is ticked for me, but greyed out[/U])
[B]Bearer:[/B] Unspecified

For T-Mobile Sim people, simply use the ones on the website, never had any problems with them, work great, even had 4G.
[Sony Xperia S, Acro S, Ion] nickacs1:
desanite, you da man!! I just ported from VZW to ST this morning and found this thread via some Nexus 4 chat on the ST message forum someone linked to.

I entered your 2 APN's above and works like a champ!! thanks :)
[Sony Xperia S, Acro S, Ion] desanite:
Awesome, almost bought a Nexus 4 myself, hope you're loving it! So glad to hear it worked for you, haha, spent like 30 minutes typing that up, haha. I doubt I could have done it without the creator of this thread, so shout out goes to joe3681 for figuring out you had to make separate APNs.
[Sony Xperia S, Acro S, Ion] Najuto9tail:
Hey everyone add the word hipri in

apn type: default,supl,hipri

Now I get faster speeds on straigh talk. Went from 1mb to 5mb download with this simple change. :)
[Sony Xperia S, Acro S, Ion] bailey37821:
Info on new sim (sort of)

Just thought I would give an update for all of us still hanging on to the ION

I just got a new ST ATT type sim card. I just knew for certain that with the new sim card that the standard APN settings would work:D

I was disappointed to say the least, LOL

Still the only ones working for me are in my post on page one.
[Sony Xperia S, Acro S, Ion] itzmashy:
only settings that worked for me, thank you so much <3333
[Sony Xperia S, Acro S, Ion] crollinsphoto:
None of these working

None of the settings listed work for me. When I try to send a picture it says "queued for sending when service is available" and when someone sends me a picture I get "message not downloaded". 2 APN's do not work. I also do not get any 4G with these settings. At least with straight talk's settings I get 4G LTE but of course nothing works that way neither.

Any more settings I can try?
[Sony Xperia S, Acro S, Ion] montrese04:
Not really sure I've had an ion for 2-3 yrs and in the beginning when I lived in Atlanta it worked. But now living in Indiana i can't get any (MMS) to work ? I have wonderful 4g though
[Galaxy S III General] paintball23456:
there was a thread yesterday about a samsung s3 which was much better than the current one, the thread got removed today but here is proof that the person had a different galaxy phone http://www.androidauthority.com/ntt-docomo-galaxy-note-2-galaxy-s3-alpha-121710/
[Galaxy S III General] Skander1998:
Nothing special, same CPU and everything, slightly overclocked to 1.6Ghz.

Nothing super / awesome here.
[Galaxy S III General] btemtd:
Like i said in the other thread its no super S3 LOOL... all it is IS a slighlty Overclocked I9305 as it has 2GB ram.... I wll be able to have this and do it from my bedroom soon as more dev support happens for the I9305 Cant wait to overclock. Al though I did get 6147 quadrant Pro score. Fully stock with bloat ware. SSo its Fast enough for the time being :) I just took out some bloat ware and added some of my apps, Phone was alot cooler then before and i just got a 6230 score not bad for stock i say and right now my battery is only 20%
[Galaxy S III General] DSA:
Did you even read the link you posted?

It even states in there the only difference is the oc'ing of the cpu and the updated OS & ram

so it has jellybean and a 1.6ghz processor....big whoop

This warranted a new thread? The other one was closed for a reason...pretty much the same reason this one will be closed
[Xoom Q&A, Help & Troubleshooting] vincent26:
Hey guys so my xoom has been good for over year but suddenly within the last 6 months something funny has been happening. Sometimes when i press the power button at the back the xoom refuses to wake up. And i can keep pressing all i like but it just wont wake up. At times i wait for about 10 minutes and it will work again, but other times i have to soft restart it. Does anyone have any idea what might be going on?
[Xoom Q&A, Help & Troubleshooting] wooly1:
Mine started doing the same thing at about 6 months as well.

It would restart with a reboot with the power button and vol up, but not with just a press of the power button alone.

Luckily it was still under warranty and the repairer replaced the motherboard.

It has been fine for several months now.

Hope yours is still under warranty as well.
[Xoom Q&A, Help & Troubleshooting] kcrudup:
Which build/SW are you running?
[Xoom Q&A, Help & Troubleshooting] vincent26:
Sorry about that. I'm running team eos stable release 3.0
[Xoom Q&A, Help & Troubleshooting] lynxboy:
Noticing the same on EOS Stable. Very rare, but happened once or twice. May be worth flashing another ROM and seeing if the issue persists.

Regards.
[Xoom Q&A, Help & Troubleshooting] Chaosgod27:
Don't get it on the nightly builds. They are generally very stable, but lately it has a few issues with lag and audio.
[Xoom Q&A, Help & Troubleshooting] XxLordxX:
I'm using CNA ROM and happened one time or two only... But it was because I was performing many operations at the same time, so it was really slow. If happens too constantly I'd go to Settings>Developer Options>Don't keep activities (check that) and Background process limit changed to "At most 1 process" or "At most 2 processes", you'll loose some of the Multi-tasking but it will be better...

All the best,

your friend - XxLordxX
[Xoom Q&A, Help & Troubleshooting] kcrudup:
I'm just not seeing this - my latest mods have made it faster than ever for me, and by extension, should be for everyone else, too ...
[Xoom Q&A, Help & Troubleshooting] lynxboy:
When it has happened to me, there has generally been something intensive happening in the background, so the theory posted above may ring true. It may also be worth upping your min processor speed to 312Mhz or experimenting with different governors and seeing if that helps.

Regards.
[Xoom Q&A, Help & Troubleshooting] Chaosgod27:
Maybe so, but I was strictly speaking about those nightlies where everyone was having issues. I guess it was fixed before I even realised. lol
[Xoom Q&A, Help & Troubleshooting] lynxboy:
Just to report, switching to CM from EOS cured my sleep/wake issues. Issue most likely resides with the EOS kernel. Obviously all hardware is different, so this doesn't affect all users.

Regards.
[Android Q&A, Help & Troubleshooting] Rotkaeqpchen:
Hi,

Chaos Rings is out on Android since yesterday. Many people encounter a force close issue. So do I.

Now, catlog says "Unable to creat files directory".

Maybe this helps to find a solution!?

Thanks.
[Android Q&A, Help & Troubleshooting] cooldoud:
Got it to work on my Galaxy Note. Found this in the apk, so figured you just need to hide your superuser app. Renamed "superuser.apk" in my /system/app folder, then I could start the game fine. Once done playing, I renamed superuser.apk.bak to superuser.apk and all is well.

String[] packagename = new String[] {
decode(activity, "55E3819E6925E350523567266666667627776777") , //eu.chainfire.supersu
decode(activity, "3FDEEF3856F5E1E42F94E3566626676766726667666277") //com.noshufou.android.su
};
[Android Q&A, Help & Troubleshooting] Tony84:
Hi, didn't work for me on galaxy note 10.1. And the worst is that the refound option isn't there.
[Android Q&A, Help & Troubleshooting] cooldoud:
Hmm... guess it might be checking other stuff...

Are you using Chainfire's SuperSU or the standard Superuser app? I was using SuperSU, and it worked for me. I also (surprisingly) didn't have to rename the su binary for the game to start properly. Maybe check your app drawer? Once renamed, my SuperSU app disappeared from the drawer, but different devices may react differently (i.e. you might need a reboot for the app to disappear, which would really suck!)
[Android Q&A, Help & Troubleshooting] Tony84:
Yes running supersu and rebooted. I'll give another try later I think to check if supersu really disappears. Tnx btw
[Galaxy S II General] vjmcdonnell:
Hello,

I dropped my phone in to my local Three store as I was having the low mic issue. I only had the motherboard changed 2 months ago and had the low mic issue since I got it back.

When I went in to collect it I was told that they are not fixing is as un authorised repairs had been done on it. I questioned this and after the sales assistant made a quick call was told it was because of my custom firmware.

I remember before being told that Samsung was repairing phones with custom Firmware.

Have they changed?

I found out that Three did not send it back to Samsung but there own in house repair center.

I am contacting Samsung Directly to see what they say. And pointing them in the direction of this post.

The only reason I picked Samsung was a few years ago HTC started locking their bootloaders and Samsung came out straight away saying they would never do this. I seen Samsung as Modder friendly. Seems not so any more

Here are the two letters I got when collecting the phone....

Please chip in with your ideas or anything else you want to say.

Thanks
[Galaxy S II General] vjmcdonnell:
I just sent Samsung the following

Hello,

I dropped my phone into my local Three store(Ireland) as the mic was very low on calls but ok on speaker. I had previously had the Motherboard replaced as the phone was not booting.

The phone was returned to me today not repaired and was told it would not be repaired as it had custom firmware on it.

I know it is in the T&C that this voids the warranty but I was lead to believe that Samsung was modder friendly. And was repairing phones with custom firmware. I do note your stance when HTC started locking there bootloaders and Samsung came out and stated that theirs are not locked down and wont be.

I have posted the issues I am having on the following sites so far.

http://xdaforums.com/showthread.php?p=32660590#post32660590

http://androidforums.com/galaxy-s2-...g-three-refused-repair-phone.html#post5066973

http://forums.pinstack.com/f60/samsung_three_refused_to_repair_phone-135200/#post1340783

I will keep these posts updated as I feel the large android community should know if Samsung has changed its stance on this.

Hoping you can help,

Vincent McDonnell
[Galaxy S II General] erdemkaraman35:
customer satisfactionof samsung isnt good,it was normal
[Galaxy S III Q&A, Help & Troubleshooting] KleinerBlade:
After downloading the update for SGS3, I found the update.zip in the /cache/fota/ directory. I was able to adb pull it to my workstation. Besides some new apk's and patches it contains a new bootloader sboot.bin which is stored on the mmcblk0p1 partition when executing the update.

For curiosity I'm searching a way to unpack or decompile the sboot.bin ! Anyone knows what type of file this binary is made of and how I can unpack/decompile it?
[Galaxy Note II Themes and Apps] Tubgirl:
Hello

Ever since I purchased MX Player Pro it's been my favorite video player, but a couple of months ago they dropped DTS support so I downgraded to v1.6f which is the version I've been running since then.

However... when I try to run MX Player Pro 1.6f on my Note II it says "Unsupported android version". Same story goes for DICE Player 2.0.6...

So... is there any way to modify the apps into running on JellyBean? I remember that I've in the past modified my favorite Firefox add-ons (PC) to run on newer versions of Firefox. I was hoping that It might be something similar on Android. Just editing a value in the apk making it accept Android 4.x and not only up to 3.x.

Brgds... /Tubgirl
[Galaxy Note II Themes and Apps] hagba:
Then why dont you simply use the 1.6j (j is for Jelly Bean).
[Galaxy Note II Themes and Apps] Tubgirl:
Because that version doesn't decode DTS audio.

Brgds... /Tubgirl
[Galaxy Note II Themes and Apps] Marchintosh:
Other alternative?
[Galaxy Note II Themes and Apps] hagba:
Actually I am having no problem at all.
[Galaxy Note II Themes and Apps] Tubgirl:
That's probably because you don't have any movies with DTS audio... or do you?