yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Ace 3] Fahadistic:
Hey guys!

In case anyone was wondering how to enable 4G LTE on your Samsung Galaxy Ace3 LTE. Just follow these steps:

Open dialer.

Dial *#0011#

Press options >Back.

Press options> Key input.

Enter Q

Press options>Key input

Enter 0000

Now wait for some seconds.

Now tap on UMTS.

Tap on DEBUG SCREEN.

Tap PHONE CONTROL.

Tap NETWORK CONTROL.

Tap BAND SELECTION.

Select Automatic or LTE Band Prefence.

Now switch on Mobile Data and you will see a 4G icon if you are in the coverage and your network supports 4G. :)
[Samsung Galaxy Ace 3] daalvarez33:
hey!!1

do yoy have the NVitems for this model? or de EFS backup ??

tanks
[Samsung Galaxy Ace 3] ArunGolden:
I didn't seems the UMTS option
[Galaxy S 4 Mini General] BioGenX:
Supported builds:

AICP by k2wl for i9192

CM12.1 by F4K for i9190, i9192, i9195

CM12 by F4K for i9190, i9195

CM12 by k2wl for i9192

RESURRECTION by lsdty for i9190, i9192, i9195

SOKP by lsdty for i9190, i9192, i9195

FlexOS by lsdty for i9190, i9192, i9195

Team-UB by tioguda for i9190, i9192

Blisspop by tioguda for i9190, i9192, i9195

​

If you enjoy nightly builds but find all the steps necessary to flash a burden like me, you would be glad that I have achieved OTA updates for UNOFFICIAL builds. I have put together an OTA script that checks every hour for latest build and passes that download link as JSON response to CM Updater OTA app in settings. Example response:

{"id":null,"result":[{"incremental":null,"api_level":"23","url":"https:\\...\cm-12.1-20150603-UNOFFICIAL serranodsxx.zip","timestamp":"1433289600","mdsum":"23dcbc0c2ba6474f64566adde9d1f6d5","changes":null,"channel":"nightly","filename":"cm-12.1-20150603-UNOFFICIAL-serranodsxx.zip"}],"error":null}

The server :

Supports basketbuild and androidfilehost hosted builds.

Is a free host, with 87% uptime.

Does not host builds

Does not build deltas

Builds flashable zip for every ota supported

​

You must have TWRP recovery for ota's to work. If you don't have it, you can get it from

HERE

.

If you don't want TWRP on your device, you can manual flash updates from sdcard0/cmupdater with CWM or Philz.

​

Flash OTA zip for your device and build from http://ota.heliohost.org/zips/, you don't need to flash the zip again after an ota update as it is included in addon.d so it is restored after flash.

