Problems with Superuser Permissions & Apps2sd - G1 Q&A, Help & Troubleshooting

I am running ADP 1.6 and things have been working fine but lately I noticed the more apps I installed the slower my phone became, which led me to believe that the apps were being installed to the internal memory. Sure enough that was correct so I downloaded and installed apps2sd and everytime I open it up SU Permissions pops up but it just hangs. It doesn't permit me to allow or deny access. I was wondering if there was anything I could do to correct this. Any help would be much appreciated. Thanks

Give us some more info:
Rom + Version?
Phone?

Sorry I am running AOSP-1.6_r1.4 + ADP DRD20 on a g1. I was thinking of wiping and reflashing but I really don't want to have to go through the process again.

I see.
Your ROM (AOSP-1.6_r1.4) has A2SD built in, as far as I know.
Therefore, I'd probably check to see if you have the necessary partitions on your SD Card.
1) Reboot phone and enter Recovery (Home + Power)
2) Go to the console
3) Hit enter and type:
parted /dev/block/mmcblk0
4) Then type "print"
Please post what you see on the screen here.
Thanks.

I tried your code and this is what I got....
Model: SD (sd/mmc)
Disk /dev/block/mmblk0 : 7934 MB
Sector size (logical/physical) : 512b/512b
Partition Table: msdos
number start end size type file system flags
1 512B 7294MB 7294MB Primary fat32
2 7294MB 7806MB 512MB primary ext4
3 7806 MB 7934MB 128MB primary linux-swap(v1)

knowgood said:
I tried your code and this is what I got....
Model: SD (sd/mmc)
Disk /dev/block/mmblk0 : 7934 MB
Sector size (logical/physical) : 512b/512b
Partition Table: msdos
number start end size type file system flags
1 512B 7294MB 7294MB Primary fat32
2 7294MB 7806MB 512MB primary ext4
3 7806 MB 7934MB 128MB primary linux-swap(v1)
Click to expand...
Click to collapse
Ah, okay - so you have everything set up correctly.
Honestly - I don't know. You might want to try reflashing the ROM. I don't have much experience with AOSP-1.6, but from what I read, flashing won't cause a wipe. But, just in case, make a nandroid/android backup and try reflashing.
I'll look into this further. If I come across a possible solution, I'll post back.

So I don't need to wipe in order to reflash? I tried flashing the latest expansion pack but it gave me problems so I used nandroid back up to restore.

Try just the ROM itself (the Rooted Base):
http://www.androidspin.com/download...le=AOSP_ADP_1.6_r1.4_DRD20_rooted_base_v2.zip
Original Post

That is the one I am currently using and currently experiencing the SU problems with. When I first installed it I had no problems what so ever, so I think I will reflash with this rom again. I will let you know how it goes. Again thanks for your help.

It could be some minor issue on the phone's sys. files.
If you didnt flash yet, try fix_permissions (Terminal type: fix_permissions ). I don't know why I didn't think of that first, but its worth a shot.
If that doesn't work - i'd probably try flashing.
Sorry couldn't be more of a help.

Just reflashed... Still experiencing the same problems. I think I am going to have to wipe and flash again.

akapoor said:
It could be some minor issue on the phone's sys. files.
If you didnt flash yet, try fix_permissions (Terminal type: fix_permissions ). I don't know why I didn't think of that first, but its worth a shot.
If that doesn't work - i'd probably try flashing.
Sorry couldn't be more of a help.
Click to expand...
Click to collapse
Don't worry you've already been a ton of help by helping me walk through a couple of steps. I tried the command and it says "permission denied"
Could that possibly mean that my phone is unrooted?

knowgood said:
Don't worry you've already been a ton of help by helping me walk through a couple of steps. I tried the command and it says "permission denied"
Could that possibly mean that my phone is unrooted?
Click to expand...
Click to collapse
No, you just have to type "su" before "fix_permissions". Try fix_permissions from console in recovery mode. Actually, just reflash your ROM (no wipe), then try fix_permissions. You can also try moving apps+dalvik to sd to see for sure if apps2sd is working. If it's not, then all your market-installed apps will disappear (don't worry, they'll reappear once you get A2SD working properly). EDIT: Assuming you don't delete the apps from your sd by wiping ext or repartitioning, without backing up first
If doing all that fails, then wipe and reflash. If that doesn't work, try a different ROM. Download CyanogenMod, it is the gold standard. If A2SD fails in his ROM, then you know that something is wrong with your setup. Try repartitioning your sdcard, just to be sure.
Oh, and backup all the files on your sd, and do a nandroid backup, before you do ANY of this.

I went ahead and wiped and reflashed... seemed to solve the SU Permission problem but I am still experiencing problems with ap2sd. I downloaded a few apps and saw that my internal phone memory was being used instead of the sd. I might give cyanogen's mod a shot. I notice alot of people run it, is it a fairly stable rom?

