yashsingh1/xdaforums huggingface dataset:
[HTC One S] NienorGT:
WTF are you talking about? Stock iPhones don't have scrolling wallpapers, there's a jailbreak tweak but no official features.

Go check in your settings or change for another launcher but don't blame Apple for everything...
[HTC One S] lawalty:
I don't blame apple for everything, except for them pressuring companies like Samsung to take core services away like global search. i can blame apple for That! i may have been wrong with the scrolling wallpaper, but not for the other... thank you.
[HTC One S] dimgl:
What are you talking about? My Jellybean has global search... every Android I've ever owned has global search.
[HTC One S] lawalty:
I'm in the One S forum, which the HTC brand android phones still have global search. This is awesome news, because Just this last week, Samsung has been rolling out an update to all their top-shelf phones (SGS3s) that strips away that global search mechanism that we're use to.

However, the HTC line has yet been untouched.

As far as the scrolling wallpaper, i couldn't figure out why for all of the sudden, just weeks prior to the ICS update, Samsung stripped all their phones (SGS2s & SGS3) using TouchWIZ (Samsung's very own launcher) the scrolling wallpaper.

Im looking forward to diving back into HTC and leaving Samsung behind.
[HTC One S] NienorGT:
Patent trolling is the new way to fight competitors nowadays, it's not just Apple, everyone does it. -_-

I hope that more will follow the way of the Judge Posner.

Not true, HTC had to change something about "smartlinks" to avoid the ban...

http://www.theverge.com/2012/5/16/3...lte-custom-android-build-apple-patent-linkify
[HTC One S] ickedmel:
The galaxy 3 is the first Samsung phone that's actually caught my attention. Though I'm pretty happy when my one s
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] DMax99:
Hi all,

I was on the UK Stock 4.03 + Root....

I was trying to connect to a Blue-tooth Device today and the phone was frozen, so I turned it off....

When I tried to turn it back on...it won't go pass the "Samsang Galaxy Note" screen....(it would restart it self every time it reaches that screen)

I tried flashing it to the 4.0.4 German Stock via Odin...and the problem is still there....

is my phone BRICKED??

Please HELP~~!

THANKS!
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] DMax99:
Forgot to mentioned that when I was trying to reboot the phone for the first time....I had a USB Stick plugged into the phone...dunno if that was the cause of the problem :(
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] dr.ketan:
You said tried to flash 4.0.4, that is insufficient information

whether it was successfull or not?

do you rememeber wat exactly last msg ?
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] eng.rego:
Did u try to completely remove the battery then reflash again stock ics through odin?

↖(^▽^)↗ Sent from Rego Galaxy Note ↖(^▽^)↗
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] DMax99:
Yeah...I did a flash of this Stock ROM "N7000XXLRG" from this page: http://xdaforums.com/showthread.php?t=1424997.

The flash was SUCCESSFUL by Odin. However, When the phone rebooted after the flash the problem is still there (phone keep restarting once it reaches the "Samsung Galaxy Note" screen)

:( :(
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] DMax99:
btw.. this is the log of the flash in Odin:

<ID:0/004> Added!!

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> N7000XXLRG_N7000DBTLRG_N7000XXLRB_HOME.tar.md5 is valid.

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/004> Odin v.3 engine (ID:4)..

<ID:0/004> File analysis..

<ID:0/004> SetupConnection..

<ID:0/004> Initialzation..

<ID:0/004> Get PIT for mapping..

<ID:0/004> Firmware update start..

<ID:0/004> factoryfs.img

<ID:0/004> NAND Write Start!!

<ID:0/004> zImage

<ID:0/004> hidden.img

<ID:0/004> modem.bin

<ID:0/004> cache.img

<ID:0/004> Sbl.bin

<ID:0/004> RQT_CLOSE !!

<ID:0/004> RES OK !!

<ID:0/004> Completed..

<OSM> All threads completed. (succeed 1 / failed 0)

<ID:0/004> Removed!!
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] DMax99:
Also...when I am trying to get into recovery mode....it shows the pic of the Android bot lying on the ground with a red triangle??
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] dr.ketan:
It seems you have got bootloop