*files with _launcher add Updater to appdrawer (useful for non CM builds that don't have Updates in settings>About)

*files with _settings are CM stock

​

Server changelog:

new script. Once every 2 hours, generates response and zip for 10 builds in less than 30 seconds.

removed ota limit.

changed host.

set androidfilehost.com link limit to 5. [1/5 used]

added androidfilehost.com support.

changed build limit from 2 to 30. [7/30 used]

more optimization.

initial release.

​

If you want to host your own server [only one build supported], you can find the lite script for basketbuild and androidfilehost in attachments. Just add at first line $raw_url="your build's folder url" . I've added all functions in one file to be easy to set up. Just upload index.php to a folder in your host and set the link to that folder with the options bellow.

There are two ways to route OTA app to your server.

Open CMupdater.apk with hexeditor, search for https://download.cyanogenmod.org/api and replace it with the link to your server(Use Paste-Replace not Paste-Insert), then add that apk to OTA_template.zip from attachments in system/priv-app/CMUpdater.

​

Add cm.updater.uri= 'your server link' on your own build.prop file.

Thank you:

CyanogenMod for their work on OTA app.

k2wl for integrating my server link in your source.

All devs for keeping our devices updated.

julianxhokaxhiu for the insight on how the CMUpdater works.

Internet for php knowledge.

If you like my work, please consider donating.

Cheers !
[Galaxy S 4 Mini General] BioGenX:
To do:

Will update zip with addon.d to backup CMUpdater.apk at ota flash so that there will be no need to flash updater again. DONE!

If you want more features, post.

For security and performance concern, I decided not to add control panel for users to freely add builds to server. Just ask and if possible I will add the requested build to server.

Info:

This method can be used by any device or android version. Current zip builder makes zip only for lollipop, but if requested, I can add support for KitKat as well.
[Galaxy S 4 Mini General] k2wl:
+1

big day has come for unofficial duos variant!!!

thanks !!!
[Galaxy S 4 Mini General] Pangadaywalker:
Can I use the K2WL for the AICP 9.0 builds?
[Galaxy S 4 Mini General] k2wl:
will you try to add basketbuild links to OTA script???

that way we can add aicp /cm to this script
[Galaxy S 4 Mini General] parthabhatta:
Hey [MENTION=6423631]BioGenX[/MENTION] Thanks for your effort. I have few queries.

I am on F4K latest 12.1 CM for DUOS(9192) version with F4K kernel and I have flashed your OTA ZIP and now updates menu on setting options work, though no updates are shown as there is no update now.

What is the script for for? Is it of any interest of normal use or only for Devs?

Secondly on updates being available will the entire ROM get downloaded or it will only be an incremental update.

Lastly for CWM recovery users, since you have told that only TWRP us supported, please tell is where the update zip will be stored so that we may manually flash it through C also.

Lastly thanks again.
[Galaxy S 4 Mini General] BioGenX:
!This acts as official but is not official. The builds are downloaded from basketbuild.

This will work only if builds are uploaded to basketbuild.com.

The way the script works:

1. You give it basketbuild link ('https://basketbuild.com/devs/k2wl/cm12.1_i9192')

2. Searches .html for latest build ('https://basketbuild.com/filedl/devs?dev=k2wl&dl=k2wl/cm12.1_i9192/cm-12.1-20150601-UNOFFICIAL-serranodsdd.zip')

3. Provides direct download link (''https://basketbuild.com/dl/devs?dev=k2wl&dl=k2wl/cm12.1_i9192/cm-12.1-20150601-UNOFFICIAL-serranodsdd.zip) (replaces 'filedl' in link with 'dl')

3. Searches MD5 from .html

4. Passes MD5

5. Converts date from filename to unix time to get build time (This is what tells the OTA app if it's a new update)

To get any build you like you just change first link in script.

If you upload AICP to basketbuild I can add a script for it as well and make apk for it
[Galaxy S 4 Mini General] BioGenX:
The server script can be used for personal use. First time I used it was on my OPENWRT router. After 2-3 week test I decided to share as it is stable.

The OTA app download entire rom. For incremental it's more complicated and and you need builds on server.

For this you need to implement a REST server. Can find more details here: http://xdaforums.com/showthread.php?t=2636334

The files downloaded by CMUpdated are stored in Internal Storage/cmupdater/
[Galaxy S 4 Mini General] BioGenX:
This script only works with basketbuild.com. But if K2WL uploads AICP on basketbuild in the future, i can make a script for it too.

Also please don't ask to implement it for Androidfilehost.com as it doesn't provide MD5. Without MD5 you can't flash OTA.
[Galaxy S 4 Mini General] BioGenX:
In development:

Mod update app to flash latest f4k kernel for f4k build when flashing ota.
[Galaxy S 4 Mini General] fish72:
Just installed TWRP and your 1.1 mod.

Using i9195 (s4 mini LTE).

If I'll manually check for updates, Will it show the update that is specifically to my rom (F4k cm12.1) ?

Although my rom is based on latest june 3rd 2015, I see there's an update cm-12.1-20150603-unofficial , And I don't know if I should flash it because it's same date of rom i'm currently using....
[Galaxy S 4 Mini General] BioGenX:
Did you flash v1.1_OTA_CM12.1_F4k_serranotexx.zip ?

It shows that you have connection with the server. If there is a check mark next to the available update you can't/ don't need to download/flash as you already have the latest version. If you have something like a rectangle with an arrow, I think you flashed the zip for DUOS version.
[Galaxy S 4 Mini General] fish72:
oops....I prob. did :) Thank you for the explanantion.

I think I'll need to go back to an earlier rom, Since I see some functionality problems are still in Cm12.1 (Suddenly back and options front led key does not respond.....Happend to me before on cm 12/12.1 roms......
[Galaxy S 4 Mini General] BioGenX:
If devs would add their name in ro.cm.version in build.prop (ex. from: 12.1-20150603-UNOFFICIAL-serranodsxx to 12.1-20150603-UNOFFICIAL-serranodsxx-BioGenX) there will only be one zip needed for all devices and builds as the server would identify your device and build when you request a check for updates.
[Galaxy S 4 Mini General] BioGenX:
I had this problem a wile back. The way I clean install is by cleaning /system, /cache, /data and internal storage. This did fix it for me. Also if you flash an older version and use OTA to update, please post if it worked for you as maybe all the users that used this already have the latest version and I only checked it for DUOS, but there is no reason for it not to work. all i did was change the link to server and add basketbuild links for your device in to the server
[Galaxy S 4 Mini General] fish72:
I freshly installed about 20 times different roms for the past 2 weeks and even clean installed as you did,But it didn't solve it :( (I did most installed because of some shut down battery issues i have - But it's prob. the battery itself....)

It's ok, I'll use 10.2 for a while until cm12.1 will get some of the bugs gone.

Thank you very much Bio-G for the help you provided :)
[Galaxy S 4 Mini General] BioGenX:
Can you try to disable led illuminate in buttons in settings app ? I see this is a fix for S6 might also work for you. I also have button led illumintion disabled
[Galaxy S 4 Mini General] fish72:
Thank you very much for the tip. I will make a note to myself about it next time I'll install cm12.1
[Galaxy S 4 Mini General] BioGenX:
OTA for androidfilehost.com

