yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 Android Development] kxhawkins:
First, way wrong section.

Second, since you're doing this at installtime, I'm assuming that you can put the script in the root of the update.zip, like update.zip/thumbnails.sh. Then just stick this in your update-script:

If for some reason you have to use the local tmp dir, it's DATA:local/tmp.

Also, you can use:

instead of

, you shouldn't have to mount / remount anything, and I'm pretty sure that "write_raw_image("/tmp/boot.img", "boot")" is useless on the X10. Hope that helps.
[XPERIA X10 Android Development] DooMLoRD:
hi rdannar... seem u trying to to make a ROM installation update.zip

from my experience:

Edify scripts (updater-script) support copying to /tmp but Amend scripts (update-script) doesnt allow such a location... it only allows for SYSTEM, DATA, CACHE

the Edify scripts (updater-script) doesnt always work properly on our current recovery... better stick to Amend scripts (update-script)...

any programs (.sh) that u want to run (which doesnt require additional files) place it at the root of ur packege

any programs (.sh) that u want to run (which require additional files) place it at the /data/local/tmp folder of ur packege

Additional: http://xdaforums.com/showpost.php?p=5776278&postcount=3

formats:

format SYSTEM:
format DATA:
format CACHE:

copy package:

copy_dir PACKAGE:system SYSTEM:

set permissions:

set_perm_recursive 0 0 0755 0644 SYSTEM:
set_perm_recursive 0 2000 0755 0755 SYSTEM:bin
set_perm 0 0 04755 SYSTEM:bin/su
set_perm 0 0 0755 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks
...
.
.
..

busybox installation:

run_program PACKAGE:installbusybox

installbusybox:

#!/system/bin/sh
cd /system/bin
/system/bin/chmod 755 busybox
./busybox --install -s /system/bin

OR

#!/system/bin/sh
cd /system/bin
/system/bin/chmod 755 busybox
./busybox --install -s /system/xbin

running any other program:

run_program PACKAGE:verify_cache_partition_size.sh

OR

copy_dir PACKAGE:data DATA:
set_perm 0 0 777 DATA:local/tmp/verify_cache_partition_size.sh
run_program DATA:local/tmp/verify_cache_partition_size.sh

OR

-[ i have not tested the following but might work ]-

copy_dir PACKAGE:tmp TMP:
set_perm 0 0 777 TMP:verify_cache_partition_size.sh
run_program TMP:verify_cache_partition_size.sh

verify_cache_partition_size.sh:

#!/sbin/sh
<commands u want to execute>

i think this should work... in case it doesnt send me a p.m. we will try to work this out...
[XPERIA X10 Android Development] rdannar:
thanks doomlord I will give your file placements a try

I understand the script writing.. have done tons of scripts. Just wanted to stay true to the rom I am porting and have files go to tmp.

I have tried a million ways with amend to mount tmp but is not possible and tons of ways to get edify working but it isn't read correctly... so I will give the placement of the files a try and see if the rom will still work...

this rom is a test rom to hopefully work up to porting a sense rom wich has to have files all over the place... baby steps :P
[XPERIA X10 Android Development] DooMLoRD:
hey rdannar for testing stick to Amend scripts (update-script) and use /data partition to run the scripts!

Edify scripts are very weird... they only work sometimes... not sure if its related to xRecovery or FreeXperia recovery...

"porting a sense rom"

nice... looking forward to it...
[XPERIA X10 Android Development] rdannar:
I know... I am going to turn this thread into a rom thread after that is why i double posted in the beginning.. thanks for the conversation from you and doom it was enough to get me through the update script but still have some issues have to sort through with rom to fully function... wish I could do updater script as it would make my future plans so much easier.
[XPERIA X10 Android Development] bazji:
Good luck with your next rom rdannar, sounds good mate,
[XPERIA X10 Android Development] realunited123:
You are making ROMs like a manufacturing unit! lol Will test it once it comes out.
[XPERIA X10 Android Development] DooMLoRD:
oh btw check