carnegie0107 said:
No, you just have to type "su" before "fix_permissions". Try fix_permissions from console in recovery mode. Actually, just reflash your ROM (no wipe), then try fix_permissions. You can also try moving apps+dalvik to sd to see for sure if apps2sd is working. If it's not, then all your market-installed apps will disappear (don't worry, they'll reappear once you get A2SD working properly). EDIT: Assuming you don't delete the apps from your sd by wiping ext or repartitioning, without backing up first
If doing all that fails, then wipe and reflash. If that doesn't work, try a different ROM. Download CyanogenMod, it is the gold standard. If A2SD fails in his ROM, then you know that something is wrong with your setup. Try repartitioning your sdcard, just to be sure.
Oh, and backup all the files on your sd, and do a nandroid backup, before you do ANY of this.
Click to expand...
Click to collapse
I wiped and switched to CyanogeMod, the apps2sd is fixed but I still get a few problems with SU permissions. I noticed when I use SetCPU it asks for permission and I click allow but the app just hangs and eventually FC. Anyone know what could be the cause of this?

Related

Another sdcard thread....cm 4.2.5 apps2sd/swap is locking me up

Hello.. as the title states im having issues.
ok, so i recently rooted my g1when i saw Gnav was live (w00t) and all was well until i decided to partition my pqi class6 4gb partitioned as listed below.
ok heres the kicker.. every thing is fine until i start installing apps then it will just lock up then when i try to restart i get a black screen after the cm loading screen and thats it.. only way to get it back to life is to delete then repartition the card...... i reflashed, repartitioned and factory reset about 10 times and finally gave up and wiped card back to full fat32 and no swap or ext3 then reflashed cm 4.2.5 and have been running flawless for a week now so i have narrowed it down to my sdcard... any ideas on WTF could be going on here?? are pqi cards no good maybe?? it was real cheap i caught a deal on it about a year ago.. something like 2x4gb for 15 bucks shipped. I have never had any file loss when using it just for storage or anything.
heres how i had the partitions layed out
0 3459
3459 3971
3971 4003
i also tried ext4 aaaand out of desperation cm 4.2.4 with no luck
any insight greatly appreciated, I didnt know if i should post this here,in development or accessories but its a Q and im lookin for a A
Thanx
-Bop
Well I had the same issue with my phone, but I switched over to Amon-RA recovery and it does SdCard partition for you, You just have to enter the number's you want and it does the rest in recovery mode. This is how to flash it on this page. http://forum.xda-developers.com/showthread.php?t=566669.
errrm i dont think the recovery is the issue, i really like cm 1.4 for the fact that it has a console
thanx.
Next
Amon_RA has a console too....
if you dont want to use that, then format it through parted with 1.4
Amon_RA's does the same thing but its much easier (he basically added automated scripts to the 1.4 recovery, since it is actually based off 1.4)
Thanx.....but that's not my issue, please thouroghly read my opening post.
Thanx again
Also I should probably add one note here....it don't lock up as soon as I install a app.... I can get 3 to 5 apps in be4 what's explained in my OP happens.
BopChie said:
Thanx.....but that's not my issue, please thouroghly read my opening post.
Thanx again
Also I should probably add one note here....it don't lock up as soon as I install a app.... I can get 3 to 5 apps in be4 what's explained in my OP happens.
Click to expand...
Click to collapse
Well get us a logcat of when that crash happens. It seems like bad partitioning but get us a logcat and we can narrow down the issue
B-man007 said:
Well get us a logcat of when that crash happens. It seems like bad partitioning but get us a logcat and we can narrow down the issue
Click to expand...
Click to collapse
ok, i dont know how to do so and is this something i can fetch after the os is crashed via recovery console and dump to sd??
and as i said i am a root newb here.. so i have to ask... if i do a nandroid backup and save the backup to my pc be4 i go through and recreate my issue... will i beable to restore back to how i am now after i wipe and format back to full fat32 (if needed)
also.. take a look below, am i not doing something right here???
i did all the partitioning in parted as below
after removing all partitions i have a 4003MB chunk
mkpartfs primary fat32 0 3459
mkpartfs primary ext2 3459 3971
mkpartfs primary linux-swap 3971 4003 <---maybe i should try 4000 and not goto the end of the sd??
then after i'm out of parted
upgrade_fs to get ext3
tahnx again
BopChie said:
ok, i dont know how to do so and is this something i can fetch after the os is crashed via recovery console and dump to sd??
and as i said i am a root newb here.. so i have to ask... if i do a nandroid backup and save the backup to my pc be4 i go through and recreate my issue... will i beable to restore back to how i am now after i wipe and format back to full fat32 (if needed)
also.. take a look below, am i not doing something right here???
i did all the partitioning in parted as below
after removing all partitions i have a 4003MB chunk
mkpartfs primary fat32 0 3459
mkpartfs primary ext2 3459 3971
mkpartfs primary linux-swap 3971 4003 <---maybe i should try 4000 and not goto the end of the sd??
then after i'm out of parted
upgrade_fs to get ext3
tahnx again
Click to expand...
Click to collapse
that seems right..
if you have ADB setup, type in
adb logcat
just before installing apps. When it crashes, it should give error messages which we will be able to help you with. Post it here in code tags or post it on pastebin.com
BopChie said:
and as i said i am a root newb here.. so i have to ask... if i do a nandroid backup and save the backup to my pc be4 i go through and recreate my issue... will i beable to restore back to how i am now after i wipe and format back to full fat32 (if needed)
Click to expand...
Click to collapse
..........
B-man007 said:
that seems right..
if you have ADB setup, type in
adb logcat
just before installing apps. When it crashes, it should give error messages which we will be able to help you with. Post it here in code tags or post it on pastebin.com
Click to expand...
Click to collapse
currently i dont but i can get it setup again and give a try.. see my nandroid Q please
BopChie said:
..........
currently i dont but i can get it setup again and give a try.. see my nandroid Q please
Click to expand...
Click to collapse
Yes to the nandroid but your EXT will not be backed up. make sure you grab the right nandroid folder
if you want ext backup, you will need a BART or SwitchROM backup with the EXT backup
B-man007 said:
Yes to the nandroid but your EXT will not be backed up. make sure you grab the right nandroid folder
if you want ext backup, you will need a BART or SwitchROM backup with the EXT backup
Click to expand...
Click to collapse
ok think i got it solved here... using logcat on a boot after partitioning the card i could see it was hitting a infinite loop and had todo with some prop's i had swapped out for Gnav.. but since that is official on 1.6+ now i was able to reflash cm and sofar so good, installed 10 apps with apps2sd live and notta prob
Thanx a ton
B-man007 said:
Yes to the nandroid but your EXT will not be backed up. make sure you grab the right nandroid folder
if you want ext backup, you will need a BART or SwitchROM backup with the EXT backup
Click to expand...
Click to collapse
ok think i got it solved here... using logcat on a boot after partitioning the card i could see it was hitting a infinite loop and had todo with some prop's i had swapped out for Gnav.. but since that is official on 1.6+ now i was able to reflash cm and sofar so good, installed 10 apps with apps2sd live and notta prob
Thanx a ton
haha ok well its good to know you got it working
yeah so far so good.. 1last q...i have read mixed angles on enabling swap on sd.. i saw some1 say if its there cm4.2.5 will use it.. but i have saw ppl say it needs to be enabled.
I have never saw my mem get lower than 20MB should i even bother with swap?
its not enabled by default, you have to do it yourself. You shouldnt really need it on a cyan ROM.