Good news!

I did some research on androidfilehost.com. It seems they provide an api for direct download and they do generate MD5.

At the time of my post the site is offline, but once it's online I can begin work on my script to support androidfilehost.com as well.

Will update until today/tomorrow OTA's all the UNOFFICIAL lollipop builds for our device if all goes well.

Cheers !
[Galaxy S 4 Mini General] BioGenX:
Server may be buggy/offline for today as I am working to optimize the code even more and try to implement androidfilehost.ro in the script

Cheers!
[Galaxy S 4 Mini General] k2wl:
good...i cant upload aicp builds on basketbuild as i have very limited space available on basketbuild....better to get it work on androidfilehost

also give me line to add to build.prop i will add it in my device tree.
[Galaxy S 4 Mini General] BioGenX:
I have a fix for androidfilehost.com, i'm integrating it to the server as I speak, also maybe today/tomorrow there will be a page where you can input your basketbuild/androidfilehost link to server and it will generate link to it (ex. http://cyanogenmodota.16mb.com/api34/)

devs can ad cm.updater.uri=http://cyanogenmodota.16mb.com/api34 to build.prop

users can mod their CMUpdater.apk like in my guide or download it from this thread.

I will upload on androidfilehost.com and categorize ota's apk for every device/build requested in my free time.(ETA~20min-24h)

Please don't ask for automatic recognition of build as I can't determine from build. prop if device is F4k,k2wl,pac,aicp,etc...
[Galaxy S 4 Mini General] k2wl:
what server link to be added instead of download.cyanogenmod in cmupdater...i will add that as overlay in my source so that it gets build with that server link by default.

UPDATE

added both to source tree.

building new cm12.1 rom.

lets see how that works
[Galaxy S 4 Mini General] BioGenX:
I will reserve an api for AICP.

The api's for your builds are:

CM12.1 - http://cyanogenmodota.16mb.com/api2/

CM12 - http://cyanogenmodota.16mb.com/api3/

AICP - http://cyanogenmodota.16mb.com/api6/ *

For F4K:

CM12.1:

i9190 - http://cyanogenmodota.16mb.com/api4/

i9192 - http://cyanogenmodota.16mb.com/api/

