Related
OK, not that much of a noob (or at least dont think I am!) have been playing with android for some time, and have decided to cook up my own rom based on DesireHD. After some failures I now have a good stockish rom that I like and will release once i can sort out a few problems that I have.
I want to go down the CWM .zip route so I can release updates easily, off to the forums I went with a few questions... hours and hours of searching and researching and a few test runs later... have even more questions!!!!
1. EuroHD2 (Leo512) has 512mb ROM > how much of that ROM is actually available?
2a. When does the kernel load the SD-Ext partition?
2b. With CMW Recovery do you have to set a "userdata" partition when using SD-Ext data, or can you get away with not setting one?
3. Does CMW support using SD-Ext userdata
4. Is the 400m CMW Recovery only for the Leo1024?
5. What is the maximum size for the "system" partition on Leo512?
6. What is with all the questions??????
As you can see, many questions. Most have come from searching the forums and becoming more and more confused with it all!!
Please help!
SquithyX said:
I want to go down the CWM .zip route so I can release updates easily, off to the forums I went with a few questions... hours and hours of searching and researching and a few test runs later... have even more questions!!!!
Click to expand...
Click to collapse
Good idea.
SquithyX said:
1. EuroHD2 (Leo512) has 512mb ROM > how much of that ROM is actually available?
Click to expand...
Click to collapse
All of it.
Partitions:
misc 1MB
recovery 5MB
boot 5MB
system 150MB to 350MB
cache (optional, but people like 10MB)
userdata (whatever that remains, 350MB system partition size = 50mb userdata)
SquithyX said:
2a. When does the kernel load the SD-Ext partition?
2b. With CMW Recovery do you have to set a "userdata" partition when using SD-Ext data, or can you get away with not setting one?
Click to expand...
Click to collapse
yes, sadly, you still need the userdata partition, you can go around it by creating another partition on the SD card, and call it userdata, I am assuming that works too. So now your SD has userdata, sd-ext, fat32 partitions.
SquithyX said:
3. Does CMW support using SD-Ext userdata
Click to expand...
Click to collapse
urm, that's not CMW's job, that's your job.
You can either use DATA2EXT method which puts all userdata in SD card, ext2/3/4 partition or A2SD+ which puts all your data on the SD card, minus I don't know what, because it keeps reducing and I never figure out what. I am lazy to use adb.exe to go check.
SquithyX said:
4. Is the 400m CMW Recovery only for the Leo1024?
Click to expand...
Click to collapse
Yes, because you really ran out of space. 350MB system partition, gives you less than 50MB of userdata partition provided you have 10MB of cache partition.
I was wondering that...
So if I create a "userdata" partition on the SD card the system should use that... meaning no userdata partition on the NAND... meaning SD-Ext and Data2SD features are not needed?
But then surly if it was that easy somebody else would have done it?!
The layout I am thinking is:
NAND/
--/misc (1mb)
--/boot (5mb)
--/recovery (5mb) *Is this needed? - Is this not for the recovery programs that we have on SD?
--/system (350-400mb) *theoretically upto 491mb as no userdata on NAND
--/cache (10mb)
SD/
--/userdata (1gb) *Could be bigger, but have read that it can cause corruption if over 2gb
-Fat32 (leftovers)
But all of this comes back to Q2a. When does the kernel load SD partitions?!
Other idea is to set the "userdata" in NAND to set size and grow the "system" partition and carry on using SD-Ext and Data2SD for internal storage, something like:
NAND/
--/misc (1mb)
--/boot (5mb)
--/recovery (5mb)
--/cache (10mb)
--/userdata (50mb)
--/system (leftovers) *441mb
SD/
--/Ext (1gb)
-Fat32
But then does the "system" partition have to be created 4th and wont work if created last???? And what about all the plastic trees, where do they go?! My head hurts, i'm cold and there are wolfs after me!
I am guessing that creating userdata on sd card might work, but I don't know how your build mounts partitions, so that is your job too.
but you should read up on data2sd, data2ext, a2sd+ and a2sd
No, you can move the partitions around, it worked for me.
So, if I have a ROM (CMYLXGO's Stock Desire) w/ 425 MB system partition and I back it up with CWM , then install another ROM with 150MB system partition (installing the 150MB partition prior to install of course), do I need to repartition back to the 425MB prior to restoring the 425MB partitioned backup?
Common sense would tell me yes, BUT, I figured I would ask just in case I am wrong!
JWhipple said:
So, if I have a ROM (CMYLXGO's Stock Desire) w/ 425 MB system partition and I back it up with CWM , then install another ROM with 150MB system partition (installing the 150MB partition prior to install of course), do I need to repartition back to the 425MB prior to restoring the 425MB partitioned backup?
Common sense would tell me yes, BUT, I figured I would ask just in case I am wrong!
Click to expand...
Click to collapse
Yes, you definitely need to re-partition.
Thank you - thats just what I needed to know!
JWhipple said:
Thank you - thats just what I needed to know!
Click to expand...
Click to collapse
glad I could help....
What will be the problem if i dont perform repartition?
I had been wondering if a nandroid backup would restore old partition sizes, since it backs up everything, but yeah i guess it makes sense that it can't change the size of the recovery partition, since that's what cwm is running from at the time of backup/restore. But does nandroid restore system and cache partition sizes?
Sent from my HTC HD2 using XDA App
huggs said:
I had been wondering if a nandroid backup would restore old partition sizes, since it backs up everything, but yeah i guess it makes sense that it can't change the size of the recovery partition, since that's what cwm is running from at the time of backup/restore. But does nandroid restore system and cache partition sizes?
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
No, the restore just loads the partition contents into the partition, it doesn't adjust the sizes, or recreate them,, just loads the backed up contents into it.
I installed ZOE 5 & everything works fine, but i made ext partition 1 gb although 512 mb would be fine.
What is the best way of resizing ext without installing everything again?
My idea would be backing up room & sd card, resizing ext and reverting sd data & restore point.
Don't get complicated, Use Recovery.
Backup your SD CARD, then Partitionate again, then put again your backup on your SD CARD. Done.
recovery
how to increase system partition through recovery?
You cannot. Changing of partition sizes can only be done via Fastboot.
-Grift- said:
You cannot. Changing of partition sizes can only be done via Fastboot.
Click to expand...
Click to collapse
Thanks, it worked.
leoposas said:
Don't get complicated, Use Recovery.
Backup your SD CARD, then Partitionate again, then put again your backup on your SD CARD. Done.
Click to expand...
Click to collapse
Partitioning via recovery is not recommended because it can damage sd card(this happened to me). You should use tool like minitool partition.
username_lt said:
Partitioning via recovery is not recommended because it can damage sd card(this happened to me). You should use tool like minitool partition.
Click to expand...
Click to collapse
Always done through recovery. There was no key problems
ubuntu
Any ubuntu program?
br501 said:
Any ubuntu program?
Click to expand...
Click to collapse
gparted, fdisk, parted, kde partition editor.
Sent from my LG-P990
Hi,
ive just followed the flashable oreo TWRP thread in here to test out Oreo.
My device is S8 G950F
link -> https://forum.xda-developers.com/ga...1-10-flashable-oreo-twrp-dump-beta-2-t3703083
After that TWRP didnt recognized my data partition anymore...:crying::crying:
So i installed latest TWRP in Odin again (had 3.1.1 before 3.2.0.0 after) - didnt helped.
Ive done a full restore with odin after i downloaded the firmware via samfirm, this is the exact firmware number ive used:
G950FOXM1AQJ5_CL12401979_QB15459675_REV00_user_low_ship
Still no success
I also tried flashing supersu (2.82) and dm-verifity (v.6.0).
Any ideas?
Is it just the partition table in twrp that needs to be updated or some stupid thing i forgot?
Regards
create one !!
popmpopm said:
create one !!
Click to expand...
Click to collapse
when you use wipe
choose data and use repair or change file system option
after resize file system and voila !!
popmpopm said:
when you use wipe
choose data and use repair or change file system option
after resize file system and voila !!
Click to expand...
Click to collapse
Yup already figured it out 5 mins after I created this. Shame over me
please help.
i have the same problem.
ive installed clean google edition orea (i had google edition nought 7 before).
everything works except /data/ mount in twrp.
the solution above didnt work, gave me errors.
do i need to format data?!
it will format all my current /data/ or also the internal storage?
thank you.
eliazu said:
please help.
i have the same problem.
ive installed clean google edition orea (i had google edition nought 7 before).
everything works except /data/ mount in twrp.
the solution above didnt work, gave me errors.
do i need to format data?!
it will format all my current /data/ or also the internal storage?
thank you.
Click to expand...
Click to collapse
Ok yeah it'll format whole internal storage.
You need to change the partition type of /data to f2fs and then change it back to ext4. Then two recognize /data again
Thargorsson said:
Ok yeah it'll format whole internal storage.
You need to change the partition type of /data to f2fs and then change it back to ext4. Then two recognize /data again
Click to expand...
Click to collapse
How do i format if twrp can't access /data?
eliazu said:
How do i format if twrp can't access /data?
Click to expand...
Click to collapse
It's not format.
Go to wipe, advanced wipe, repair or change partitions ,select data, select change partition type, select f2fs slide to continue.
Then do the same with data and change back to ext4.
eliazu said:
How do i format if twrp can't access /data?
Click to expand...
Click to collapse
its not magic you have all option in twrp wipe
I have done this and it works but as soon as i reboot and go back to twrp it doesnt recongize /data am i doing something wrong
after so many tests I discovered that twrp can read and write data only if you flash last supersu beta, magisk and supersu official both doesn't work:
https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
Does the resize option or file system option wipe internal storage?
I lost persist partition. If i use blank image for persist partition it worker but no wifi, sensor, camera, etc.
If i use ext4 filesystem for persist partition it not work always can't boot.
Help for persist partition ?
upiksaleh said:
I lost persist partition. If i use blank image for persist partition it worker but no wifi, sensor, camera, etc.
If i use ext4 filesystem for persist partition it not work always can't boot.
Help for persist partition
Click to expand...
Click to collapse
Flash fastboot ROM and you're good to go.
saurabhcharde said:
Flash fastboot ROM and you're good to go.
Click to expand...
Click to collapse
LINK?
upiksaleh said:
LINK?
Click to expand...
Click to collapse
I didn't find any latest threads on XDA but here's an updated one from telegram.
upiksaleh said:
LINK?
Click to expand...
Click to collapse
https://forum.xda-developers.com/asus-zenfone-max-pro-m1/how-to/update-asus-max-pro-m1-16-2017-2005-082-t4104871