and least chances that you have data.img corrupt

For safety you just download any GB ROM and flash using PC Odin, after that go to recovery and wipe cache and data, it will be solved if only bootloop is there.

if you get error on wiping then it is case of brick bug.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] DMax99:
Thanks for your reply again....is there a SAFE instruction of how I can flash GB ROM by using Odin? :)

You meant a STOCK GB or CUSTOM one?

Does it matter if I flash the German one when I was on the UK one originally?

THANKS AGAIN
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] dr.ketan:
Find stock rom thread by me from stickies in development section

Download ANY stock.gingerbread rom and flash using pc odin

Guide is available on same thread post #2.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] DMax99:
ok...downloading now....will let you know the result soon....THANKS :)
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] Final5k:
DMax99, hope everything goes well for you! When you were on ICS, didn't you flash a safe kernel like Speedmod? Keep us updated on your situation!
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] DMax99:
THANKS Doc.....by flashing the GB STOCK has solved the problem :)

How can I avoid this from happening in the future? Because I want to upgrade to ICS again
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] DMax99:
No I didn't....where can I get that Kernel? and do I just flash it in CWM?

cheers for the suggestion :)
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] dr.ketan:
Congrats

It was likely to revive as i said it was seems to be a bootloop rather true brick

Dont worry it was just incidence, n not likely to repeat.

You can flash ics now safely. But first wipe cache and data before flashing ics if you have not perform it still.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] Final5k:
Speedmod can be flashed in Odin.

http://touristinparadise.blogspot.com/2010/11/samsung-galaxy-s-how-to-install.html

Main thread - go there if you have questions :

http://xdaforums.com/showthread.php?t=1673072
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] DMax99:
so....

1. this kernel works with any stock ICS ROM?

2. Does it affect any performances....for example making the phone laggy?

cheers
[Samsung Galaxy Tab Plus] Spidergio:
The galaxy tab 7 plus has got the otg?
[Samsung Galaxy Tab Plus] devid801:
ADAPTER CABLE MICRO USB OTG FOR GALAXY TAB ....
[Android Software/Hacking General [Developers Only]] Dblfstr:
More stuff to come...

If you do not know what AROMA is then you are missing out. Check out the Installer here, created by Amarullz

Original Aroma Thread:

[MOD][2.00] AROMA Installer :: 120425-020 :: Open Source​

List of stuff pasted from the original Aroma thread, thanks to Amarullz
​
[Android Software/Hacking General [Developers Only]] Dblfstr:
Functions Reference

__________________________________________________________________________________________________________
[Android Software/Hacking General [Developers Only]] Dblfstr:
XDA forum topic on Edify Script Syntax:

Edify script language​

​

Tutorial on Edify Script Syntax

[TUT] Edify Installation Script Syntax's​

​

Information on Edify scripts and CWM

[INFO] Edify scripts in CWM recovery ​

​

Aroma Log/Tmp Puller V1

This can pull log files/tmp files and other files from an aroma execution. It also allows packaging of just aroma or whole rom files

Aroma Log/Tmp Puller V1

By: Kevinrocksman​

​
[Android Software/Hacking General [Developers Only]] Dblfstr:
and this one
[Android Software/Hacking General [Developers Only]] Dblfstr:
another one???
[Android Software/Hacking General [Developers Only]] Dblfstr:
ok, last one...
[Android Software/Hacking General [Developers Only]] ssojyeti2:
First lol

Great thread idea! I know you didn't exactly come up with it but glad someone finally decided to post it...
[Android Software/Hacking General [Developers Only]] abo_mara7:
Thanks for all your efforts. Let me kick the start off, my aroma-config is attached since it is long. I get a syntax error in line 744 which doesn't exist, last line is 740. Before that there was a code but I removed it but still get an error in the same line.
[Android Software/Hacking General [Developers Only]] Dblfstr:
What error does it give you?