i9195 - http://cyanogenmodota.16mb.com/api5/

CM12:

i9190 - http://cyanogenmodota.16mb.com/api7/ *

i9192 - http://cyanogenmodota.16mb.com/api3/

i9195 - http://cyanogenmodota.16mb.com/api8/ *

*offline.

Server build refresh is disabled today as I work. On links without * ota will show last builds posted until yesterday.
[Galaxy S 4 Mini General] BioGenX:
Also the function of the php script and wget can be implemented in a APK. Update check download size will be a few hundred Kb, so if a dev is up to it this will benefit all ROM's without OTA's. I wish I could write it but i'm not that experienced in java. as it's not my primary ocupation.
[Galaxy S 4 Mini General] k2wl:
in past android file host used to make ota mark option on files uploaded.

they have some api documentation on their site.
[Galaxy S 4 Mini General] BioGenX:
I know of that, but you can get the right to use that if you are a beta developer/ premium member or something.

That is the reason I made an account there. If we can get an apikey on our hands I can do something, but even then I think is limited to the dev that generated the key.

Current progress:

> Generate direct download links for androidfilehost.com >DONE !

>Make database / optimize scripts further >DONE !

>Make Control Panel to add device/builder/version/normal download link/last check date.time/.zip to flash/ >DONE!

>Link above to DataBase > In progress !

