Location of RECOVERY partition? - Android Q&A, Help & Troubleshooting

Hello, I am trying to find the block locations of the recovery, boot, and ibl partitions of my android device but don't know how. I need to pull them to create a stock rom but there is zilche (current) info on how to do this. Please help!

iJimaniac said:
Hello, I am trying to find the block locations of the recovery, boot, and ibl partitions of my android device but don't know how. I need to pull them to create a stock rom but there is zilche (current) info on how to do this. Please help!
Click to expand...
Click to collapse
Look at the contents of the following file as root.
/cache/recovery/last_log

rprr said:
Look at the contents of the following file as root.
/cache/recovery/last_log
Click to expand...
Click to collapse
Thanks. Helped me too. :good:

iJimaniac said:
Hello, I am trying to find the block locations of the recovery, boot, and ibl partitions of my android device but don't know how. I need to pull them to create a stock rom but there is zilche (current) info on how to do this. Please help!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2450045

Related

Help needed - System wipe/reinstall ROM et al.

So a quick catch up is needed: I accidentally wiped my system in TWRP recovery. I have now been able to push the ROM back to TFP via ADB. All seems to be ok.
Issues:
1) When flashing the rom zip I got a failed message after TWRP checked partitions, anyone know what to do with this?
2) TWRP only will allow me to install from /data directory, is this normal and will this hinder rom flash?
Any insights or knowledge of existing threads with answers would be really appreciated. Thanks for reading this too btw, I'm new so anything will be helpful.
Thanks again.
tstern0112 said:
So a quick catch up is needed: I accidentally wiped my system in TWRP recovery. I have now been able to push the ROM back to TFP via ADB. All seems to be ok.
Issues:
1) When flashing the rom zip I got a failed message after TWRP checked partitions, anyone know what to do with this?
2) TWRP only will allow me to install from /data directory, is this normal and will this hinder rom flash?
Any insights or knowledge of existing threads with answers would be really appreciated. Thanks for reading this too btw, I'm new so anything will be helpful.
Thanks again.
Click to expand...
Click to collapse
I haven't personally used TWRP but I've seen in the buglist that sometimes it could mess up with particularly large ROM files. However, I have not tested this firsthand because I know my prime is sort of like a moribund insect; you touch it, it dies.
Sent from my tf9001 with XDA XD.
tstern0112 said:
So a quick catch up is needed: I accidentally wiped my system in TWRP recovery. I have now been able to push the ROM back to TFP via ADB. All seems to be ok.
Issues:
1) When flashing the rom zip I got a failed message after TWRP checked partitions, anyone know what to do with this?
2) TWRP only will allow me to install from /data directory, is this normal and will this hinder rom flash?
Any insights or knowledge of existing threads with answers would be really appreciated. Thanks for reading this too btw, I'm new so anything will be helpful.
Thanks again.
Click to expand...
Click to collapse
The /data directory is the only partition I have ever flashed a ROM from. /data is just internal memory Where does ADB push put the file by default, at the root?
It sounds like you may need to re-partition your device. I guess when you wipe /system in twrp, it doesn't create a new /system partition? Or maybe it wiped everything? The TWRP thread can probably answer these questions, but my guess is that you just need to create a new partition(s) or if the partitions are okay just adb push the file to the right spot. I've never done that before in ADB, hopefully it isn't complicated? Good luck man, ask the Team Win thread if you have questions, I bet they can help!
Komodo Rogue said:
The /data directory is the only partition I have ever flashed a ROM from. /data is just internal memory Where does ADB push put the file by default, at the root?
It sounds like you may need to re-partition your device. I guess when you wipe /system in twrp, it doesn't create a new /system partition? Or maybe it wiped everything? The TWRP thread can probably answer these questions, but my guess is that you just need to create a new partition(s) or if the partitions are okay just adb push the file to the right spot. I've never done that before in ADB, hopefully it isn't complicated? Good luck man, ask the Team Win thread if you have questions, I bet they can help!
Click to expand...
Click to collapse
Thanks so much.. Yeah I've been reading up on this and of course there's always more to the story haha I talked to an old linux engineer and he agrees with you that there is probably something going on with partitions. I'll head over to TWRP and see if they have any ideas. Thanks for your help.