dsixda-Android-Kitchen

i just saw something:

Directory of G:\linux_tools_for_windows\dsixda-Android-Kitchen-0.159-0-g01bc505\dsixda-Android-Kitchen-01bc505\tools\update_files

03-May-11 11:46 PM <DIR> .

03-May-11 11:46 PM <DIR> ..

27-Apr-11 06:25 PM 1,756 default_symlinks

27-Apr-11 06:25 PM 224,244 emmc-update-binary

27-Apr-11 06:25 PM 255,904 ext3-update-binary

27-Apr-11 06:25 PM 255,904 mtd-update-binary

27-Apr-11 06:25 PM 1,522 update-script

5 File(s) 739,330 bytes

2 Dir(s) 1,130,303,488 bytes free

so there are different update-binarys out there!!! the one u using might not be for mtd partitions and might be different!!!
[XPERIA X10 Android Development] Buddha:
Can't wait to see the screenshoots! :)
[XPERIA X10 Android Development] rdannar:
It boots but not going to release until data and sound works... beside this rom really is for practice..

Pm me if you have skills to help w rom
[XPERIA X10 Android Development] rdannar:
@ doom does kitchen provide correct binary.. I use that sometimes?
[XPERIA X10 Android Development] rdannar:
progress... data is know working
[XPERIA X10 Android Development] Neo.:
Any screens?

PS: What is SuperAOSP? How is it different from AOSP's. Kinda confused.

Thanks!
[XPERIA X10 Android Development] rdannar:
it is suppose to have a different setup menu but haven't gotten that part working yet.. it is in the nexus development section so figured I would try it out and see if I can get it working.
[XPERIA X10 Android Development] fiscidtox:
it didn't though....

The app was called "busybox installer"

It automatically had 1.19 as the version to install, it never said unstable.

So I installed it, as per rdannar's suggestion
[XPERIA X10 Android Development] fiscidtox:
anyhow, on another note, did anyone find that installing the later version did help?
[XPERIA X10 Android Development] tot31:
Ok, after fresh reinstall and updated busybox to 1.18.4...no more WLOD on stock browser...

thanks to smartgarden for the tip on SupSetup v20...
[XPERIA X10 Android Development] colossus:
Ok Buddy for next time its busybox you need NOT busy box installer and yes so far no wlods since doing it.:)
[XPERIA X10 Android Development] fiscidtox:
I think I got it sorted out anyway, I could still access xrec so I made a backup of how it was, I'll do full wipe then restore ONLY the data of my backup, that way I'll keep all my files/layout, but it won't restore the faulty busybox
[XPERIA X10 Android Development] tot31:
all sms data bakup from GO SMS restore went well...

wifi ftp using File Expert also works great...
[XPERIA X10 Android Development] LegibleEel:
Using the superarc.

Bug: WLOD on adding facebook to timescape. :)

Edit...

Stuck in WLOD bootloop :/
[XPERIA X10 Android Development] rdannar:
did you try installing the busybox mentioned in above posts and wiping cache and dalvik... seemed to work for others?
[XPERIA X10 Android Development] fiscidtox:
rdannar, I installed the version of busybox recommended and still lost root for some reason...

Is it perhaps because I'm using superarc with the baseband patch?

edited to add: Well, titanium backup and root explorer both stopped working.
[XPERIA X10 Android Development] tot31:
another bug report :playing 720p video file a bit sluggish where as it plays smooth on cob's MIUI rom and wolfbreak's cm v060 rom...using mobo player app.
[XPERIA X10 Android Development] colossus:
@fiscidtox

Can you check this thread out, it is about the latest xrecovery, i will try and find out about what i think i have read, that is you need the latest xrecovery to update your busybox or you lose root.

If you find a solution can you post as i am busy at the moment bro.