Major RA-dream Problem

Is it normal to NOT be able to wipe the Dalvik-cache and ext partition??
It always gives me an error saying it doesnt exist? I am able to install ROMs and themes however. Any ideas or recommendations on what to do?
Running: RA-dream-v1.2.3.
Do you have partations on your SD?
ilostchild said:
Do you have partations on your SD?
Click to expand...
Click to collapse
Do you mean the below?
Partition Fat32/Ext2 with App2SD
Open up Apps2SD
It will show you a screen telling you that your card is not partition and you will have a sliding bar to choose the amount of space you want for an EXT2 partition
I suggest a max of 600mb for EXT2 space (I use 500mb)
Press Ok
You will get a Force Close screen DONT PRESS FORCE CLOSE PRESS WAIT
You will get a reboot message, Press Reboot
You now have a EXT2 partition
------------------------------------------------------------------------------------------------------------------
Upgrading your EXT2 Partition to EXT3
Note: You do need the Cyanogen Recovery image for this to work!
Reboot into Recovery (Home + Power)
Go to console (Alt+x)
Press Enter
Type the following in the Console:
Code:
upgrade_fs
Wait for it to finish
Congrats! You now have a Fat32/EXT3 partitioned Sd Card!
Source: http://forum.xda-developers.com/showthread.php?t=535232
If you get a error about run via console or something you should remove sd blow the slot then place the card back in. Your sd might be the prob though so see if anything changes.
I see i noticed you have a older Ra which has bugs you should upgrade to theh newer version that have those things fixed.
@ Ace42
Quote: If you get a error about run via console or something you should remove sd blow the slot then place the card back in. Your sd might be the prob though so see if anything changes.
Yes it does say run via console, blew the slot several times and same thing, even blew on the SD card and nothing :-(
Perhaps it is time to change out this SD for a newer one, could be its going out on me?
Quote: I see i noticed you have a older Ra which has bugs you should upgrade to theh newer version that have those things fixed.
Upgrading to the latest and greatest RA is my next step, hoping this will fix my issue... thanks for all your suggestions so far.
@ilostchild: thanks for your input as well.
Okay so I installed the lastest RA Dream and am still getting the same error.
I am going to test out a new microSD and see what happens. I just have to make a temporary folder on my desktop copy, format the new SD to fat32 and copy the original files and folders I had back into the new one right?
Also, will me not having partitions be the whole reason behind it? Even the Dalvik-cache?
legend221 said:
Also, will me not having partitions be the whole reason behind it? Even the Dalvik-cache?
Click to expand...
Click to collapse
yes................ that would be a reason why you can't wipe your ext partition. you need to have an ext partition to wipe it.
grandomegabosses said:
yes................ that would be a reason why you can't wipe your ext partition. you need to have an ext partition to wipe it.
Click to expand...
Click to collapse
That makes perfect sense, thank you.
What about the Dalvik-cache?
legend221 said:
Is it normal to NOT be able to wipe the Dalvik-cache and ext partition??
It always gives me an error saying it doesnt exist? I am able to install ROMs and themes however. Any ideas or recommendations on what to do?
Running: RA-dream-v1.2.3.
Click to expand...
Click to collapse
ive got a solution update to 1.5.2
VoLoDaR1 said:
ive got a solution update to 1.5.2
Click to expand...
Click to collapse
Im good to go, got that installed since today 04:55 AM.
I think I found my solution the Sandisk 1GB was holding me back. Now I can even install the ROM Super D unlike before.
Many thanks to everyone for their contribution.

Apps Randomly Disappear! Help!

I'm running OpenEclair 1.2.2 on a standard UK G1. I have no swap partition, and no EXT3 on my card as I prefer the idea of keeping all my apps on my phone.
However, it would seem like I have a corrupt file system on my phone, as after a restart, apps will disappear, force close, or behave very strangely!
So my question is, how do I repair my phone filing system? Not my SD card, but the one in my phone where apps are stored?
Thanks
Rebooted again and now all my contacts are missing. Also tired running this command (don't know if it's correct)
e2fsck -fpDC0 /dev/block/mmcblk0p2
I get an error saying no such file or directory.
Funkstar De Luxe said:
Rebooted again and now all my contacts are missing. Also tired running this command (don't know if it's correct)
e2fsck -fpDC0 /dev/block/mmcblk0p2
I get an error saying no such file or directory.
Click to expand...
Click to collapse
Did you run this from recovery console? I don't think it will work from adb or terminal.
Yeah, I get the same error
Funkstar De Luxe said:
Yeah, I get the same error
Click to expand...
Click to collapse
Sorry, just reread your first post. That command is to repair your Ext2(3) partition. Since you don't have that, you would get that message. I understand why you would want to not use ext as your phone should load apps faster off the phone itself. The problem is, the rom itself needs more space than the standard rom that came with the phone. Your best bet is to wipe, partition, and reinstall OE. You could try a different rom to see how it performs without the ext for app to sd. In fact, if you find 1 that works well you should post your results to help others.

[Guide]How 2 Create EXT3 for the Salsa only! * Increased Internal Memory*

Ok seems many usrs here have the same problems over and over again. so heres a tut!
This will probably cover many other topics but simplified here as much as i can.
You Must have the following to get this to work:
ROOT
Recovery 5.0.2.6
busybox installed.
if you have non of these...do not attempt any of this thread till you have!
To start with.
Creation of EXT3 Partitions.
you will need Minitool Partition Wizard. Mini Tool Partition Wizard Download
This is a harddrive/diskspace program allowing accurate modification of disk space.
Never create an EXT3 in CWM, as this will create whats known as a swap drive.
this causes the bootloop. Hence the non boot!
EXT3 has to be set as primary drive not logical.
Size allowance recommendations (personal choice, but this is after a few findings and results given by Salsa users)
SD Card Size.................................EXT3 Size
2GB......(Class 2).............................250MB
4GB......(Class 2-4)..........................500MB
8GB......(Class4-6)...........................500MB-1GB
16GB....(Class8-10).........................1.2GB​
WARNING, anything over 1.5GB will result in serious problems and SD damage
This also works around class types of SD Card. the higher the class the faster it works, there are various brands offering different class cards, find a fast and big card for best performance. I currently use Class 8 16GB with 1GB Ext3 with little/no lag
Wise idea before this to make an SD backup, if done correctly your data will not be affected...if you screwed up...you'll loose everything...so back it up!
To start with,
Remove Sd Card and use and SD Reader and insert into your computer USB Slot.
Open Minitool Partition Wizard.
Resize your sd card accordingly leaving 1.2-1.5gb of unallocated space. Apply the actions.
Now you have the unallocated space, reformat the space in EXT3 and set as Primary drive. Apply Actions.
Now normally the Application throws your sd out and says bad drive......this is sometimes normal so don't panic.
Reinsert your Sd in Phone and boot into recovery only
Data2sd script
theres 2 scripts available for these roms.
htc-data2sd-ext3 or data2whatever by m1ndh8x4r.
2.1 Roms work well with htc-data2sd-ext3 script with no problems.
data2whatever works really well with 3.5 sense Roms (Bens/M1nds)
*****There is a warning with this data2whatever script....When using this script, you will notice after a short period, that you cannot update or install any more apks. This is due to a Dalvik error within the script on Deodexed roms, currently it cannot be fixed, you have been warned*****​
these can be used easily but the following rules must be applied.
You must flash the rom firstly by the 3 wipes...regardless!
flash the rom as normal and reboot full, letting the rom fully build it self and load up... ie input your details/sign in wifi etc.
check it out for a few mins while your waiting...hey even make a backup lol!
OK now reboot in recovery and flash the chosen script....DO NOT WIPE ANYTHING!
once flashed reboot normally.
it will boot, it may take up to 5-10mins but it will boot. if by any chance you a boot loop at the boot animation screen then you have an EXT3 fault and you must redo the EXT3 Partition in Minitool to proceed again.
data2sd scripts are here>
http://www.mediafire.com/download.php?duigp9ky9796b65 for htc-data2sd-ext3.zip
http://www.mediafire.com/download.php?m7bv6pk024p63ef for d2extv0.43.zip (New/Advanced)
http://www.mediafire.com/download.php?qr5rh2fho1hnbnl for data2whatever
This is a proven way and so many have tried and failed other ways.
Please try this guide. If you get stuck please just ask!
Please Answer my poll at the top and Thank this post...Ty!
If you Answer NO to this guide, please post below and tell me why so i may help further
Heyy it worked thanks man
BigBearEvo said:
Open Minitool Partition Wizard.
Resize your sd card accordingly leaving 1.2-1.5gb of unallocated space. Apply the actions.
Now you have the unallocated space, reformat the space in EXT3 and set as Primary drive.
Click to expand...
Click to collapse
Trying to do this with fdisk on linux
It works but runs slowly for some reason
I have a 2GB cards, first partition is about 1.4 for normal /sdcard the remaining .4GB for /data
Both partitions are start aligned on 2048 sectors
Issue - applications get corrupted after restart
I am facing strange issue. I did everything described above and have /data on sd. But everytime I reboot something happens to most apps. They are installed but when I try to launch any of them I got errors and application closes. I need to reinstall EVERY app and they work until next reboot. Any ideas about the cause or what to check ? At this point I am trying not to discharge or reboot my phone by it;s impossible to keep it that way.
procek said:
I am facing strange issue. I did everything described above and have /data on sd. But everytime I reboot something happens to most apps. They are installed but when I try to launch any of them I got errors and application closes. I need to reinstall EVERY app and they work until next reboot. Any ideas about the cause or what to check ? At this point I am trying not to discharge or reboot my phone by it;s impossible to keep it that way.
Click to expand...
Click to collapse
thats a rom issue.
What rom are you running?
Are you using a Data2sd script? if so which one?
Are you using links2sd?
BigBearEvo said:
thats a rom issue.
What rom are you running?
Are you using a Data2sd script? if so which one?
Are you using links2sd?
Click to expand...
Click to collapse
I am running standard HTC ROM 1.12.401.2 With Sense 2.1.
I used ext3 version of script.
No. Shall I ?
procek said:
I am running standard HTC ROM 1.12.401.2 With Sense 2.1.
I used ext3 version of script.
No. Shall I ?
Click to expand...
Click to collapse
no dont lol...ok sounds a bit stupid but have u got root? because what your describing is and apps2sd thing...which u cant get on stock rom....but if u dont have full root....then this sort of thing does happen....or...you got a faulty ext3 partition...
questions next...
which guide did u make ext3?
size and did u make swap?
root?
Need file name of the data2sd script u used and how u used it...(this is important)
so i need full break down....assuming u have root that is....this almost sounds like a silly problem, but then most of us don't use stock roms anymore....so we dont have this problem lol
BigBearEvo said:
no dont lol...ok sounds a bit stupid but have u got root? because what your describing is and apps2sd thing...which u cant get on stock rom....but if u dont have full root....then this sort of thing does happen....or...you got a faulty ext3 partition...
questions next...
which guide did u make ext3?
size and did u make swap?
root?
Need file name of the data2sd script u used and how u used it...(this is important)
so i need full break down....assuming u have root that is....this almost sounds like a silly problem, but then most of us don't use stock roms anymore....so we dont have this problem lol
Click to expand...
Click to collapse
Of course I have a root - it works perfectly. I created the partition according to above instructions (I mean this thread). My ext3 partition is about 800 MB and 3200 MB is for FAT32. I did not create swap - just fat32 and ext3 with Partition Wizard. I used htc-data2sd-ext3.zip in I think normal way - phone reset, installing busybox, reboot, installing script with recovery - done. Everything is perfect until next reboot.
procek said:
Of course I have a root - it works perfectly. I created the partition according to above instructions (I mean this thread). My ext3 partition is about 800 MB and 3200 MB is for FAT32. I did not create swap - just fat32 and ext3 with Partition Wizard. I used htc-data2sd-ext3.zip in I think normal way - phone reset, installing busybox, reboot, installing script with recovery - done. Everything is perfect until next reboot.
Click to expand...
Click to collapse
sounds like a problem with your rom my friend....hard to tell without seeing it really...
have you thought about changing the rom itself?
BigBearEvo said:
sounds like a problem with your rom my friend....hard to tell without seeing it really...
have you thought about changing the rom itself?
Click to expand...
Click to collapse
To this moment no. But if there's no other option I will probably have to...
procek said:
To this moment no. But if there's no other option I will probably have to...
Click to expand...
Click to collapse
either that or find your ruu and reinstall stock again!
Funny thing
I used my previous card (smaller - just 2 GB) and there's no such behaviour as with my 4GB. Smaller one is Sandisk, bigger one is Kingstone - both known for good products. So switching ROM is rather not an option. There's something about SD but I can not figure out what...
Pls help
I have created 6gb of fat32 and copied ROM and data2sd-ext3.zip then formatted remaining 1gb space in ext3. When I tried to install zip from recovery mode it throws "E: can't mount /sdcard/"
pls help
Thx
yuva0103 said:
I have created 6gb of fat32 and copied ROM and data2sd-ext3.zip then formatted remaining 1gb space in ext3. When I tried to install zip from recovery mode it throws "E: can't mount /sdcard/"
pls help
Thx
Click to expand...
Click to collapse
how did you make the partitions? and are they set as primary?
what class sd card is it? you need a class 8 or 10 on that size.
I used mini tool for partition. I set fat32 as logical and ext3 as primary. I have 8gb class 10 SD.
Sent from my HTC Salsa C510e using XDA
Shrink the ext3 to 750mb and set all partitions as primary.
BigBear is using Xparent Tapatalk Purple
Yep now I can see my data in SD card. Another problem I triple wiped and flash arc rom again, and given detail/sign in. When trying to flash script in recovery mode, it asks for busybox in some sys folder. I don't have busybox and also script installed, but ext3 memory not reflects in as main memory. Am I used different script or I need to install busybox, if so how to do that.?
I installed busybox @ system/xbin and flashed script, it worked. Finally my internal memory problem solved:thumbup:
I request to add installing busybox step and download link for script in tutorial.
Thx bb
Sent from my HTC Salsa C510e using XDA
I used data2sd without without any problem for past two days, suddenly today some apps force closing. Instagram app show error msg like"unfortunately this device's filesystem is reporting a problem." and pointing to this url "bit.ly/igfilesystem".
pls help.
I'm using arc V2 ROM, class 10 8gb sd, with 750mb of ext3.
yuva0103 said:
I used data2sd without without any problem for past two days, suddenly today some apps force closing. Instagram app show error msg like"unfortunately this device's filesystem is reporting a problem." and pointing to this url "bit.ly/igfilesystem".
pls help.
I'm using arc V2 ROM, class 10 8gb sd, with 750mb of ext3.
Click to expand...
Click to collapse
contact instagram with a logcat or report for them to check

[Q]Supersu issue, re-rooting and other questions

Hey, I got a Virgin Mobile HTC Desire 510. Y'know, the blue one....
I fudged up severely the other evening and installed another rom which bricked my phone. I did manage however restore a stock back-up I managed to find online, however the phone was still rooted, tampered and TWMP(did I get the abbreviation correct?) is still on it. So I go and install Supersu and Busybox in an attempt to go back to where I left off as I've been attempting to get the phone to do the internal to SD card bit but no success thus far, especially not right now. In anycase, after reinstalling Supersu, I load it up and get the message of "There is no SU binary installed and SuperSU cannot install it. This is a problem! If you just upraded to Android 4.3, you need to manually re-root. consult the relevant forums for your device.". I attempted to reinstall threw recovery and it seems to be working till I get the actual phone's Google ROM running and click on the SuperSU program only to get that message.
Any suggestions or advice on how to do this and get SuperSU back up? How do I exactly re-root or can I somehow install the binary via PC or flash?
Can the HTC Desire 510(Virgin Mobile version) even have the the script/rom/trick setting to have the SD Card used as Internal memory or is this quest just wasted time?
Thanks
EDIT- Device version is 0PCV1
Okkvltist said:
Hey, I got a Virgin Mobile HTC Desire 510. Y'know, the blue one....
I fudged up severely the other evening and installed another rom which bricked my phone. I did manage however restore a stock back-up I managed to find online, however the phone was still rooted, tampered and TWMP(did I get the abbreviation correct?) is still on it. So I go and install Supersu and Busybox in an attempt to go back to where I left off as I've been attempting to get the phone to do the internal to SD card bit but no success thus far, especially not right now. In anycase, after reinstalling Supersu, I load it up and get the message of "There is no SU binary installed and SuperSU cannot install it. This is a problem! If you just upraded to Android 4.3, you need to manually re-root. consult the relevant forums for your device.". I attempted to reinstall threw recovery and it seems to be working till I get the actual phone's Google ROM running and click on the SuperSU program only to get that message.
Any suggestions or advice on how to do this and get SuperSU back up? How do I exactly re-root or can I somehow install the binary via PC or flash?
Can the HTC Desire 510(Virgin Mobile version) even have the the script/rom/trick setting to have the SD Card used as Internal memory or is this quest just wasted time?
Thanks
EDIT- Device version is 0PCV1
Click to expand...
Click to collapse
Hello and welcome to xda,
Where exactly did you get the back-up from that you used to restore?
You were close it is TWRP or Team Win Recovery Project.
I believe the reason you can't install SuperSU is because you don't have a write protect removed kernel installed. You can find one here. Check out their related forums and see which one you like best. They are pretty much all great. Some aren't being supported anymore as a heads up. To flash a kernel, in case you didn't know how:
Go into Settings-About-Software information-More-Kernel version and write down the name of the Kernel
1. Power the phone down
2. Hold "Down" button then hold "Power" key while still holding "Down" button, until you get into the bootloader
3. Release "Down" and "Power" button
4. Tap "Power" key once and it will change from "HBOOT" in white letters with blue background to "FASTBOOT" in white letters with red background on your phone
5. Connect your USB cable and it will say "FASTBOOT USB" on your phone
6. Navigate to the folder you have your fastboot.exe from Android Studio or wherever you obtained it from (Mine is in C:\Users\myusername\Android\sdk\platform-tools)
7. Hold the "Shift" key then right click in any empty space in that folder
8. Select "Open command window here"
9. Type
Code:
fastboot devices
in the command window, then press Enter just to make sure it is picking up your phone
10. You should see something like:
Code:
HT42PXU89475 fastboot
if you don't make sure your USB cable is inserted all the way and you are in "FASTBOOT USB"
11. Make sure your recovery.img or whatever the name of the recovery is, is in the folder you are currently in
11. Type
Code:
fastboot flash boot boot.img
in the command window
You should see something like:
Code:
C:\Users\yourusername\Android\sdk\platform-tools>fastboot flash boot boot.img
sending 'boot' (12932 KB)...
OKAY [ 1.350s]
writing 'boot'...
OKAY [ 1.030s]
finished. total time: 2.385s
Your phone will still be in FASTBOOT USB mode
To test it out to see it was correctly flashed, reboot the phone
Go into Settings-About-Software information-More-Kernel version and see that the version changed
You can follow my little guide to use SD as Internal memory. Let me know if you need any help.
I won't be able to get to this til tomorrow but another issue is I can't d/l apps off Google play. It comes up with some server issue and some weird code that starts with an R. Sorry I can't give full details as I'm at work :/.
Okkvltist said:
I won't be able to get to this til tomorrow but another issue is I can't d/l apps off Google play. It comes up with some server issue and some weird code that starts with an R. Sorry I can't give full details as I'm at work :/.
Click to expand...
Click to collapse
Is your phone completely stock or do you have any custom ROMs? I have seen errors like that.
blaqueknight said:
Is your phone completely stock or do you have any custom ROMs? I have seen errors like that.
Click to expand...
Click to collapse
I'm fairly certain I reinstalled Busybox when I was installing(or trying to) Supersu. I'm giving the kernel bit a shot.
Oh the stock back-up is this(No, I didn't back up my phone since I didn't see a reason, I had everything I needed on the computer/sd) file:
http//qc-.androidfilehost-com/dl/PObYV5uN55P2PGDNrX1pLQ/1430391523/95832962473396445/2014-12-02--16-24-34+KOT49H+Stock.not.rooted.rar
(can't post links since i'm a newb)
Had to make a backup of my empty phone and put the files into the empty back up to restore it.
UPDATE- Flashed over Modded Kernel V2.6.1 since that looked like a safe bet. Installed correctly. Tried to reinstall Supersu. Got "Android is upgrading". Supersu Installed. Next is the SD Card bit.
Okkvltist said:
I'm fairly certain I reinstalled Busybox when I was installing(or trying to) Supersu. I'm giving the kernel bit a shot.
Oh the stock back-up is this(No, I didn't back up my phone since I didn't see a reason, I had everything I needed on the computer/sd) file:
http//qc-.androidfilehost-com/dl/PObYV5uN55P2PGDNrX1pLQ/1430391523/95832962473396445/2014-12-02--16-24-34+KOT49H+Stock.not.rooted.rar
(can't post links since i'm a newb)
Had to make a backup of my empty phone and put the files into the empty back up to restore it.
Click to expand...
Click to collapse
I'm sorry, please disregard that last comment. I was posting like your only problem was the Play Store. lol Sorry. But yea, check out those things I mentioned to you and you should be able to get SuperSU back up, if not I'll help you with anything else.
Okkvltist said:
I'm fairly certain I reinstalled Busybox when I was installing(or trying to) Supersu. I'm giving the kernel bit a shot.
Oh the stock back-up is this(No, I didn't back up my phone since I didn't see a reason, I had everything I needed on the computer/sd) file:
http//qc-.androidfilehost-com/dl/PObYV5uN55P2PGDNrX1pLQ/1430391523/95832962473396445/2014-12-02--16-24-34+KOT49H+Stock.not.rooted.rar
(can't post links since i'm a newb)
Had to make a backup of my empty phone and put the files into the empty back up to restore it.
UPDATE- Flashed over Modded Kernel V2.6.1 since that looked like a safe bet. Installed correctly. Tried to reinstall Supersu. Got "Android is upgrading". Supersu Installed. Next is the SD Card bit.
Click to expand...
Click to collapse
UPDATE 2- When partioning the sd card, it continues to come up as ext2. When I go into Link2SD and I go to select I get the message on whatever I select- "Mount script cannot be created. mount: invalid argument"
Okkvltist said:
UPDATE 2- When partioning the sd card, it continues to come up as ext2. When I go into Link2SD and I go to select I get the message on whatever I select- "Mount script cannot be created. mount: invalid argument"
Click to expand...
Click to collapse
Are you using Aparted? What was the method you used to partition? You should partition as ext4.
Yeah, I downloaded Aparted, went in to partition the SD card("8" gigs) and selected ext4 but it comes out ext2. Do I need S-OFF and/or 4EXT Recovery?
Okkvltist said:
Yeah, I downloaded Aparted, went in to partition the SD card("8" gigs) and selected ext4 but it comes out ext2. Do I need S-OFF and/or 4EXT Recovery?
Click to expand...
Click to collapse
Did you select Create then Format? If it still comes out ext2 after that, I don't know what the problem is. Format will take a while because it is creating journals.
blaqueknight said:
Did you select Create then Format? If it still comes out ext2 after that, I don't know what the problem is. Format will take a while because it is creating journals.
Click to expand...
Click to collapse
It's saying the partition doesn't exist when I go to format after creating the partition. Even when creating the proper ext from the create screen, it still doesn't come up as ext4.
other info
device- /dev/block/mmcblk1.
when I opened up link2sd its asking me for mmcblk1p2 but there is no mmcblk1p2
Okkvltist said:
It's saying the partition doesn't exist when I go to format after creating the partition. Even when creating the proper ext from the create screen, it still doesn't come up as ext4.
other info
device- /dev/block/mmcblk1.
when I opened up link2sd its asking me for mmcblk1p2 but there is no mmcblk1p2
Click to expand...
Click to collapse
Are you trying to partition the whole SDcard as ext4? To properly partition the card to be used with Link2SD you have to:
1. Delete the sdcard
2. Create a FAT32 partition of any size of your choosing
3. Format the FAT32 partition
4. Create an ext4 partition of any size of your choosing
5. Format the ext4 partition (this will take a long time, as it will create journals that are used to recover from an error such as removing the device while files are being copied)
After following those steps, Link2SD should properly create the script/mount and you should be able to link to your sdcard
If you are doing those steps perfectly and you still have an error, we have to find out another solution
Ok, I still can't get it to make Ext4......
However, weirdness- I made a Fat32 Partition and went into Link2SD. Link2SD was able to use/read the Fat32 partition. Tried to create/change the Fat32 and it didn't work. Tried to make a third partition under ext4 and it comes up ext2. Openned Link2SD and it doesn't read/use the ext2. Uses the additional Fat32 no sweat. I don't know how much of it is working(tried downloading Brave Frontier and had to delete loads of stuff in general) usual memory bull**** ensures and I see theres a lock for the full copy of Link2SD....
another thing; I can't get into/mount the open part of my SD card. Should I go back to square one or should I blow the meager 3 bucks for the full copy and see if I can do it from there?
PS- Does the class of the sd decide on if I can partition an ext3-4? Cause if so, mine is only a class 4 SD card.
Okkvltist said:
Ok, I still can't get it to make Ext4......
However, weirdness- I made a Fat32 Partition and went into Link2SD. Link2SD was able to use/read the Fat32 partition. Tried to create/change the Fat32 and it didn't work. Tried to make a third partition under ext4 and it comes up ext2. Openned Link2SD and it doesn't read/use the ext2. Uses the additional Fat32 no sweat. I don't know how much of it is working(tried downloading Brave Frontier and had to delete loads of stuff in general) usual memory bull**** ensures and I see theres a lock for the full copy of Link2SD....
another thing; I can't get into/mount the open part of my SD card. Should I go back to square one or should I blow the meager 3 bucks for the full copy and see if I can do it from there?
PS- Does the class of the sd decide on if I can partition an ext3-4? Cause if so, mine is only a class 4 SD card.
Click to expand...
Click to collapse
I just made a couple of very simple tutorials to use Aparted and Link2SD and they are both working for me. Check them out: Aparted tutorial, Link2SD tutorial. I believe the ext2 that you are talking about is around the 10 second mark in the Link2SD video. Do you mean the /data/sdext2? That is just the name of the second sdcard partition.
If you can, you should buy the full copy of Link2SD to link external data and whatever other options become available.
The class of sdcard shouldn't have anything to do with the partition. That's just a classification of the speed of the card.
If needed, I'll make more videos to show exactly how everything is done. I think sometimes it is better to show than simply explain how something is done.
Hope this helps.
Wow.......I mean seriously, holy zen, it worked.
I had to start over from scratch since my f'ling screwed so much crap up but after everything was reinstalled and flashed and what not, It made the ext4. I don't know why the programming is so touchy you have to create it threw such weird steps but I believe it worked. Upgraded the link2sd. Next question and I'm pretty sure on the answer- Are you able to remove the SD card or is it perma-bound to the phone(IE- if I change SD cards around, will everything crash?)? Thank you so much
Okkvltist said:
Wow.......I mean seriously, holy zen, it worked.
I had to start over from scratch since my f'ling screwed so much crap up but after everything was reinstalled and flashed and what not, It made the ext4. I don't know why the programming is so touchy you have to create it threw such weird steps but I believe it worked. Upgraded the link2sd. Next question and I'm pretty sure on the answer- Are you able to remove the SD card or is it perma-bound to the phone(IE- if I change SD cards around, will everything crash?)? Thank you so much
Click to expand...
Click to collapse
I'm happy it worked out good for you.
Yes, you are able to remove your sdcard. Be aware that your apps are on your sdcard so if you remove it, you remove them. They are placed on your sdcard and symlinked so Android thinks they are still on your phone in the place they would normally be. Nothing should crash, they just shouldn't show up. There is some great info about Link2SD here.
@blaqueknight..
nice videos man.

Categories

Resources