Can't delete files from my external memory card through file explorer

I have tried a lot of custom Roms. I'm on Neat ROM Lite now. Not sure which ROM changed my file access permission settings to cause this problem but I'm not able to delete any files from my external memory card. I was able to delete when I was on stock rom. The other problem is for a few apps I get an error message which says can't install on usb/sd card. I have posted this in another thread
some time back but got no response. Some one please point me in the right direction.
This is what my file permission looks like.
PS: I am able to delete when my fone is connected to PC via USB. So I don't think it has anything to do with a faulty sd card.
pavitar said:
I have tried a lot of custom Roms. I'm on Neat ROM Lite now. Not sure which ROM changed my file access permission settings to cause this problem but I'm not able to delete any files from my external memory card. I was able to delete when I was on stock rom. The other problem is for a few apps I get an error message which says can't install on usb/sd card. I have posted this in another thread
some time back but got no response. Some one please point me in the right direction.
This is what my file permission looks like.
PS: I am able to delete when my fone is connected to PC via USB. So I don't think it has anything to do with a faulty sd card.
Click to expand...
Click to collapse
file permissions are 775, try changing them to 777(all boxes ticked)
for future refference he is my support thread Ricky310711 AllInOne Support Thread
ricky310711 said:
file permissions are 775, try changing them to 777(all boxes ticked)
for future refference he is my support thread Ricky310711 AllInOne Support Thread
Click to expand...
Click to collapse
Can you please tell me, how to apply a file permission? I tried checking the box which is not checked in the snapshot shared, but that too gives an error.Says "Operation failed"
pavitar said:
Can you please tell me, how to apply a file permission?
Click to expand...
Click to collapse
download mobile terminal from playstore
Hey I know its been quite sometime now.but as ur advice I downloaded mobile terminal and now have to run the following command everytime I boot my fone:
mount -o rw,remount -t/yaffs2 /storage/extSdCard
Otherwise i do not get rw access to my external sd.Istn't there a permanent solution to this? Also I fail to understand what changed my permissions and why does this persist across all the new roms I flash?
Sent from my GT-I9100 using xda app-developers app
Wanamlite ->Slim Bean 4.2.2 ->NeatRom Lite -> wanamlite
pavitar said:
Hey I know its been quite sometime now.but as ur advice I downloaded mobile terminal and now have to run the following command everytime I boot my fone:
mount -o rw,remount -t/yaffs2 /storage/extSdCard
Otherwise i do not get rw access to my external sd.Istn't there a permanent solution to this? Also I fail to understand what changed my permissions and why does this persist across all the new roms I flash?
Sent from my GT-I9100 using xda app-developers app
Wanamlite ->Slim Bean 4.2.2 ->NeatRom Lite -> wanamlite
Click to expand...
Click to collapse
Create a blank file and type that command in it. Now save it and rename it to 95mountsd with no extension
Now, if you have init.d support, place it in /system/etc/init.d and reboot
Command will run on every boot itself
Thank you, it worked. Now could please have a look at my other issue, in this post I'd be really thankful.
Can you please tell me what could be the reason for my default rw settings to change, coz I remember when I had stock os I never had to do all this.
iamareebjamal said:
Create a blank file and type that command in it. Now save it and rename it to 95mountsd with no extension
Now, if you have init.d support, place it in /system/etc/init.d and reboot
Command will run on every boot itself
Click to expand...
Click to collapse
pavitar said:
Thank you, it worked. Now could please have a look at my other issue, in this post I'd be really thankful.
Can you please tell me what could be the reason for my default rw settings to change, coz I remember when I had stock os I never had to do all this.
Click to expand...
Click to collapse
Sorry, i'm not good at hardware stuff
Maybe the ROMs aren't mounting that special kind of partition your sdcard is having
FAT32 format works universally
yaffs2 may not
I'm not sure
iamareebjamal said:
Sorry, i'm not good at hardware stuff
Maybe the ROMs aren't mounting that special kind of partition your sdcard is having
FAT32 format works universally
yaffs2 may not
I'm not sure
Click to expand...
Click to collapse
Hey I have switched back to stock rom and I've rooted it by flashing philz kernel. Now I don't see init.d in my /system/etc , where do I place this 95mountsd in this case?
pavitar said:
Hey I have switched back to stock rom and I've rooted it by flashing philz kernel. Now I don't see init.d in my /system/etc , where do I place this 95mountsd in this case?
Click to expand...
Click to collapse
Try this
https://play.google.com/store/apps/...&utm_medium=organic&utm_term=universal+init.d