http://xdaforums.com/showthread.php?t=1046609
[XPERIA X10 Android Development] rdannar:
I am not on the rom so can't check it out but it is the latest recovery version with recovery in its own folder so it is supposed to be able to have any busybox.
[XPERIA X10 Android Development] tot31:
Well I guess using cobrato's baseband patch may give some instability to the rom as rdannar said this rom works with baseband 52. Ok here is what I did...

1. Using SEUS to get a fresh installation of stock kernel 2.1.A.435 BB54.

2. Using Flashtool i.e 0.2.9.1 I root and install xrecovery which is FreeX10 recovery.

3. Using the latest Flashtool i.e 0.2.9.1 I flash baseband 52 file which is "X10_52_ChangeBaseband.ftf".

4. Rebooted into xrecovery and did these steps

- do a Factory Reset

- Wipe Cache Partition

- Format Cache

- Wipe Dalvik Cache

- Wipe battery status

5. Instal "SuperAosp-ST@X10project.zip"

6. Install "rendeiro2005apkFIX.zip"

7. Reboot the phone.

8. Went to market and download Busybox 1.18.4 and install it then reboot again into xrecovery and wipe dalvik cache and reboot back the phone.
[XPERIA X10 Android Development] fiscidtox:
I'm on superarc version and everything else works perfectly, aside from this busybox update.

I just won't bother with the update, no biggie
[XPERIA X10 Android Development] hoskopico:
Busybox update fixed all my wlod issues I'm curious if that's what's wrong with J's cm7
[XPERIA X10 Android Development] rdannar:
That's were I got the info

I installed TB and then installed new busybox and all still works. I backed up a program on TB to see if I could and Viola.
[XPERIA X10 Android Development] DooMLoRD:
--[ EDIT ]--

quoted wrong post...

sorry...
[XPERIA X10 Android Development] rdannar:
It is installed with it already doom
[XPERIA X10 Android Development] DooMLoRD:
better not keep changing Busybox versions...

just include one single version in rom and everyone use it...
[XPERIA X10 Android Development] tot31:
Battery Monitor Widget still gives WLOD so I guess it's compatibility issue here...

yes this rom comes with freexperia recovery...
[XPERIA X10 Android Development] rdannar:
I agree next busybox will be included in an update. O use the new busybox and everything is good working but don't try unless you are willing to reflash rom
[XPERIA X10 Android Development] LegibleEel:
Indeed I did, wiping the cache and dalvik didn't seem to work, though I managed to install the latest busybox now it seems mostly stable :)

BTW this is a great piece of work :D
[XPERIA X10 Android Development] fiscidtox:
3d music must not work on superarc version I guess
[XPERIA X10 Android Development] seksith:
What different between SuperArc version and SuperASOP version ?
[XPERIA X10 Android Development] rdannar:
I am on superarc version and it works perfect for me... do you have details
[XPERIA X10 Android Development] fiscidtox:
how is it 3d then? Maybe I'm missing something. I have an app called music, but it is just a regular music player
[XPERIA X10 Android Development] realunited123:
The 3d music app is just an app. Search for cubed or music 3 or something like that in market. You can also enable it in settings.
[XPERIA X10 Android Development] b3yond:
The different is the launcher.. one use adw the other one is the arc laucher
[XPERIA X10 Android Development] rdannar:
+1

It changes music player to cube music player in sup. Settings

The settings give more options for how you want app setup
[XPERIA X10 Android Development] hoskopico:
Got wlod after receiving fb notification
[XPERIA X10 Android Development] tot31:
Bluetooth works fine with Bluetooth FTP app.
[XPERIA X10 Android Development] depulle87:
Ik knew you where working onder This dowloading it know thanks
[XPERIA X10 Android Development] Crowds:
well ...

using this since morning? yeah i guess...

yahoooooooo WTF excelent job mate.

just need a few tweaks and definitely this will be awesome;)
[XPERIA X10 Android Development] chiefy009:
Can you put the download on media fire ?

