Hi,
I know Android is based on Linux and I have good knowledge when it comes to Linux. I also have a good understanding when it comes to Android right from the first devices...flashing roms etc. Still I am just using it on a user level and I am just guessing from those experiences what basic elements are and how Android is structured.
For once I would like to know how a typical Android phone is partitioned?
First there is the boot-element. I can flash ROMs all I want and it stays the same (in my case LG Animation). I guess this is a separate partition where a little bootloader like GRUB is located? Or is this located in the system-partition? Maybe the file boot.img? What is this? Some Mini-Linux?
Then there is for example the ClockWorkMod Recovery. Where is it located? It isn't deleted when I flash new ROMs. Is it on a separate partition? And what is it? Some Mini-Linux you can boot into?
Then there is the OS-Partition I can see when I install a file-explorer app in Android. I am guessing the OS itself (is this Linux or Android?) resides in /system, the user data resides in /data. Can somebody explain the main folders in this partition and what they contain?
Then there are elements like the Baseband or the RIL. Where are they located? Are they on a separate partition? Are they a Mini-Linux themselves and why aren't they changed when I flash a ROM?
In summary: I would like to understand Android better. Maybe you can answer some of my questions above or know some articles describing exactly what I want to know. I used Google and the forum search but found nothing really useful.
Cheers,
sb
Nobody got anything?
Not sure if this helps, it applies to most (if not all) Android devices:
http://androidforums.com/evo-4g-all-things-root/278898-android-partitions-kernels-explained.html
Thanks! This helped a lot. I head a similar view in my head but nothing really confirmed. There are more links to read in your link...which I will do
I've been having a problem with my cwm4 recovering my data. Due to it's size it errors out while trying to restore and from looking at the web i learnt that it's because unyaffs supports (#define MAX_OBJECTS 10000). if the files are more it bugs. I didn't know that before hand though and now I am kinda in a tough situation. I have some very important data that I need to get back but it seems the only way is to use a patched clockworkmod4 that supports more files. Anyone know if there is one? I've tried compiling my own unyaffs.c to support more and do it while in linux (heard that there are problems doing that in windows) but I get lots of compilation errors. Can anyone help out?
Anthosm said:
I've been having a problem with my cwm4 recovering my data. Due to it's size it errors out while trying to restore and from looking at the web i learnt that it's because unyaffs supports (#define MAX_OBJECTS 10000). if the files are more it bugs. I didn't know that before hand though and now I am kinda in a tough situation. I have some very important data that I need to get back but it seems the only way is to use a patched clockworkmod4 that supports more files. Anyone know if there is one? I've tried compiling my own unyaffs.c to support more and do it while in linux (heard that there are problems doing that in windows) but I get lots of compilation errors. Can anyone help out?
Click to expand...
Click to collapse
Check this Link http://forum.xda-developers.com/showpost.php?p=15390772&postcount=20 &
https://github.com/LinoBarreca/andr...mmit/f68082036c79f2994e88d5bedacafc2fe50dea33
Hope this helps!
Yeah, i read those threads. That's how i learnt what the problem is. Unfortunately that's for a different device though and I need a specific moded cwm that is for galaxy s2.
Hi all,
Hopefully this is something fairly simple to answer, but my dilemma is that I want to flash a different ROM onto my wifi Xoom. I understand the basic process (I flashed the ROM on my old HTC Hero several times), but have been running into trouble on the Xoom and I think it boils down to the fact that Recovery Mode can't mount my SD card. I assume by SD card it means internal storage, but it can't read that or an actual SD card so I'm not sure it matters.
Anyway, after a couple of hours of research, I discovered that the best way to fix this is apparently to re-flash my recovery to version 3.2.0.0 of CWM instead of the 5.8.3.1 the current version of ROM Manager installed. After digging around, I found what I believe is 3.2.0.0, but I can't figure out where to put it so ROM Manager can find it and flash it over the current Recovery image. Also, if anyone has a link to download 3.2.0.0 that they know works, please let me know because I couldn't find a working download link anywhere.
I've also looked into doing it through Fastboot, but can't exactly figure out how to do that, either. I downloaded the fastboot.exe application and installed the Android SDK, but it tells me that it can't start because AdbWinApi.dll is missing. Being a non-developer type, I have no idea where this is supposed to come from, how I should install it, and if there's any other steps I'm missing.
So if anybody can help me out with either of these (preferably using the older version of CMW), that'd be great, but if anyone has an even easier way to do it, please share by all means. I know what I'm doing once I get to the point of installing the new ROM and Gapps, I just need my Xoom to be able to find them first.
Thanks in advance to anyone who can help out!
Stu
Use this thread
http://forum.xda-developers.com/showthread.php?t=1074979
In the future use the search button, it was pretty easy to find with just a little effort.
063_XOBX said:
Use this thread
http://forum.xda-developers.com/showthread.php?t=1074979
In the future use the search button, it was pretty easy to find with just a little effort.
Click to expand...
Click to collapse
Will do...and thanks, that worked.
Hi all,
to make it plain and short: I messed up.
I have a GT-S5830i which I unrooted according to the Sticky Note in the forum, installed CWM Recovery and then 'installed from ZIP' a CM9_cooperve_Beta_05.zip that I found in one of the posts in the forum. The installation went on without error message but since then the phone does not make it beyond the initial screen "Samsung Galaxy Ace GT-S5830i". I can start recovery mode and Download mode. In reovery mode I can format cache, data, sdcard, sd-ext but *not* system. Error Message: "E: format_volume: make_ext4fs failed on /dev/block/st19"
I have tried already several methods according to the forum, e.g.
1) 'install from ZIP' older Cyanogenmod
2) the tool ext4_formatter.zip
3) re-flash with ODIN with several tar-ROMs, all failed. Odin finds the phone (since I start Odin as Admin now), but after I hit 'start' it tries to establish a connection to the phone and ends after a while with 'Failed'
I'm basically lost now, don't know what else to do. Any advise is appreciated (it's my mom's phone, she is getting impatient )
Thx, cheers!
Xala
Hi @xalarsk , So you can't format your /system partition , which is required for installation of your rom ,, you need to try this method from here mate . Follow my instruction from the line @post#4 :"1. Download one of the newest ,,," to the end of the post and please do not use CM9 beta , because it is unstable and will wreak havoc with your system eventually . ( either cm7 or cm11 is the place you should go for CyanogenMod experience for cooperVe device ).
If you fail at any level please give us your logcat ( error massage ) for better support for your Odin process you mentioned .
Cygwin not working
Hi @ehsanotaku,
thank you for your quick reply, it's appreciated!
Unfortunately I couldn't get cygwin to install all necessary packets. The ZIP-test always failed. I have a Linux system running (Linux Mint 17) though, and hope that might help. In the meantime I tried to download the already split packages as described in another of your forum posts, but the website provides only exe-files instead of zip-files. Is there another location to download them?
#UPDATE: It seems there is a SplitFUS2 version for linux somewhere but couldn't find links to download. Anybody can help? I'll also PM Doky73
Cheers, Holger
xalarsk said:
Hi @ehsanotaku,
thank you for your quick reply, it's appreciated!
Unfortunately I couldn't get cygwin to install all necessary packets. The ZIP-test always failed. I have a Linux system running (Linux Mint 17) though, and hope that might help. In the meantime I tried to download the already split packages as described in another of your forum posts, but the website provides only exe-files instead of zip-files. Is there another location to download them?
#UPDATE: It seems there is a SplitFUS2 version for linux somewhere but couldn't find links to download. Anybody can help? I'll also PM Doky73
Cheers, Holger
Click to expand...
Click to collapse
Cygwin was meant for windows platform to get the native Linux environment/command line you already got there . You can create a virtual instance of the windows 7 inside virtualbox or any kind of apps you are preferring such as Vmware/Parallel etc etc to get the job done .
Splitfus2 only supports windows platform as far as i know mate,,, either vitalization as i said or the pre-made zip package ( which is clearly not .exe file ,, push the download now and get yourself a descent downland manager,, tested and zip packaged delivered ) from here is the feasible approach for your problem .
Ok, had all the files ready, just the Boot loader <DefaultCalDataWithBoot_S5830iXXLB1_REV00.tar.rar seems to be broken. I downloaded the link provided in your post #8 several times with several download managers, also uses 7-zip and several online unrar services..result always the same: The archive is broken. Is that possible? Would you mind to check yourself?
xalarsk said:
Ok, had all the files ready, just the Boot loader <DefaultCalDataWithBoot_S5830iXXLB1_REV00.tar.rar seems to be broken. I downloaded the link provided in your post #8 several times with several download managers, also uses 7-zip and several online unrar services..result always the same: The archive is broken. Is that possible? Would you mind to check yourself?
Click to expand...
Click to collapse
Another fellow had similar issue with my attachment that was corrected here @ post#27
Unbricked, SD card not recognized
Update: Phone has been unbricked, many thanks for that!
Currently I have still issues with the external SD card, which also holds the ZIP files. Phone won't recognize it, not even format it properly. Still working on that.
Cheers, Xala
xalarsk said:
Update: Phone has been unbricked, many thanks for that!
Currently I have still issues with the external SD card, which also holds the ZIP files. Phone won't recognize it, not even format it properly. Still working on that.
Cheers, Xala
Click to expand...
Click to collapse
Mostly this happened because of the bug inside CM9 beta you used . Study this topic mate i troubleshooted while ago for a sample of the symptoms external SD card would show after unstable ICS usage .
Also as an alternative to the method i instructed there , you can format/Re-partition your SD card by putting it inside card reader and using app such as free MiniTool Partition Wizard "Gparted" tool for Linux users Or "iPartiton" for Mac users etc etc ,, to get the job done . You can find several tutorials inside XDA for this matter mate.
Phone works with CM7.2, can I upgrade to CM9?
Hi again,
first of all, props to @ehsanotaku, I will hit the 'Thanks' buttons.
Now, this is a bit beyond the topic, but I'd like to ask anyway for recommendations of CM9 roms. The one I picked from a post inside this forum bricked my phone and made me start this thread, I don't want to go down this road again. So I'd be glad for any recommendation of a stable ROM that will put my phone beyond Android 4.0.
Cheers again,
Xala
So i have a similar issue. I used to have CM11 installed, but i figured thats too slow for me. Then i went back to stock rom (XXMJ2) which works fine. But now i have a problem.
Everytime i want to flash a stock based or cm7 based rom on my phone, it gets messed up. Today i wanted to flash this
http://forum.xda-developers.com/galaxy-ace/s5830i-develop/cm-7-2-kitkat-smart-r2-t3075267
i naturally downloaded clockwork mod recovery (5.0.2.6) and tried to flash it. Flashing was done pretty quickly (10 seconds or so) and when i rebooted, i obviously got stuck at sammy logo. Now booting back to the recovery (first e3 then cwm) i got bunch of error about partritions not being able to be mounted (happens the same if i want to manually mout them or format them)...
So, what to do ?
I have a suspicion, that flashing CM11 and the latest cwm recovery for it somehow messed up partritions.
hojnikb said:
So i have a similar issue. I used to have CM11 installed, but i figured thats too slow for me. Then i went back to stock rom (XXMJ2) which works fine. But now i have a problem.
Everytime i want to flash a stock based or cm7 based rom on my phone, it gets messed up. Today i wanted to flash this
http://forum.xda-developers.com/galaxy-ace/s5830i-develop/cm-7-2-kitkat-smart-r2-t3075267
i naturally downloaded clockwork mod recovery (5.0.2.6) and tried to flash it. Flashing was done pretty quickly (10 seconds or so) and when i rebooted, i obviously got stuck at sammy logo. Now booting back to the recovery (first e3 then cwm) i got bunch of error about partritions not being able to be mounted (happens the same if i want to manually mout them or format them)...
So, what to do ?
I have a suspicion, that flashing CM11 and the latest cwm recovery for it somehow messed up partritions.
Click to expand...
Click to collapse
ok not going to excruciating details of symptoms and explaining all of your errors for now just please read my advice @ post2 of this topic and follow the procedures accordingly and finished it with formatter tools and cm7 instructions you will find there ., after that you can install Kitkat Smart R2 like you are coming from another CM7 build instruction . btw some problem regarding super user privileges and play store 492-498 infamous bug was reported for this fairly new development .
Hi all, feeling somewhat frustrated, as all the posts I can find for P9000 require Windows to flash updated ROMs, Im looking to install 0315 (Ive got 0304 but need the Native FP API installed) but I run Mac and Linux so trying to figure out how to install the zip file? Anyone got any help?
Have a look here:
http://forum.xda-developers.com/general/rooting-roms/tutorial-how-to-setup-spflashtoollinux-t3160802
I did have a go on my laptop running arch linux but got an error with the scatter file so ended up doing it on a windows machine. However I have since seen this post on the Elephone forums:
Open the scatter in a editor and check the first bytes.
Ift there is anything before the "###" just delete and try again.
Click to expand...
Click to collapse
here is the thread:
http://bbs.elephone.hk/thread-9967-1-1.html#.VwaEa6QrKUk
Good luck