[Q] help me.....plz

I want to root my Celkon a119 signature HD plz help me by saying procedure of root
thanks in advance
http://forum.xda-developers.com/showthread.php?t=2216475
es0tericcha0s said:
http://forum.xda-developers.com/showthread.php?t=2216475
Click to expand...
Click to collapse
I tried this by copying cwm-supersu-iq6.zip to SD card and choosing update from SD card in cmw mode then it shows
error :invalid partition
Did CWM actually install correctly? While in recovery, you would see ClockworkMod or CWM and the version number somewhere.
es0tericcha0s said:
Did CWM actually install correctly? While in recovery, you would see ClockworkMod or CWM and the version number somewhere.
Click to expand...
Click to collapse
can you please send me the scatter file for Celkon a119(.text file) please
The scatter file linked to on the OP of the rooting thread isn't working?
es0tericcha0s said:
The scatter file linked to on the OP of the rooting thread isn't working?
Click to expand...
Click to collapse
No sir it is not working while loading scatter file it is showing an error
Did you search through the thread to see if anyone had the same error? And it helps to say what the error is so someone might be able to point you in the right direction a little quicker.

Bricked Phone ?

Hello, i think i made a big mistake, on my phone with root explorer i was unable to mount / and then i tried to mount /system into read only, i remember that i ticked "owner" "group" and "other" but only on read, and my phone just freezed and now the screen is on but it is black and the navigation buttons are on too, please help me
skip
Go to twrp, mount system, go-to inbuilt file manager and chmod 755 the system folder and reboot, or Dirty flash the firmware will do the job.
Next time, do nand-backup before perform sny changes to system. or would be better don't messed up with root partition.
R324D said:
Go to twrp, mount system, go-to inbuilt file manager and chmod 755 the system folder and reboot, or Dirty flash the firmware will do the job.
Next time, do nand-backup before perform sny changes to system. or would be better don't messed up with root partition.
Click to expand...
Click to collapse
You are sure it is going to work ?
Yakia said:
You are sure it is going to work ?
Click to expand...
Click to collapse
Lol
I don't know man, you could try. I'm not a magician...
Soooo little info you provided, I don't know what device you mentioned above? Rooted/unrooted? Custom rom/stock rom? Twrp installed/uninstalled? Almost zero info :laugh:
But basically, yes it'll work. Just do it..
R324D said:
Lol
I don't know man, you could try. I'm not a magician...
Soooo little info you provided, I don't know what device you mentioned above? Rooted/unrooted? Custom rom/stock rom? Twrp installed/uninstalled? Almost zero info :laugh:
But basically, yes it'll work. Just do it..
Click to expand...
Click to collapse
I actually have twrp installed and fully functionnal, but the phone won't boot on os, when i try to boot, it always shows me recovery, and i precise that in /system there is no file, its empty, i don't know why but when i go to storage info i see that the system partition takes 4gb why ? If in file explorer /system is empty, why system takes 4gb ? Maybe it's not really empty ? Anyway i just need help please
Yakia said:
I actually have twrp installed and fully functionnal, but the phone won't boot on os, when i try to boot, it always shows me recovery, and i precise that in /system there is no file, its empty, i don't know why but when i go to storage info i see that the system partition takes 4gb why ? If in file explorer /system is empty, why system takes 4gb ? Maybe it's not really empty ? Anyway i just need help please
Click to expand...
Click to collapse
I tried to help you here, but clearly you didn't read my previous comment.
Boot into TWRP (you said you have it installed), and you have to MOUNT SYSTEM first, or it'll just show you an empty folder without file.
R324D said:
I tried to help you here, but clearly you didn't read my previous comment.
Boot into TWRP (you said you have it installed), and you have to MOUNT SYSTEM first, or it'll just show you an empty folder without file.
Click to expand...
Click to collapse
Where do i mount system ? Sorry if i'm maybe annoying i just want to be sure that i will not fail
Yakia said:
Where do i mount system ? Sorry if i'm maybe annoying i just want to be sure that i will not fail
Click to expand...
Click to collapse
Just boot into twrp, you'll see mount menu as soon as you enter the twrp recovery. Enter mount and check system.
R324D said:
Just boot into twrp, you'll see mount menu as soon as you enter the twrp recovery. Enter mount and check system.
Click to expand...
Click to collapse
When i tick system, i have no "mount" button, i only have a "disable mtp" button, why ? I can give you screens if you want