sent from my Z orignal and modded 2.2 powered c64
[XPERIA X10 Android Development] tremendouz:
@rdannar, is it possible to link the supsetup v20 from market into the settings instead of the supsetup v16 from current rom??? cause its all in english
[XPERIA X10 Android Development] tot31:
Yeah I got wlod too when first time login in...after reboot so far no wlod yet....
[XPERIA X10 Android Development] rdannar:
maybe.. I will look at it soon.. working on something. also time to stop playing and go to work.. :(
[XPERIA X10 Android Development] BigD18t:
Think i might give this ago, Whats a Wlod though ? im still new to the X10 scene.
[XPERIA X10 Android Development] kieronw3:
Can some please up the non arc version on media fire as have no pc at present and hotfile times out on phone :-)

Sent from my X10i
[XPERIA X10 Android Development] BigD18t:
Hotfile is terrible, i can only download one file in a hour , please use mediafire instead.
[XPERIA X10 Android Development] fiscidtox:
white light of death lol

Basically a random reboot/shutdown
[XPERIA X10 Android Development] BigD18t:
Cheers tbh i thought it might be something like that.
[XPERIA X10 Android Development] chiefy009:
This rom is awesome proper good stuff

Just one question why is it all in Spanish ?
[XPERIA X10 Android Development] letterman12:
Looks pretty sweet dude!

Gonna do a quick back up and then install it.
[XPERIA X10 Android Development] superleeds27:
Can someone sum up what doesn't eork, or problems with this ROM?

Wanting to try iy, but want to make sure! Asked trip bout video recording?
[XPERIA X10 Android Development] fiscidtox:
not working: camera/camcorder

The only problem I've seen is the odd wlod... but they seem to lessen over time.
[XPERIA X10 Android Development] pngface:
Can someone upload that 1mb sup fix thing? (whatever it is)

Hotfile gives me 500 internal server error
[XPERIA X10 Android Development] tot31:
Just go to the market and search for SupSetup v20 and install it. Everthing is in english.
[XPERIA X10 Android Development] hoskopico:
Started getting all sorts of wlods been running this all day long now with bb58 and patch could this be my issue
[XPERIA X10 Android Development] carlpereira1987:
Awesome Rom and light too.If its not too much of a problem, can someone post a link for the kernel addon which works with this rom. I tried installing the one in the custom kernels thread. It ended up breaking wifi.
[XPERIA X10 Android Development] tot31:
Using baseband patch made by cobrato might gives such problem. I'm using a proper .ftf file flash using the flashtool and I don't have such problem.
[XPERIA X10 Android Development] kieronw3:
I am currently on baseband 54 using cobratos patch and loving this rom. So far no force close or wlod. Devs you have done xda proud yet again.
[XPERIA X10 Android Development] tot31:
By replace FB 1.5.4 with the older ver 1.5.2 no more intermittent wlod....
[XPERIA X10 Android Development] frost866:
Guys is there any working theme with this rom?
[XPERIA X10 Android Development] tot31:
I'm not that sure if there is any theme for this rom as.
[XPERIA X10 Android Development] carlpereira1987:
You can use theme chooser with this rom, which I guess you'll have to extract from any cm7 rom
[XPERIA X10 Android Development] frost866:
rdannar thanks for nice rom/

Actually I have a version of this rom which modded by somebody else and seems that he fixed a lot of things do want to check this one out maybe it will be useful, cause I dont understand much of it:D

here is the link:http://cdn.movilzona.es/repos/superatmel/ROMS/SuperAosp/SuperAosp-ST@-Nexus-4.6.zip
[XPERIA X10 Android Development] zax10:
Hotfile is being so stupid right now. Anybody uploaded to a different site
[XPERIA X10 Android Development] rdannar:
uploading new version.. during my brief tests it had no wlod.

i installed facebook and synced

i installed astro file manager and opened with no problems

I restored backups from the sup menu with no problems

I opened xda app no problems..

either I'm lucky or the rom is more stable