EDIT:

#-- Uninstall button mapping
if prop("cammode-clean.prop","selected")=="1" then
#-- Confirm Demo 1
if
confirm(
#-- Title
"Stock mapping",
#-- Text
"Are you sure that you want to return to stock button mapping?",
#-- Icon (Optional)
"@info"
)=="yes"
then
alert("Result","Done...");
else
alert("Result","Cancelled...");
endif;

Line 668, I think you need another endif here. You have two 'if' but one 'endif'
[Android Software/Hacking General [Developers Only]] abo_mara7:
SYNTAX ERROR!!! aroma-config on line 691 col 1 >> Which is the last line,, and it is empty

E:ERROR in /sdcard/.....zip

(Status 1)

Installation aborted
[Android Software/Hacking General [Developers Only]] Dblfstr:
Did you see my edit?

Besides, I had 740 lines? Either way, a syntax error on the last line means it is expecting an "end" there. That does not mean that the "end" should be at the last line, it means that you left an 'end' off else where that it does not recognize until the script is finished. Thus, it reports syntax error on the last line.
[Android Software/Hacking General [Developers Only]] Dblfstr:
Does it doe this for all kernals, meaning which ever kernal you pick, you get different kernal libs?

Or just the classic kernal?

I ask because for each kernal you pick, you have two options: Kernal and Kernal with SBC.

Furthermore, you have specified a different directory for each option:

opt/kernels/lionfish/sytem/lib/modules

opt/kernels/lionfish_sbc/sytem/lib/modules

Except for classic, you have:

#Classic
if
file_getprop("/tmp/aroma/mods.prop","selected.2") == "3"
then
ui_print("	-Installing Classic Kernel...");
assert(package_extract_file("opt/kernels/classic/boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
package_extract_dir("opt/kernels/classic/sytem/lib/modules", "/system/lib/modules/");
endif;

#Classic w/sbc
if
file_getprop("/tmp/aroma/mods.prop","selected.2") == "4"
then
ui_print("	-Installing Classic Kernel w/SBC...");
assert(package_extract_file("opt/kernels/classic_sbc/boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
package_extract_dir("opt/kernels/classic/system/lib/modules", "/system/lib/modules/");
endif;

Which both point to opt/kernels/classic/sytem/lib/modules for the libs instead of opt/kernels/classic_sbc/sytem/lib/modules
[Android Software/Hacking General [Developers Only]] Robobob1221:
Thanks for the reply.

I missed that! But actually on complete there seemed to be an additional extract which pulls the lionfish lib file, no matter which kernel is installed. For both lionfish kernel this isn't a problem as they use the same modules I'm guessing.

I pulled the log and this is what happens after installation complete

Finished!
Urayamashi Installation Complete. A B.o.B is now in your hands
script result was [@Urayamashi Installation Complete. A B.o.B is now in your hands]
stem/usr/srec/config/en.us/dictionary/basic.ok"
Extract: /system/usr/srec/config/en.us/dictionary/cmu6plus.ok.zip
Extract: /system/usr/srec/config/en.us/dictionary/enroll.ok
Extract: /system/usr/srec/config/en.us/g2p/en-US-ttp.data
Extract: /system/usr/srec/config/en.us/grammars/VoiceDialer.g2g
Extract: /system/usr/srec/config/en.us/grammars/boolean.g2g
Extract: /system/usr/srec/config/en.us/grammars/phone_type_choice.g2g
Extract: /system/usr/srec/config/en.us/models/generic.swiarb
Extract: /system/usr/srec/config/en.us/models/generic11.lda
Extract: /system/usr/srec/config/en.us/models/generic11_f.swimdl
Extract: /system/usr/srec/config/en.us/models/generic11_m.swimdl
Extract: /system/usr/srec/config/en.us/models/generic8.lda
Extract: /system/usr/srec/config/en.us/models/generic8_f.swimdl
Extract: /system/usr/srec/config/en.us/models/generic8_m.swimdl
Extract: /system/xbin/a2sd
Extract: /system/xbin/apps2sd
Extract: /system/xbin/busybox
Extract: /system/xbin/dexdump
Extract: /system/xbin/nano
Extract: /system/xbin/pascal_link
Extract: /system/xbin/sqlite3
Extract: /system/xbin/sysro
Extract: /system/xbin/sysrw
Extract: /system/xbin/wireless_modem
Extract: /system/app/WallpaperChooser.apk
wrote boot partition from /tmp/boot.img
Extract: /system/lib/modules/bcm4329.ko
Extract: /system/lib/modules/cifs.ko
Extract: /system/lib/modules/sequans_sdio.ko
Extract: /system/lib/modules/tun.ko
Extract: /system/lib/modules/wimaxdbg.ko
Extract: /system/lib/modules/wimaxuart.ko

Installer Sucessfull (Status 0)

End at : Thu Jul 12 17:27:51 2012

I have removed a bit of code from the end of the updater but I haven't got round to testing it yet
[Android Software/Hacking General [Developers Only]] amarullz:
Will add it in the main thead when i got my laptop... Thanks
[Android Software/Hacking General [Developers Only]] varun.chitre15:
Ok this seems to be very good thread :D

How to obtain screen calibration data and fix it in aroma-config?

For few phones calibration takes lots of time, so how to collect that data and define it in aroma config to avoid irritating calibration every time you flash the zip?
[Android Software/Hacking General [Developers Only]] Robobob1221:
If you look in the aroma-config near the top it tells you what to do

Once you done this record the calibration number and add it below this text unquoted in the aroma-config. You can see my calibration above
[Android Software/Hacking General [Developers Only]] amarullz:
Yes correct.. And please dont include calibration proccess for user, it was annoyed, user only will think the installer was suck. I found that in some rom before, ask user to calibrate the touch screen before starting installation proccess.
[Android Software/Hacking General [Developers Only]] 2ndIdentity:
Hi,

My below question is for updater-script:

Can I put one function within another?

For instance:

ui_print(file_getprop("/tmp/aroma-data/install.prop","selected.0"));​

I have tried this, and it returns nothing and it doesn't give me syntax error.

I know it is possible for aroma-config.

Thanks in advance! :D
[Android Software/Hacking General [Developers Only]] Phil3759:
I am lookin for a way to backup kernel to sdcard and flash it later when needed:

In edify, this command works as expected:

run_program("/sbin/busybox", "mount", "/sdcard");
run_program("/sbin/busybox", "dd", "if=/dev/block/mmcblk0p5", "of=/sdcard/Kernel_Backup.img", "bs=4096");

Now, when I want to flash it again, I tried this one:

run_program("/sbin/busybox", "mount", "/sdcard");
assert(run_program("/sbin/busybox", "dd", "if=/sdcard/Kernel_Backup.img", "of=/dev/block/mmcblk0p5", "bs=4096"));

and it fails with error 7 at dd line

I tried this line with same issue, error 7 at line 2

run_program("/sbin/busybox", "mount", "/sdcard");
assert(write_raw_image("/sdcard/Kernel_Backup.img", "/dev/block/mmcblk0p5"));

Now, if I use this code:

assert(package_extract_file("Kernel_Backup.img", "/tmp/Kernel_Backup.img"),
write_raw_image("/tmp/Kernel_Backup.img", "/dev/block/mmcblk0p5"),
delete("/tmp/Kernel_Backup.img"));

It will work, but file needs to be in the update.zip

How can I write the partition image from sdcard?

Please help fix this error
[Android Software/Hacking General [Developers Only]] Phil3759:
Anyone help me please?

I tried now to copy a file from sdcard to /tmp to be able to flash it:

run_program("/sbin/busybox", "mount", "/sdcard");
run_program("/sbin/busybox", "cp", "/sdcard/Kernel.img", "/tmp");
write_raw_image("/tmp/Kernel.img", "/dev/block/mmcblk0p5");
delete("/tmp/Kernel_Backup.img");

error is /tmp/Kernel.img does not exist

So, tried to copy an sdcard file to an sdcard folder this way:

run_program("/sbin/busybox", "mount", "/sdcard");
run_program("/sbin/busybox", "cp", "/sdcard/Kernel.img", "/sdcard/download");

But no output file :(

Please someone tell me if

1- is it possible to copy a file from sdcard to phone memory or there are permission issues in the binary/recovery

2- how I can flash an image from sdcard and not in the update.zip

3- In Aroma, this is possible?

I am completely stuck as I never saw a script with code to do this. I googled hours and pages of edify code...

edit: fixed
[Android Software/Hacking General [Developers Only]] Phil3759:
Fixed it, please skip all my above posts
[Android Software/Hacking General [Developers Only]] TheTechNiq:
I'm getting a syntax error aroma-config on line 95 col 10.

I'm trying to edit this to be as simple as possible. Can anyone fix the error as well as give me input?

https://www.dropbox.com/s/p34wa9xf7usvvib/aroma-config
[Android Software/Hacking General [Developers Only]] spyrosk:
Common sysntax error: change line 92 to this

"Infamous 2.9.2",	"Install Infamous 2.9.2 Kernel",	1	#-- selected.1 = 1

Last line in menuboxes,selectboxes,chexkboxes must NOT end with ","
[Android Software/Hacking General [Developers Only]] ciscogee:
Can u tell us how u fixed it for future issues
[Android Software/Hacking General [Developers Only]] Волк:
+1

I hate when I see stuff like that. It's likely something simple like pointing the if to dev/mnt/sdcard, versus pointing it to the symlink, which alot of people wouldn't think of being an issue.
[Android Software/Hacking General [Developers Only]] TheTechNiq:
If the aroma config was set up to go to Mmcblk08 instead of mmcblk05 and aroma failed to write raw image would it brick the device on reboot?
[Android Software/Hacking General [Developers Only]] Волк:
It depends on what that partition, 0p8, is used for. If it's /data or /system, no brick, it just won't boot. If you use DD to write to a larger partition than the imaged one it will seem as if there is less actual space though. Ref thread to come.

Edit: ref: www.linuxquestions.org/questions/linux-newbie-8/learn-the-dd-command-362506/
[Android Software/Hacking General [Developers Only]] Phil3759:
The problem was in CWM that inversed the internal sdcard and external_sd cards: internal sd is /emmc and external is /sdcard

However, in stock recovery, I could not mount the sd cards in busybox through the script run_command (busybox installed in my script and performing well in the lines following the mount). I had to use the 4 arguments edify mount command specifying the exact mount point. For external sd, it is like this:

mount("vfat","emmc","/dev/block/mmcblk1p1","/sdcard");

I saw no where that mount point, even in busybox mount command in console !!

Had to dig into cwm scripts
[Android Software/Hacking General [Developers Only]] manoranjan2050:
Great Thread....... Looking For Long Time Finally Found By Friend.....Bookmarked
[Android Software/Hacking General [Developers Only]] TheTechNiq:
Hey guys. Can't seem to figure out what's wrong in this line. Syntax error line 346 col 1.

This is aroma config

http://db.tt/G3WLeWLe

This is the recovery log for error

http://db.tt/KS3JbgYN

This is my updater script

http://db.tt/TAt2F1pE

Thanks in advance fellas.
[Android Software/Hacking General [Developers Only]] ai6908:
It sounds like you either have too many endif, or not enough endif.
[Android Software/Hacking General [Developers Only]] Robobob1221:
Missed that!
[Android Software/Hacking General [Developers Only]] dsb9938:
Okay, new question.

What is the best, and by best I mean simplest, way to verify a file exists or not?

I basically want to do an ifexist in my updater and move on if it does not.

Suggestions please?

Thanks!

D

.
[Android Software/Hacking General [Developers Only]] Phil3759:
external shell script
[Android Software/Hacking General [Developers Only]] Волк:
But will that feed the data to the install ui/updater-script-installer? It's one thing to run a shell script, it's another to try to get it to integrate back to regular recovery or even AROMA. His question is very good, and your response isn't horrible, albeit incomplete, you gave a very narrow response. Off the top of my head I've sewn the command -e used to check if a file exists, again, this was in a shell script not a CWM script. @ dsb, what are you wanting to do overall? If it's possible to run it all by shell script that's likely the way to go.
[Android Software/Hacking General [Developers Only]] dsb9938:
See this post for details.

I already tried shelling it, as it were.

I've used them to do things with installing kernels on secure phones.

No idea why it's failing this time.

D

.
[Android Software/Hacking General [Developers Only]] Phil3759:
It could be the shell path

use /bin/sh for kernel shell. /sbin/sh will not be there if no cwm installed

Personally, I never rely on third party shells, you are not sure to find. Also, each shell version supports its own commands... I use a tmp busybox and point shell to its path each time I call a script. At least I am sure of the interpreter I use
[Android Software/Hacking General [Developers Only]] Renate:
The if on line #78 is never closed.
[Android Software/Hacking General [Developers Only]] dsb9938:
I was over thinking it. The same way you if/then for choices made in aroma, I can do for this, so the parts not selected, aren't checked. Since the .prop file won't exist, it errors.

Thanks though!

D

.
[Android Software/Hacking General [Developers Only]] Волк:
I am not totally understanding you, but to give you a little feed back, you can write your prop files ahead of time and no errors. Click the link in my sig for the G2x AIO and take a look at my config file and updater-script. I have to write all my prop files at the start or else stuff errors (like you mentioned) and the rest of the script aborts.
[Android Software/Hacking General [Developers Only]] dsb9938:
I figured out that if I do "ifs" based on the questions in my Aroma config, I can completely bypass the parts I don't want to run.

However, now it doesn't install anything that's chosen in the menus.

I dunno what's wrong. I checked the nested "ifs" and they seem fine.

I adb shelled in and verified the prop files and their contents are correct.

Here are my files:

aroma-config

updater-script

log file

Any input is appreciated.

D

.
[Android Software/Hacking General [Developers Only]] RoryB:
Cannot seem to find this.

When you run calibtool and choose to use your new calibration, where do these get written?

I want to be able to save this file so each time I can use these settings with someone else's aroma file.
[Android Software/Hacking General [Developers Only]] evil1art:
scratch that I think I found it
[Android Software/Hacking General [Developers Only]] MrTapa:
Syntax error status1

Hello. I am making my rom with Aroma and while testing only meta-inf folder in a zip. I got Syntax error in aroma-config status 1 in line 273 col 20.

I swaped line 273 with line 276 . Flashed again and i got the same error in line 273 col 20 !?!?
[Android Software/Hacking General [Developers Only]] RoryB:
Sharing over here
[Android Software/Hacking General [Developers Only]] Dblfstr:
format("ext4", "/dev/block/mmcblk0p24");

mount("ext4", "/dev/block/mmcblk0p22", "/system");
[Android Software/Hacking General [Developers Only]] Skanob:
[Solved]

I'm still getting an error with formatting.

I already tried the solution above but it didn't work, still getting the same error. I'm trying to make it work on a Desire S. Could someone please help me out and check the problem?

I made the base scripts as suggested from the OP and pasted the one that I already have. I've attached my files. Thanks in advance.

P.S.

Beginner developer here..

P.P.S.

I used the aroma package creator to create my apps list.

Solved:

Forgot to copy the correct update-binary. Thanks anyways.
[Android Software/Hacking General [Developers Only]] Phil3759:
Try to unmount ALL partitions before formatting