>Run server > DONE!
[Galaxy S 4 Mini General] BioGenX:
I may not be able to add new builds to the server for a week as I have exams comning up. Sorry guys :(.
[Galaxy S 4 Mini General] thallyswb:
:crying:

But the server is online ? And we'll have updates normally?
[Galaxy S 4 Mini General] BioGenX:
All the builds listed now have ota. There is a small problem in aicp as it does not have an entry in settings>about>updates. We have for k2wl to fix this or if i have time maybe i'l try something after 4-5hours. No promises.
[Galaxy S 4 Mini General] BioGenX:
To fix AICP ota app, extract CMUpdater.apk from my zip, decompile it with APK Multi Tool, open AndroidManifest and add in <activity> this:

<category android:name="android.intent.category.LAUNCHER" />

Recompile put back in zip and flash. This should make the ota app to apear in launcher app drawer.

Cheers!
[Galaxy S 4 Mini General] flipeicl:
Sorry for my ignorance, so I have the F4k TWRP 2.8.6.0 in my i9192 and k2wl AICP 9 with release 20150606, I flashed the OTA_k2wl_AICP_ds file and don't understand where I can find the update settings, is there in "AICP Extras --> Aicp OTA"?
[Galaxy S 4 Mini General] BioGenX:
As i posted before. I don't have AICP installed. We should wait for k2wl to add updates entry it to settings

Can you provide screenshot of about phone in settings and also what you mentioned about aicp extra > ota ?

You should see something like my screenshot, just a different file name.

#EDIT:

Can you test this ota zip in attachments and see if going to AICP Extra>AICP OTA works now ?
[Galaxy S 4 Mini General] Pangadaywalker:
Tested and my aicp ota disappeared. Ups
[Galaxy S 4 Mini General] BioGenX:
[OFFLINE/ MOVING HOST] OTA Server for UNOFFICIAL builds

Due to current host cpu limit server is offline now. I found a no cpu limit free host and I will move server tomorrow and upload new zips for it if I have to change the domain.
[Galaxy S 4 Mini General] Pangadaywalker:
Any idea why my option disappeared on the SETTINGS > AICP OPTIONS > AICP OTA?

Now my last option is the Kernal Adiutor instead of the AICP OTA?
[Galaxy S 4 Mini General] BioGenX:
I tried to replace aicp ota with cm ota, it seems it dosn't work. The server is online again but i don't know when it will throw a cpu limit reached error again. The new host on heliohost.org will take up to 24hours to activate . I will reupload zips with new url as soon as the server is active. The new URL will be http://ota.heliohost.org/

Cheers!
[Galaxy S 4 Mini General] Pangadaywalker:
Understood.

Thanks for looking into this. Anxious yet to test this when possible. Appreciate all the hard work.
[Galaxy S 4 Mini General] thallyswb:
Online ?
[Galaxy S 4 Mini General] BioGenX:
The host suspended my account for using to much cpu usage. The limit is incredibly low. The new host with unlimited cpu/memory/bandwith at ota.heliohost.org is still not activated. Can't do anything until it is.

Cheers!
[Galaxy S 4 Mini General] Pangadaywalker:
Thanks man. Hard work to help everyone!!!
[Galaxy S 4 Mini General] prabhurb:
hosted scripts on my server and its working

All ,

Meanwhile i have hosted the scripts on my domain. You can use this till the new server come up.

Url: Reddy.heliohost.org
[Galaxy S 4 Mini General] BioGenX:
Thanks for the support. I posted in my new host's support forum to see if why my account was queued for more than expected. The script was overhauled but PHP Storm corrupted my new project so i have to rewrite it. Meanwhile, im learning how to transpose the server's function to an apk so we will have otas for all builds/devices on basketbuild and androidfilehost
[Galaxy S 4 Mini General] Pangadaywalker:
Can't wait to test the AICP!! Uhuu!!
[Galaxy S 4 Mini General] BioGenX:
Good news! my host at ota.heliohost.org is now activated and online. If all goes well with recoding, we should have the server online and zips reuploaded in about 2 hours. Can't make promises, but hang in there guys !

Cheers!
[Galaxy S 4 Mini General] :
Hey...can u add this OTA update feature in RR ROM by isdty!!!???
[Galaxy S 4 Mini General] BioGenX:
I will see to that as soon as I'm done with my exams in 4 days. Sorry guys but engineering is not an easy task.
[Galaxy S 4 Mini General] :
I know. Ty anyway. Which grade u r in?
[Galaxy S 4 Mini General] BioGenX:
Second year
[Galaxy S 4 Mini General] BioGenX:
Maybe I will finish the script faster but no promises.

PS. Please make your posts relevant to the thread. Personal questions in pm. Thanks!
[Galaxy S 4 Mini General] prabhurb:
updated zip with working url

I have updated the zip file for k2wl cm12.1 with working url. You can use this till BioGenX x come up with new server.

Cheers
[Galaxy S 4 Mini General] prabhurb:
[MENTION=943196]k2wl[/MENTION] could you please change ota url for cm12.1 as current url is not working
[Galaxy S 4 Mini General] BioGenX:
Download any of my zips, extract CMUpdater.apk, open in hexedit, search for api and change the url you see with the one you want.

News:

Script completed.

Modified CMUpdater.apk to show in appdrawer for non CM builds that lack updates entry in settings.

ETA unknown:

Building webpage with polymer(will look as material design app)

Features:

-add build url to server(generates entry for build and it's zip). Yes, after you enter url,device,rom name and builder and click add, the server will generate .zip with modified CMUpdater for you.

-list (as google now cards) current otas on server, api adress, zip.

If you want to check out polymer go to https://www.polymer-project.org/1.0/

Server will be ONLINE as soon as I finish polymer interface. This time I want you guys to see the finished project, not just an idea like the first version.

Cheers !
[Galaxy S 4 Mini General] :
Well ..OTA_k2wl_aicp is not working. I flashed ur zip and searched for updates. But they are saying there is no update.

Note: I installed second last update of aicp ROM by k2wl to test this.
[Galaxy S 4 Mini General] BioGenX:
Read carefully, the server is still offline. I finished the coding part. Once i finish control webpage, server will be online. You will dowload zip from tgat page once it's done and enjoy otas.
[Galaxy S 4 Mini General] prabhurb:
Hi,

Please include below changes

1) android.d not working : it is restoring apk as zip file , Please change the code to backup apk itself instead of folder

2) Instead of setting cron for grabber.php can you please call this .php file in index.php itself so that it will check for real time updates. Also there is restriction on cron at heliohost.
[Galaxy S 4 Mini General] BioGenX:
1. Strange, will see.

2. Think it like this. Let's say I merge grabber with index all dough the code has been changed. If grabber takes 5-10 sec to process one site, what will happen if 100 persons will acces. For that reason i batch download and process all links, make JSON and put it on it's corresponding api folder. Index.php just shows the response if exists.