always wipe cache and dalvik more than once before flashing rom...
[XPERIA X10 Android Development] fiscidtox:
new superarc and superaosp?? Or only aosp
[XPERIA X10 Android Development] chiefy009:
Been running all night

9% battery drop

No wLod

I love this rom !!!!

Will theme Chooser install ?

Can I morph screen transitions in ? Yes I can and works fine !!!

Finally a stable GB ROM!!!!
[XPERIA X10 Android Development] realunited123:
You mean this ? :D

Yes it does :)

Flash this or Push theme chooser.apk and theme manager.apk to /system/app

http://www.mediafire.com/?41x7tqqt5g35ta3
[XPERIA X10 Android Development] Wolfbreak:
Going to test your ROM now rdannar :D I had reboots with my latest Test i did and i need something to call and i dont want to restore 2.1 now so dl your ROM now :D
[XPERIA X10 Android Development] superleeds27:
Will wait for new version before trying!

Haver you checked out the post by frost? maybe theres something in that ROM which could help!?
[XPERIA X10 Android Development] cruzin_cruzing:
Hey rdannar,think you can implement DSPManager into this, I listen to a lot of dubstep and I appreciate the equalizer/bass boost option? Thanks!
[XPERIA X10 Android Development] realunited123:
Just push it to /system/app and reboot. It worked for me.
[XPERIA X10 Android Development] flowserver:
Super fast, no reboots, install all my apps, only camera not work, very very fast and pretty interface with adw.. i keep for whole day for test, then come back to rom that works camera, thanks...
[XPERIA X10 Android Development] chiefy009:
Done it and it works will click thanks when at pc awesome

Oh oh just had wlod Gmail through notification and wlod on browser installed skyfire browser OK now

sent from my 2.3 powered c64 part of x10project
[XPERIA X10 Android Development] The Gingerbread Man:
Dude i could actually kiss you! Thank you so so so much for this its made my cm7 v18 complete :-) Just one 'press' of the thanks button is not enough!
[XPERIA X10 Android Development] realunited123:
lol All i did was took this from cm7 (an earlier release) and made a flashable zip :)
[XPERIA X10 Android Development] The Gingerbread Man:
I just never got round to doing it really. Its very appriciated cos it saves me the hassle of doing to over the weekend. I copied a dropbox link to J's thread so hopefully a few people will benefit. Il stop spamming this thread up but had to say thanks :-)
[XPERIA X10 Android Development] chiefy009:
Just a quick question, I have a couple of apps that dont show in the market nor restore from my back up is that because of incompatibility with the os ?
[XPERIA X10 Android Development] hoskopico:
Small bug when downloading something can't long press notification to cancel or any other option

EDIT: I figured it out
[XPERIA X10 Android Development] Crowds:
Witch apps exactly?

Till now i had no problems
[XPERIA X10 Android Development] Crowds:
So??? Share your knowlage. May be useful to others;)
[XPERIA X10 Android Development] superleeds27:
Right have installed.

Installation went fine, everything works correctly upto now.

HAd one WLOD, after entering my details into facebook, Rebooted, finished off the setup (Don't sync contacts) Works fine now!

All my apps have restored fine, restored apps only and not the data!

Okay. Ive seen a few files been thrown around this topic, Which do you advise i install?

Sup20 and theme chooser?
[XPERIA X10 Android Development] chiefy009:
The Aston Villa app doesnt show in market now and the back up wont install
[XPERIA X10 Android Development] hoskopico:
No need to long press just tap and it will bring you to download screen with option to cancel

Just to confirm GPS tested and working just fine
[XPERIA X10 Android Development] festa20:
This rom is immense!!

Not one WLOD at all!!!

All it needs now imo is a custom kernel with fps removed, obvious camcorder/camera and native tethering

Although my 3g speeds aren't a great as TripNMiUI IRIS...

But not a huge difference
[XPERIA X10 Android Development] superleeds27:
Think thats a good thing ;)

