Guide:How to store multiple android builds in your SD card - XPERIA X1 Android Development

If u want to store more than one android build in ur SD card u just have to make folders and put the build in there.example:
u want the gingerbread 2.3.1 bulld and the FRX04 build in your sd card
make a folder in ur SD named BUILDS(or anything that u want)
in this make a folder named ginger(for tha 2.3.1 build) and one frx04(for tha xdadroid frx04)
then edit the startup.txt from each built.add "rel_path=BUILDS/ginger"to the gingerbread build and "rel_path=BUILDS/frx04" for the frx04
"rel_path=xxx" this command changes the boot folder

Hmmmm...good....then how to choose it?? When we use GenY Dual Boot.
Sent from my SuperFroyo by Neopeek using XDA App

i think that tou have to change the registry....look at this(http://forum.xda-developers.com/showthread.php?t=623792)i personaly don't use bual boot....just run haret.exe manualy...

thanks. Do we use the same Haret.exe + intrd + etc. for all builds ? i mean, they still stay in the root of the SD card right ?

working with two neopeek builds
Working with two neopeek builds in etx2 install?
Regards

morocomolr said:
Working with two neopeek builds in etx2 install?
Regards
Click to expand...
Click to collapse
I Think it work!
When you edit startup.txt root=/dev/mmcblk0p3, it will...??

nice info!
thanks! ^_^

Multiple ext2 builds needs editing init file
morocomolr said:
Working with two neopeek builds in etx2 install?
Regards
Click to expand...
Click to collapse
As far as I know, it needs editing of at least the init file at root.
Maybe an experienced user can confirm that.
I have had success at booting multiple ext2 installs, but it is very buggy for me.
Just started looking at Android.

Related

Camera Confirmed to work on Topaz!

Hi All
Today I found a combination (which might have been out there for a while) how the Camera actually is working for Topaz Android
1. Download the FRX04 version
2. http://forum.xda-developers.com/showthread.php?t=883966 check there for section "Topaz Users"
3. Don't forget the post "[23/01/2011] :" to dissable 2 rows in froyo.conf file
The Camera was able to startup and I took one Picture
The speed of the Cam.. well.. don't be to happy.. but it is working anyway
/olme
Yeah,works fine, but only 3 MP and without auto-focus,but it works more quick than im windows mobile.
Oh,but programm(name forgotten) in FRX04 for Rhodium(23.01.11) is more usable,you can make photo by pressing on volume keys
yes indeed WinMo is quicker.. but one step at the time This is the first time I ever on my Topaz and Android was able to even see that it was "connected" and that I could take a picture.
The next development will be that the rest of the goodies will appear such as speed and autofocus etc etc..
GOOD job Android Devs!
/olme
Please, keep in mind that it's in debug state, a branch of XDAndroid code made by viruscrazy.
If you want to help test it, follow the instructions in the first post and leave your logs there.
Thanks.
Somebody tested camera on FRX04(23.01.11)?
saneksem said:
Somebody tested camera on FRX04(23.01.11)?
Click to expand...
Click to collapse
yes with provided topaz test kernel it's working till 3mp pictures
@5mp camera crashed... but this is allready known and developer asked for dmesg log files to finetune the driver...
-bl4ckb1rd
p.s. camera driver did not work with latest 01253 kernel
can any1 pls upload the conf file? because i couldn't find the 2 rows......
[23/01/2011] :
Updated Lib_package to fix the froyo.user.conf file (thanks to arrrghhh again, you're the "conf file" specialist) and the Blackstone picture crash (I hope...). If you are using latest FRX04 build and rootfs, you may have to disable the two following lines (add a "#" at the begginnning of the line) :
Code:
mount --bind /sdcard/lib_camera/libGLES_qcom.so /system/lib/egl/libGLES_qcom.so
mount --bind /sdcard/lib_camera/gralloc.msm7k.so /system/lib/hw/gralloc.msm7k.so
Could DEVs add camera to Gingerbread?
There is a new fix for 5MP. It works. You need the Kernel from 28.01.11 and the new attached Haret Version. Do not use the attached kernels and don't forget to write the line:
set INITRD_OFFSET 0x608000
under "set initrd initrd.gz" (Startup.txt)
http://forum.xda-developers.com/showthread.php?t=883966
CameraWorks
Erikson89 said:
There is a new fix for 5MP. It works. You need the Kernel from 28.01.11 and the new attached Haret Version. Do not use the attached kernels and don't forget to write the line:
set INITRD_OFFSET 0x608000
under "set initrd initrd.gz" (Startup.txt)
http://forum.xda-developers.com/showthread.php?t=883966
Click to expand...
Click to collapse
I also confirm it works
Here it doesn't. New haret makes the topaz reboot in winmo...
Well, it doesn't seem to work with Froyo X...
What doesn't seems to work?
The Camera is working but as the forum said.. only stable up to 3Mpixels...
olme said:
Hi All
Today I found a combination (which might have been out there for a while) how the Camera actually is working for Topaz Android
1. Download the FRX04 version
2. http://forum.xda-developers.com/showthread.php?t=883966 check there for section "Topaz Users"
3. Don't forget the post "[23/01/2011] :" to dissable 2 rows in froyo.conf file
The Camera was able to startup and I took one Picture
The speed of the Cam.. well.. don't be to happy.. but it is working anyway
/olme
Click to expand...
Click to collapse
Place a files hire!
Brain-brick with your link
sorry I don't understand what you want me to do..
Do you want me to place a link to my files I used to get the Camera running or what?
cheers
/Olme
olme said:
sorry I don't understand what you want me to do..
Do you want me to place a link to my files I used to get the Camera running or what?
cheers
/Olme
Click to expand...
Click to collapse
Yes! Yes and Yes!
check this link where I have uploaded my andboot.
1. Download it and extraxt it anywhere
2. put the 2 folders on the root of your SD Card.
3. Start Haret.exe
hotfile .com /dl/101065742/b00ae64/andboot.rar.html
Thanks for you effort uploading the file
I think someone needs to thank you also , but i think he's "cooking" right now
olme said:
check this link where I have uploaded my andboot.
1. Download it and extraxt it anywhere
2. put the 2 folders on the root of your SD Card.
3. Start Haret.exe
hotfile .com /dl/101065742/b00ae64/andboot.rar.html
Click to expand...
Click to collapse
wow
thx, cam is working for me, but only up to 2 Mpix,
but in this version wifi error after reconnect... :-(
yes i think cooking can be started ;-)

[DEV] - Porting HTC Sense 4.0 - [HTC Primo ROM]

oooh, Finally I can post here
Since the HTC Primo has similar hardware I thought that is not impossible to port its ROM to our lovely SE Xperia Arc.
So, I got the Leaked RUU (thanks for Football) and started working.
Actually, I couldn't touch the Sense but I realized that is possible.
I'm telling you what I did.
First, The BOOT.IMG:
I modified it to be compatible with our Arc. I had some problems with it one of them was the size, after I finished editing i found its size was only 3.7Mb and that is less than the correct size which needed by the bootloader but after adding filler file (thanks for DooMLorD) that wasn't a problem no more.
I also added a fully working CWM Recovery .
And end with 5.7Mb Boot.img.
Second, The ROM.ZIP:
After I replaced some files which allow the hardware and keys to work I had the same problem with the size, the system folder is about 500Mb and our device's ROM is only 350Mb !!! I believed that I can remove some files but once i got another idea i realized that wasn't the best solution so i moved the app folder from system to data folder I didn't give it a try before but i guess it will work.
Finally I wrote updater-script and that was difficult but always there is Google.
OK, now I'm facing problems with the file-system .
I've tried YAFFS2 after editing init files and finished with bootloop.
So I think this ROM needs EXT4 /system, /data and /cache .I'm about to format them with EXT4 but I'm a little afraid
So what you think guys ...?
---[Reserved]---
I'm no help here but I hope other more experienced people on this forum give the help you need, and best of luck on this project
Sent from my Arc to your eyes.
amazing! I wish i could help but instead of trying ics first i guess it is better to try older sense 2.1/3.0
http://forum.xda-developers.com/showthread.php?t=1465628 an example universal mtd/yaffs rom
Its ICS Time !
and for the link i'll try but not now.
did you format the /system /data and /cache partition???
nickholtus said:
did you format the /system /data and /cache partition???
Click to expand...
Click to collapse
no, i didn't
and i'll not till i make sure that we can use emmc ROM on Arc
ok
10 chars
There is a thread in Play Development. You might check with Blagus
http://forum.xda-developers.com/showthread.php?t=1174309
i am working on porting sense to the xperia play.
i already asked blagus, he can't help because his play is stolen
have any one tried to format /system to EXT4 ...?
It wont work because of the way SE devices work
Our partitions aren't the same ass DHD/Devices similar. They've method is completely different to ours, was an effort on x10 but died down due to the fact the devices/bootloader are different
Regards
Sent from my LT15i using xda premium
It is defiantly possible since Jason stein ported Dhd Roms to the arc
Sent from my LT15i using XDA
zainthesnipe said:
It is defiantly possible since Jason stein ported Dhd Roms to the arc
Sent from my LT15i using XDA
Click to expand...
Click to collapse
Wait... What? Where can I find it?
Jason Stein ported MIUI roms based on AOSP not HTC sense roms
Sent from my LT18i using Tapatalk
dinesh690 said:
Jason Stein ported MIUI roms based on AOSP not HTC sense roms
Sent from my LT18i using Tapatalk
Click to expand...
Click to collapse
Just as I thought, too good to be true.
we need to modify the nand partition tables
i'm not interested in this and it's seems impossible for me
another solution is dual-boot i don't now if someone working on this or not.
any help ...
what about porting the launcher and apps over the stock rom or AOSP..... this will make it much stable ...
^
^
^
that will not work
Sad-Clown said:
^
^
^
that will not work
Click to expand...
Click to collapse
Here is an idea:
Using SD card space might help..you can create partitions in sdcard and make a script that boots the os from SD card...is that possible??

CM10 partition layout

Hi all!
Is there any ways of changing back the /system and /data partition to it's old place?
400Mb it kinda small.
No your stuck I'm afraid. Have a look at the Helly Bean rom which will use a different partition layout. That will have more space for apps.
Just move apps to sd card in settings.
beatimgame said:
Hi all!
Is there any ways of changing back the /system and /data partition to it's old place?
400Mb it kinda small.
Click to expand...
Click to collapse
you can mover few apps to system partition, this will give you more space.
^And lag.
Sent from my GT-I9000 using xda premium
Can't add all my apps to SD, because the OS would die of the lag.
It would be good to create a data forder in /system and link it to /data (it may be stupid).
beatimgame said:
Can't add all my apps to SD, because the OS would die of the lag.
It would be good to create a data forder in /system and link it to /data (it may be stupid).
Click to expand...
Click to collapse
App data is stored on /data when you move to sd natively. The rest of the game has to be read, so no lag at all. data stays on fast chip.
AlwaysDroid said:
App data is stored on /data when you move to sd natively. The rest of the game has to be read, so no lag at all. data stays on fast chip.
Click to expand...
Click to collapse
But the data that stored on my lil bit slow class6 sdcard makes the system slow.
By the way I can't see that speed up after the partition change. I hope pawitp will change it back.
beatimgame said:
Hi all!
Is there any ways of changing back the /system and /data partition to it's old place?
400Mb it kinda small.
Click to expand...
Click to collapse
You can do it yourself quite easily by compiling CM10 from source. All you need to do is revert the kernel and os changes that were made by Pawitp. After that you can build your own nightlies. Take a look at the guide to compiling CM10 from source thread. Also, here are the commits you'll need to revert:
https://github.com/CyanogenMod/android_kernel_samsung_aries/commit/0c3f5d384b092e6d9874faed0c1122c95e6ca32b
https://github.com/CyanogenMod/android_device_samsung_aries-common/commit/8778488c4920d2245164a8c99f89e85f664e6a50
As you can see from my signature, I've already done this myself.
fishears said:
You can do it yourself quite easily by compiling CM10 from source. All you need to do is revert the kernel and os changes that were made by Pawitp. After that you can build your own nightlies. Take a look at the guide to compiling CM10 from source thread. Also, here are the commits you'll need to revert:
https://github.com/CyanogenMod/android_kernel_samsung_aries/commit/0c3f5d384b092e6d9874faed0c1122c95e6ca32b
https://github.com/CyanogenMod/android_device_samsung_aries-common/commit/8778488c4920d2245164a8c99f89e85f664e6a50
As you can see from my signature, I've already done this myself.
Click to expand...
Click to collapse
But if I would build my own nightly I couldn't use Devil kernel.
beatimgame said:
But if I would build my own nightly I couldn't use Devil kernel.
Click to expand...
Click to collapse
You can if DerTeufel is open source Semaphore can be used. Stratosk is open also Kasper (Mackay kernel)
You have many options. The choice is yours.
Sent from my GT-I9000 using Tapatalk 2
As we stand right now, with all the kernels/ROMs flying around... what would be a choice that would give us more space for apps? I only got 366 MB now on CM10 and in the last year the app sizes has grown (generally speaking). After installing all Gapps, some mandatory day-to-day apps and a GPS app I am kinda out of space for any other apps. That's sad... 4 years ago when I bought the phone I had ~100 apps installed (of course, the phone worked like c**p but the space was there).

How made Swap INTERNAL SD / EXTERNAL SD with ICS 4.0.4 ?

Well, i'm using Django Manouche ICS Rom x1.4 (before, i was using Flex Icer 4.2) and my problem is how i can made a swap between Internal SD with the External SD, because with the 6 GB of the Internal SD i can´t install a lot of games.
Sorry for my English, i speak Spanish!!
Thanks!!!
i have the same problem with yours...
Sent from my LG-P990 using xda premium
Directory bind
For now, there is no way to make that swap. But there are other solutions, like directory bind app. It can be found and downloaded here, from xda, just search a bit. With this app, U can map directories on external sd, to internal sd. I'm using it with DJMX 1.4 and it works fantastic, stable. Using the m version of directory bind.
saaavikk said:
For now, there is no way to make that swap. But there are other solutions, like directory bind app. It can be found and downloaded here, from xda, just search a bit. With this app, U can map directories on external sd, to internal sd. I'm using it with DJMX 1.4 and it works fantastic, stable. Using the m version of directory bind.
Click to expand...
Click to collapse
Thanks for answer!!! i knew before of "directory bind" and i was testing in ICS and the app can't working good.
I will test the M version of Directory Bind if working good, Muchas Gracias!!!!
I'm testing "Directory Bind version M" in the ROM Django MAnouche X1.4 and was same that other version was using, not working good. Some idea?
I'm think seriously to come back to Cyanogenmod 2.3 for now... Thanks anyway
i4iex said:
I'm testing "Directory Bind version M" in the ROM Django MAnouche X1.4 and was same that other version was using, not working good. Some idea?
I'm think seriously to come back to Cyanogenmod 2.3 for now... Thanks anyway
Click to expand...
Click to collapse
Just hijacking an old thread rather than adding a new one...
Has anyone tried hacking the environment variables in the framework so that the EXTERNAL_STORAGE variables point to /mnt/sdcard/external_sd instead of /mnt/sdcard?
It's not a full swap of internal/external SD, but it should mean that games and apps install by default to the external card without having to mess about with mounts.
If anyone has tried this and failed or just thinks it is a really dumb idea, let me know. Otherwise I'll probably just experiment with it myself and break my phone a few times...
------
Tried it out and it looks like it might work OK. Big thanks to Kyrie1965 over on this Xperia Z thread, I'm basically just porting his method over onto the O2X http://forum.xda-developers.com/showthread.php?t=2239289
rmein said:
Just hijacking an old thread rather than adding a new one...
Has anyone tried hacking the environment variables in the framework so that the EXTERNAL_STORAGE variables point to /mnt/sdcard/external_sd instead of /mnt/sdcard?
It's not a full swap of internal/external SD, but it should mean that games and apps install by default to the external card without having to mess about with mounts.
If anyone has tried this and failed or just thinks it is a really dumb idea, let me know. Otherwise I'll probably just experiment with it myself and break my phone a few times...
------
Tried it out and it looks like it might work OK. Big thanks to Kyrie1965 over on this Xperia Z thread, I'm basically just porting his method over onto the O2X http://forum.xda-developers.com/showthread.php?t=2239289
Click to expand...
Click to collapse
Thanks for the answer, and sorry for not answer you at time.
I was changed to Django Manouche X1.6.5 and Directory bind works good!!!!
From a some days i was using Paranoid Android but im not test Directory Bind in this rom.
Sorry for my english !! and thanks again!

working on CM7.2 and need advice

Ok, I´m working on CM7.2 for our device, almost all works perfect except few things. I do some research, but I don´t come to any working solution. So I want to discuss with you, maybe you´ll help or give me some advice.
Sd card or internal storage isn´t mounted correctly (one of them), if I get to work one, another stops and vice versa.
In system/etc/vold.fstab
http://pastebin.com/mqAfxeEZ
In system/build.prop
http://pastebin.com/2pFt6Kmu
SD/internal (one of them) isn´t shows in filemanager. What is strange is that I find the non working one in folders! Okay, for example SD card shows properly and I find another storage in folder Root/ss (example for folders understand Root/mnt/sdcard)
If nothing better, is there a way how I can mount folder "ss" as storage or sd card?
I appreciate any help, thank you.
This rom has non working camera also (and I also found some strange things), after I solve major problems I´ll release it. I successfully ported Some Miui GB on it, but I would like to solve problems on CM7.2 and then I can work on port. Because this problems remain in port as well.
In safestrap sdcard shows in the same folder "ss"
Maybe you've already looked into it, but what about searching into Hashcode's CM7 build? for what i can remember, sd was working, but i could be wrong...anyway Hash himself could throw some advice
Sorry but i didn't have the technical knowledge to actually help you with code, but i am working on getting it
All Hashcode links on his builds are dead =(, as far as I know this is based on Hashcode and DrWowe work. I tried mount it as it is on original 2.3.4 for our device, but thats non working, there is some different mount technique or I missing some point.
Thank you for reply, I didn´t have much experience yet too. I hope so Hash could help me, or anyone whos interested.
i find it sad, that we don´t have any working cm7 for now or Miui, because I love this one.
That's why I started working on it, even though I do not have much knowledge needed.
pepe55 said:
All Hashcode links on his builds are dead =(, as far as I know this is based on Hashcode and DrWowe work. I tried mount it as it is on original 2.3.4 for our device, but thats non working, there is some different mount technique or I missing some point.
Thank you for reply, I didn´t have much experience yet too. I hope so Hash could help me, or anyone whos interested.
i find it sad, that we don´t have any working cm7 for now or Miui, because I love this one.
That's why I started working on it, even though I do not have much knowledge needed.
Click to expand...
Click to collapse
Awww, right! i forgot that, i was able to find a build some time ago, but it was just the rom, not source code, i can find it, or re-upload (if i have it) if it's useful!
EDIT: found it on XDA right now
There you go: http://forum.xda-developers.com/showthread.php?p=23905801
Thank you very much, I must go to work now, but I look at it later and we´ll see what I can do =).
edit: Problems is still same on Hascodes build.
pepe55 said:
Thank you very much, I must go to work now, but I look at it later and we´ll see what I can do =).
edit: Problems is still same on Hascodes build.
Click to expand...
Click to collapse
Well, as of now, i am using eclipse rom, and in the vold.fstab the line are those:
Code:
# external sd card
dev_mount sdcard-ext /mnt/sdcard-ext:none:lun1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mmci-omap-hs.0/mmc_host/mmc0
# internal eMMC
dev_mount sdcard /mnt/sdcard 25 /devices/platform/mmci-omap-hs.1/mmc_host/mmc1
They look different, maybe you could try something like this then in the build.prop the lines should change too, if i guessed right, with something like:
Code:
# Mount the internal SD card, too
ro.additionalmounts=/mnt/sdcard-ext
# ADDITIONAL_BUILD_PROPERTIES
ro.additionalmounts=/mnt/sdcard-ext
ro.vold.switchablepair=/mnt/sdcard,/mnt/sdcard-ext
Just look into your build, when you can, or i'll try with Hash's build when it's possible
It doesn´t work that way. I have already tried something similiar, this one mount blank folder, mine mount internal(or sd), but always only one of them. (I tried setting from steel droid for example) As I can see, some roms has different mount setting. Cm7 maybe has some original one, which I cannot deal with.
I get half working camera, yes! =D But not for very long...
Yeah, anyway i wrote BS on the build.prop part, the first line is wrong,
pepe55 said:
I get half working camera, yes! =D
Click to expand...
Click to collapse
LOL, throw the mounting question away, i just miss a new build with functioning camera!
EDIT: Anyway...are you using Safestrap 3.05 for tests? i think it doesn't work at all with CM7 builds...i flashed a plain cm7.2 build in every slot and it gave me a black screen...hmmmm....
For the people who dont need this, the non mounted storage is still accessible throught filemanager, usb on pc mount it succesfull too. I see that camera is working on ICS builds, some of them, so I hope its not that hard to fix it on GB rom, maybe I´m wrong. I just need to test third party camera apps and see if one of them works. Maybe I need to merge some files from hashcodes cm7, but now I must really go =D.
edit: Yea mine edited builds are working with safestrap 3.05, thats main point =).
AWWWW YEA
I was searching some new GB goodness these days! waiting for the public build!
On hashcodes cm7 3rd party cameras worked
Sent from my XT860 using xda premium
Okay, I have got one camera app working, but its paid app, and not working in full resolution, Camera Illusion, but paid app isnt working...free version worked, maybe its because lower resolution...
i have 2 builds here:
- CM4D3-nightly-20111116-1445
- cm-7-20120708-UNOFFICIAL-solana
i can upload, if you need.
I modified both and it work with SS3.05 Its pretty stable, but suffers from non working camera and internal storage isnt mounted right (but it works anyway)
giovannipaquier said:
i have 2 builds here:
- CM4D3-nightly-20111116-1445
- cm-7-20120708-UNOFFICIAL-solana
i can upload, if you need.
Click to expand...
Click to collapse
can you upload cm-7-20120708-UNOFFICIAL-solana?
uploading at dropbox right now. will be in this folder: https://www.dropbox.com/sh/zw20u8hgrrdom3g/xW6EBXI030
will take some time .. tell me if there is something wrong.
---x---
DONE!
For reference my gits for CM7 are still around. Tho, I'm sure they are very outdated compared to 7.3 sources:
https://github.com/Hashcode/android_device_motorola_solana/tree/gingerbread
https://github.com/Hashcode/android_vendor_motorola_solana/tree/gingerbread
https://github.com/Hashcode/android_vendor_cyanogen (added the solana device)
https://github.com/Hashcode/android_frameworks_base/tree/gingerbread (with some omap4 patches)
https://github.com/Hashcode/android_system_core/tree/gingerbread (with the motorola device/permission patches in init)
https://github.com/Hashcode/android_hardware_ti_omap3 (motorola / ti patches)
https://github.com/Hashcode/android_hardware_ti_omx (motorola / ti patches)
https://github.com/Hashcode/android_hardware_ti_syslink (motorola / ti patches)
https://github.com/Hashcode/android_hardware_ti_wpan/tree/gingerbread (ti patches)
https://github.com/Hashcode/android_packages_apps_Phone/tree/gingerbread (global modes + dual modem patches for null crashes)
and a full manifest (CM7.0.x IIRC):
https://github.com/Hashcode/cm4D3/tree/gingerbread
The biggest hurdles I ran into, still centered around ducati sources for syslink 2.0 (codecs/camera).
In ways there is more for ICS/JB than there ever was for GB.
To do the camera correctly, you'd need to add more Motorola GB source to omx and dynamically link against their libs from the device used in the camera (libarc**).
Hashcode said:
For reference my gits for CM7 are still around. Tho, I'm sure they are very outdated compared to 7.3 sources:
Click to expand...
Click to collapse
By 7.3, are you referring to post 7.2 nightlies, culminating at current cm7-20130301?
Sent from my DROID RAZR MAXX HD
Is this still in the works/gonna happen? Because that would be great.
I just downloaded cm-7-20120708-UNOFFICIAL-solana and am going to test.

Categories

Resources