Slight change to my priginal post.. just need a fixed recovery so that I can mount and flash from the SD partition which is now mmcblk0p3 since I removed the internal flash chip.
Related
Hey everyone.
I'll go straight to my problem.
My /data partition is broken. I can't mount it, just like if 1GB of space magically disappeared. Roms normally boot and work, but I can't install any apps. I remember that it happened after flashing modified SBF with Epsylon's CM9. Can't help it with flashing other roms (but I haven't tried stock Froyo yet, do you think it could help?) and I can't simply wipe as /data doesn't mount. Any suggestions on restoring the original partition layout?
Try flash SBF .... during flashing SBF file the partitions are formated so it may help
Does anyone know where safestrap boot is physically located?
I was going to replace my stock rom (its borked for reasons unrelated to safestrap) but I'm unsure as to where the safestrap boot files are located.
Are they on stock rom /boot or /system. I'm hoping that if I just leave /boot alone I could just flash over /system and be ok but I wanna make sure I correct in assuming this as I dont want to lose access to safe strap.
to put it another way would flashing over stock /system wipeout the safestrap boot?
Thanks in Advance
alkmie said:
Does anyone know where safestrap boot is physically located?
I was going to replace my stock rom (its borked for reasons unrelated to safestrap) but I'm unsure as to where the safestrap boot files are located.
Are they on stock rom /boot or /system. I'm hoping that if I just leave /boot alone I could just flash over /system and be ok but I wanna make sure I correct in assuming this as I dont want to lose access to safe strap.
to put it another way would flashing over stock /system wipeout the safestrap boot?
Thanks in Advance
Click to expand...
Click to collapse
If you're replacing your stock slot, I believe you need to reinstall safestrap, and you'll have to install root before you reboot if your ROM doesn't have it already. I know ROM slots are in the data partition, but i'm pretty sure it has files in /system to get the splash on boot.
augeeLt Musical
Thanks for the reply.
I have one more question if anyone knows, I have a good stable rom in rom slot 1 and have made a backup so I have a system.ext4.win file.
So can I just switch to my stock rom slot and restore using this file
or perhaps rename it system.img and use adb to flash it to my system partition?
I'm unsure since I made the rom slot system partition 1800MB what would happen if I tried to flash this to my stock slot
would it just install the files to the full system partition or change my stock partition to 1800MB or would it not even work as the partition size probably do not match.
Sorry for all the question if I have a normal recovery id just flash away but don't wanna lose safe strap and have to terminal my way back in.
Thanks in advance
Hi,
after flashing, restoring and wiping quite alot, i ended up with a official 4.4.2 open ROM, rooted and with custom recovery but only 16GB space on my 32GB model.
So i used parted via adb from cwm to increase the userdata partition. The problem was, that there was a partition called "growth" between the free space and the userdata partition. Because it was not in a fileformat that parted was able to recognize, my only option was to delete it.
Does anyone know what this partition is used for? Is it a problem that i dont have it anymore? The phone seems to be working just fine.
Hi friends. I have a exynos device n9000q
I accidently format my /misc partition. Now in recovery it shows "cant partition the non mmcblk device: /devices/platform/dw_mmc.2/mmc_host/mmc2"
Is there any workaround for that? I try to reflash the stock firmware with odin it flashed succesfuly but it didnt solve my issue. For my understanding the stock firmware didnt have misc partition.
I need help.
Anything?
How did you format the /misc partition?
It was a mistake. I write a installer script to create flashable zip. I use the wrong block code blck16 or something. So now cwm says misc partition cannot load. I need to flash misc partition with the pit file i think.
Please help.. I really need to fix it.
Does flashing a stock rom write this partition again?
I have the n9005 so i wouldn't know.
Sent from my SM-N9005 using Tapatalk
I tried it. But it didnt works. I hope someone will help about it.
can i install Stock Firmware after reparation internal memory by twrp?
if i can flash so my partitions will change or not and what other problems can occur?
faizynadim said:
can i install Stock Firmware after reparation internal memory by twrp?
if i can flash so my partitions will change or not and what other problems can occur?
Click to expand...
Click to collapse
https://firmware.center/firmware/Motorola/Moto G4 (Plus)/
After u install twrp recovery you don't modify your stock rom though no ota updates.but u can replace it with stoct recovery again.. if u mess up with stock rom yeah u can get it from the above link ..
i am asking about re partition...i am not asking about briking device or flashing stock rom...
Did modify the system partition or only the internal storage?
i have not changed yet.....i am asking if i change the partition of system and data partition...then i will be able to flash stock rom or problems will occur...
Ok, now changing the size of the system partition may create problems if you try to flash the stock img files, I think
ok..i will try that... ?
Whatever you do, don't reduce the size of the system partition, if you want to flash stock ROM later...zips should work fine though. I have seen people repartition xiaomi mi 3 phones and install custom roms.
faizynadim said:
i have not changed yet.....i am asking if i change the partition of system and data partition...then i will be able to flash stock rom or problems will occur...
Click to expand...
Click to collapse
What are you hoping to achieve with changing the partitions (e.g. are you changing the format of the partitions to ext4 or f2fs? Or are you changing the sizes of the partitions)?
If you're changing the partition sizes, I personally would leave the sizes alone, unless you're confident in the size of the partition that the stock ROM would need (and need in the future). From what I see on my device running Nougat NPJS25.93-14.4, cache (ext4) is 256 MB, system (ext4) is 2.5 GB and data (f2fs) takes up the rest of my internal storage.
As for changing formats, I don't know if the stock ROM will work with a system partition not formatted as ext4. Cache may or may not work with f2fs. Again, what are you hoping to achieve?
I want that nobody can flash stock rom on my phone normally....i have cerberus installed as root and if any theif can install firmware so that is useless and theif can enjoy using my phone...so i want to change partition sizes to make it difficult for anyone to flash factory images.
faizynadim said:
I want that nobody can flash stock rom on my phone normally....i have cerberus installed as root and if any theif can install firmware so that is useless and theif can enjoy using my phone...so i want to change partition sizes to make it difficult for anyone to flash factory images.
Click to expand...
Click to collapse
Speaking from my humble (and maybe ignorant) opinion,
I had a few experiences modifying partitions from other devices in the past (i did it no more than 3-4 times), i can say that when you flash a full stock factory image, normally, all the partitions recover his original sizes and formats.
All the devices that i modified included the General Partition Table (gpt.bin) file and the FSTAB config instructions into his full factory images, and from what i saw on the G4 plus, it includes these files too.
Here you have the complete partition table list taken from my G4 plus running 7.0 (NPJS25.93-14-4).
ohhh thanks ?