If there is a certain files in /system partition that cannot be rewrite

Can I boot to the root filesystem using fastboot and edit the file from there?
I wanted to edit:
/etc/mkshrc
xracerx123 said:
Can I boot to the root filesystem using fastboot and edit the file from there?
I wanted to edit:
/etc/mkshrc
Click to expand...
Click to collapse
It is generally not possible to perform file changes through fastboot/bootloader. To do so, you need to have a runtime environment such as TWRP. Bootloader/fastboot generally only handles partition images.
V0latyle said:
It is generally not possible to perform file changes through fastboot/bootloader. To do so, you need to have a runtime environment such as TWRP. Bootloader/fastboot generally only handles partition images.
Click to expand...
Click to collapse
Unable to edit /etc/mkshrc
I just tried to add variables on Android /etc/mkshrc file but I get an error: Read-only file system Further, I have tried to use adb remount, but it says inaccessible or not found. I tried to use the following: mount -o remount,rw /...
forum.xda-developers.com
Do refer to the above thread, it is sort of related to this topic.
Is it possible, to edit right on the /etc itself? without going through twrp?
Is there any tools that can help?
xracerx123 said:
Unable to edit /etc/mkshrc
I just tried to add variables on Android /etc/mkshrc file but I get an error: Read-only file system Further, I have tried to use adb remount, but it says inaccessible or not found. I tried to use the following: mount -o remount,rw /...
forum.xda-developers.com
Do refer to the above thread, it is sort of related to this topic.
Click to expand...
Click to collapse
It mentions using ADB, which can only be used either through system or recovery.
xracerx123 said:
Is it possible, to edit right on the /etc itself? without going through twrp?
Click to expand...
Click to collapse
Not through bootloader or fastboot. You can dump an image, edit it, and reflash it, but this would all be much more complicated than using TWRP, which would allow you to mount the partition as r+w so you can effect the edit you want.
xracerx123 said:
Is there any tools that can help?
Click to expand...
Click to collapse
Yes...TWRP.
V0latyle said:
It mentions using ADB, which can only be used either through system or recovery.
Not through bootloader or fastboot. You can dump an image, edit it, and reflash it, but this would all be much more complicated than using TWRP, which would allow you to mount the partition as r+w so you can effect the edit you want.
Yes...TWRP.
Click to expand...
Click to collapse
I am using Pixel 6A, currently there is no TWRP. https://twrp.me/Devices/
xracerx123 said:
I am using Pixel 6A, currently there is no TWRP. https://twrp.me/Devices/
Click to expand...
Click to collapse
Details like this are beneficial when asking questions.
The short answer to your original question is no, what you want to do is not possible.
is your bootloader even unlockable?
https://www.xda-developers.com/how-to-unlock-bootloader-root-magisk-google-pixel-6a
xracerx123 said:
I am using Pixel 6A, currently there is no TWRP.
Click to expand...
Click to collapse
but there is Evolution X custom recovery at least
https://forum.xda-developers.com/t/4514881

Categories

Resources