Cron will be done by my router with wget every 3hours to avoid server load.
[Galaxy S 4 Mini General] prabhurb:
Yes that`s true, considering the no. of calls to that website batch download is better :good:
[Galaxy S 4 Mini General] BioGenX:
Server is ONLINE now as I had problems implementing polymer in my host.

Server is stable now, and generates zip's for new builds, so adding new builds can be done in 1 minute :) .

There are 2 kinds of zips for each build:

- the ones with _launcher at the end add a shortcut for Updater app in the app drawer (useful for non CM builds as some of them don't have updates in settings>about)

-the ones with _settings have no changes

Cron log :) :

Processing 17 builds:

CM12.1_F4K_i9190_at_0000: Done!

CM12.1_F4K_i9192_at_0001: Done!

CM12.1_F4K_i9195_at_0002: Done!

CM12.1_K2WL_i9192_at_0003: Done!

CM12_F4K_i9190_at_0004: Done!

CM12_F4K_i9195_at_0005: Done!

CM12_K2WL_i9192_at_0006: Done!

AICP_K2WL_i9192_at_aicp: Done!

RESURRECTIONREMIX_ISDTY_i9190_at_0008: Done!

RESURRECTIONREMIX_ISDTY_i9192_at_0009: Done!

RESURRECTIONREMIX_ISDTY_i9195_at_0010: Done!

SOKP_ISDTY_i9190_at_0011: Done!

SOKP_ISDTY_i9192_at_0012: Done!

SOKP_ISDTY_i9195_at_0013: Done!

FlexOS_ISDTY_i9190_at_0014: Done!

FlexOS_ISDTY_i9192_at_0015: Done!

FlexOS_ISDTY_i9195_at_0016: Done!

script execution time: 48.258313179
[Galaxy S 4 Mini General] BioGenX:
I need someone with AICP to test AICP OTA_AICP_K2WL_i9192_launcher.zip to see if Updater is working from app drawer.

Cheers!
[Galaxy S 4 Mini General] SilviuMik:
Great job mate . I will surely use this in future.
[Galaxy S 4 Mini General] BioGenX:
Thanks for your support. When a dev makes a server for his builds, I will remove that build from my server as it will remove useless load.

Once I am satisfied with the performance of the full script, the one with multi build support that I am hosting, I will release the source and comment the code as much as possible. Only rom devs will get the full source and if needed, help with the setup.

I also offer support and future updates to them
[Galaxy S 4 Mini General] arsm74:
Cm 12..1 k2wl 0614 Ota script

Hi, I tried flashing the Ota script for

cm 12.1 k2wl on my i9192 running 0614 build

with f4k kernel and it says update check failed

Please check Internet connection and try

again later..

Please advise
[Galaxy S 4 Mini General] BioGenX:
The host is free with ~80% uptime it's to be expected to have moments like this.

The zip is built are built by the server. Maybe bad ?

Concluding from the fact that you can open the app and run a check tells me that the host had a downtime, and zip may be ok. But I will recheck later today.
[Galaxy S 4 Mini General] BioGenX:
I've wiped and rebuilt the zip folder. Flashed zip and all seems ok. Try to redownload.
[Galaxy S 4 Mini General] arsm74:
Just tried and same error. Do I have to clean cache or dalvik cache?

Does it use basketbuild or adeoidfilehost?

I am using OTA_CM12.1_K2wl_i9192_SETTINGS.ZJP
[Galaxy S 4 Mini General] GioBasi:
I flashed this zip and also 0614 AICP today. I Check and Nothing found red color letters on AICP Extras -Aicp OTA - is it right place where I should check for update?
[Galaxy S 4 Mini General] prabhurb:
Please check if you have any value in build.prop for below line if so please delete that line and reboot. May be you have old URL.

cm.updater.uri='xxxxx'
[Galaxy S 4 Mini General] :
LOL :laugh: ....how will u get an update when you install latest version???

I am using 0606 to test this thing. I will test and post.