Other things I've noticed.

LED Notification.

Flashes green for about a millisecond then changes to white. The on/off delay is also too long for my liking.

Not sure if we can change it, think it needs editinf in a file somewhere, (Sure this is what J did on his GB ROM)
[XPERIA X10 Android Development] Crowds:
any of these?
[XPERIA X10 Android Development] superleeds27:
We just need to change the build.prop to get most apps to appear dont we?

Clockr Evolution wasn't listed on the market i dont think, but my backup restored fine!
[XPERIA X10 Android Development] Crowds:
that`s one way of doing it
[XPERIA X10 Android Development] realunited123:
Don't use Aston Villa app. Better use Manchester United app :p What does it say ? error or something ?
[XPERIA X10 Android Development] Crowds:
HAHAHA

i really prefer

SC BRAGA or FC PORTO :D:D:D
[XPERIA X10 Android Development] tot31:
anxiously waiting for rdannar to release the next update......:D:D
[XPERIA X10 Android Development] superleeds27:
me too!!

Id be happy jsut with the notification colours fixed, so we can use our own colours and timings :)

Id much prefer a Leeds App! :)
[XPERIA X10 Android Development] festa20:
+1 but I'm not too bothered with this being good enough for a while for me :)

Spoke too soon earlier WLOD on browser :(

EDIT: Bug found

When changing permissions in root explorer there is no way after ticking the required permissions to save them for me
[XPERIA X10 Android Development] tot31:
make sure you mount as R/W because the default mount is R/O...
[XPERIA X10 Android Development] chiefy009:
no mate its the official one it doesnt show

what do we have to do to the build prop ?
[XPERIA X10 Android Development] chiefy009:
no the app just doesnt show and when trying to restore it dosent allow
[XPERIA X10 Android Development] colossus:
This is my update of the first release from yesterday, after updating busybox to the newer 1.18 version, at first i had no wlods, after a few hours starting having a few opening browser and xda app, using the old trick of installing skyfire and leaving that open in the background, open the offending apps and all is well, this proves that updating busybox , at least for me has no effect on wlod's,

I have updated to the latest release, installed skyfire before opening anything and no wlods from anything, i do not know what skyfire is doing but it is good at stopping wlods.

Lastly if anybody has some time, i installed metamorph from the market and the phone is compatable, can somebody search for some themes to see if they work, it explains what to do in the market.;)

Best stable gingerbread rom for our x10, thanks Rdannar.:)
[XPERIA X10 Android Development] shahkam:
Feedback:

Still felt small lags battery life sounds fair shutter button needs to be fixed because it types in search bar automatically on press "@" wifi works all the rest works really liked it now all i need is 720p recording and 8mp pixel and this will surely be the most awesome gbread rom.
[XPERIA X10 Android Development] chiefy009:
Hey you can flash theme chooser into the phone and use that for theme it works i have done it

I have also morphed screen transitions into the phone and the work let me know if you need the zip for transitions and theme chooser mate
[XPERIA X10 Android Development] tot31:
I'm also having the same thing as you, if you read a few pages back, rdannar posted that he already has a latest update and will be uploading it soon...
[XPERIA X10 Android Development] colossus:
Hey Bro,

Glad you still using this rom mate, i installed the theme chooser but i came across the Lucid(one of your favourites)for metamorph, i have not had time to try but it is here.....

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

Thanks for the offer, you can send me the transitions.:)
[XPERIA X10 Android Development] colossus:
Hi tot31,

I thought the update was already out, when i downloaded yesterday, there was no v01 after version, so i assumed that yesterdays was beta and v01 was the update, i will check the md5 see if they match.:confused:
[XPERIA X10 Android Development] festa20:
I did otherwise it wouldn't let me paste it there in the first place
[XPERIA X10 Android Development] tot31:
It's the same if I'm not mistaken, even though at the OP it's stated there 01 but when I downloaded it, the filename is the same, without 01....