[Q] ThunderZap kernel sd-card - Sony Xperia L

I've got a question to devs here. Can someone edit TZ4.1 kernel, to mount external sd-card (i've got 32gig class 10/uhs-1) as internal? I've tried to edit init.sony.rc, but that edited kernel by me didn't work. I see no point in using that internal memory. If someone could help me with that, PM me (I just want this for my personal usage, and won't republish this anywhere).
Please help me, only this one thing is stopping me from using KK on my phone. I've tried a lot of tutorials, kitchens, scripts on Win/Linux machine, it never worked. Sometimes I could see TZ logo and boot into TWRP, but couldn't boot into system, or it just rebooted itself after 5secs of black screen.

aerzjee said:
I've got a question to devs here. Can someone edit TZ4.1 kernel, to mount external sd-card (i've got 32gig class 10/uhs-1) as internal? I've tried to edit init.sony.rc, but that edited kernel by me didn't work. I see no point in using that internal memory. If someone could help me with that, PM me (I just want this for my personal usage, and won't republish this anywhere).
Please help me, only this one thing is stopping me from using KK on my phone. I've tried a lot of tutorials, kitchens, scripts on Win/Linux machine, it never worked. Sometimes I could see TZ logo and boot into TWRP, but couldn't boot into system, or it just rebooted itself after 5secs of black screen.
Click to expand...
Click to collapse
I'm not a developer but external memory as internal is set by default in Matrix ROM which is in Android development section. So you can try it. Or look inside it and find changes that you need.

Kosa02 said:
I'm not a developer but external memory as internal is set by default in Matrix ROM which is in Android development section. So you can try it. Or look inside it and find changes that you need.
Click to expand...
Click to collapse
It has changes in vold.fstab which is deprecated in android 4.3+ so it won't work on KitKat

@varun.chitre15 Could You help me with it?

Using external as internal is risky. Could damage your card so very badly.

I will make you ramdisk when I get home (6-8 hours),but you will need to pack it yourself, because I don't want to reshare varun's work.
P.s.- I can tell you what you need to change just send me PM.
Sent from my C2105

srcharged said:
Using external as internal is risky. Could damage your card so very badly.
Click to expand...
Click to collapse
I know, but I'm a bit tired of FolderMount, because SwiftKey is showing me an error every boot, and I need to download dictionaries again, and when I've got no Internet coverage except 2G, then it's painful to do. And I bet it's faster than internal storage (I may be wrong)
Sent from my C2105 using XDA Premium 4 mobile app

srcharged said:
Using external as internal is risky. Could damage your card so very badly.
Click to expand...
Click to collapse
Oh, forget do say, I were using that solution in vold.fstab on 4.2.2, and worked like a charm. (even since when I had galaxy s advance, and SE Arc S) It's still the same MicroSD card
Sent from my C2105 using XDA Premium 4 mobile app

Related

[Q] [Help a new owner!] Incoming massive request for help.

First off let me thank everyone who is going to help me through my issue.
Everything started yesterday when I got a16 gigabytes new SD Micro card. I originally got the card so I can move my applications from the internal 16 gigabytes storage to that SD Micro card . After searching through the web I have realized that I cannot move my applications to the external memory until I root my device and so I did it using a guide from this website. after rooting my device I downloaded every application in play store that is used to move applications from the internal memory to the external one.And for some reason all of them failed'Someof them said that there is no enough memory. and some others said I have no External memory inserted "already checked in settings and it says external memory 14.98 Gb free. After that i read another guide which Said I should get Rom manager to partition my memory card.and I did download the Rom manager . I tried to partition but it said I don't have CWM , and it asked ifit should install it so I accepted. mydevice wasn't listed. I chose a random one and now I'm afraid I have broken my 3 days old note 10.1 . Could anyone help me please with
1. The Sd micro card issue(apps From internal memory't external memory.)
2. The random CWM device that I have downloaded and maybe installed.
3. Partitioning my card (if that's going to help.)
4. I'm new to android and have no idea what rooting is "although I did it anyways" and how I Can use rooting
Rooted note 10.1
Thank you again <3
Edit 1- 8 views no help? Id really appreciate it if anyone could help me.
I think some sort of reply will help you get started...
Note 10.1 only supports FAT 32. not NTFS. So you have to format your SDcard properly to begin with. I believe its true, you need to root your device to get AppOnSD support.
NEVER flash anything that is not intended SPECIFIC for your device. Always do a backup so you can restore it from an image if you happen to soft brick it.
Rooting pretty much allows you to get "super user" functionality. Most notably the ability to access system files.
insanehadi said:
First off let me thank everyone who is going to help me through my issue.
Everything started yesterday when I got a16 gigabytes new SD Micro card. I originally got the card so I can move my applications from the internal 16 gigabytes storage to that SD Micro card . After searching through the web I have realized that I cannot move my applications to the external memory until I root my device and so I did it using a guide from this website. after rooting my device I downloaded every application in play store that is used to move applications from the internal memory to the external one.And for some reason all of them failed'Someof them said that there is no enough memory. and some others said I have no External memory inserted "already checked in settings and it says external memory 14.98 Gb free. After that i read another guide which Said I should get Rom manager to partition my memory card.and I did download the Rom manager . I tried to partition but it said I don't have CWM , and it asked ifit should install it so I accepted. mydevice wasn't listed. I chose a random one and now I'm afraid I have broken my 3 days old note 10.1 . Could anyone help me please with
Click to expand...
Click to collapse
I'll try to help with fixing your Note.
Can you get into download mode? Start with power off and press volume down and power at the same time.
If so download Check Fus (GGI version) from fus.nanzen.se and make you have Odin and the Samsung drivers as described in the how to root thread.
Check the back of your Note for version number; N8000, N8010 or N8013. Use Check Fus to download the correct rom for your country. If not the nearest one.
Follow the how to root guide (sticky in development) that explains how to install the rom. This should put you back where you started. Now, read a lot. Don't use Rom Manager.
http://rootgalaxynote.com/galaxy-note-10-1-root/how-to-root-galaxy-note-10-1/ How to root instructions. Your replacing the rom from the instructions with the one you downloaded from Check Fus.
Hawkish.KMZ said:
I think some sort of reply will help you get started...
Note 10.1 only supports FAT 32. not NTFS. So you have to format your SDcard properly to begin with. I believe its true, you need to root your device to get AppOnSD support.
NEVER flash anything that is not intended SPECIFIC for your device. Always do a backup so you can restore it from an image if you happen to soft brick it.
Rooting pretty much allows you to get "super user" functionality. Most notably the ability to access system files.
Click to expand...
Click to collapse
Okay so you want me to reformat my sd card to fat32 . And I am already rooted using a guide here and I use the European version and then after downloading the rom manager I think I downloaded & Installed a wrong version of CWM.any ideas?
And pjfriend I tried so hard to understand but I'm really sorry im really new to this and I don't get what youre saying. Can u explain more !?
Is your Note working at all? Will it power on?
Sent from my GT-N8010 using xda premium
pjfriend said:
Is your Note working at all? Will it power on?
Sent from my GT-N8010 using xda premium
Click to expand...
Click to collapse
Yes bro, I'm using it now.
So, when you say you've broken your Note, what's broken?
Sent from my GT-N8010 using xda premium
pjfriend said:
So, when you say you've broken your Note, what's broken?
Sent from my GT-N8010 using xda premium
Click to expand...
Click to collapse
I said I think I broke my note because I downloaded and installed a random cmw from Rom manager when I tried partition my sd card .
And I have a problem moving apps to the sd card. In app2sd it says it's emulated andin droids it says memory is full.
Then I'll back out. I've no experience of apps2sd on the Note. Have had no cause to use it. I strongly suggest you read a lot more before you attempt anything else involving door, partitions or CWM.
Sent from my GT-N8010 using xda premium

[Q] Root/SD card question

Ok, so I've rooted my Wildfire S, flashed CM7 on it, with the updated gapps files (gapps gb)
My question is this...Do I need to keep all those files on my SD card? Or can I remove them?
Also, having an "H" icon for my data is better than 3G, correct? everything I've read says that, but I'd like to know from a DAMN good source (you guys)
xxjdm said:
Ok, so I've rooted my Wildfire S, flashed CM7 on it, with the updated gapps files (gapps gb)
My question is this...Do I need to keep all those files on my SD card? Or can I remove them?
Click to expand...
Click to collapse
If you've installed all packages you shouldn't need to keep those on the sd card, but best to keep them on your computer in case you need them in the future.
xxjdm said:
Also, having an "H" icon for my data is better than 3G, correct? everything I've read says that, but I'd like to know from a DAMN good source (you guys)
Click to expand...
Click to collapse
Yeah the 'H' is for highspeed access, you'll get that in areas where you have best reception.
Thank you very much. Yeah I still have them on my computer, along with my backup.
I also have one more question, how do I make a partition on my SD card? And should I get a bigger one? I currently have a 2gb
Sent from my Wildfire S A510e using xda app-developers app
Not exactly sure of the context. Why do you want to create partitions?
If you are wanting to create an .ext3/.ext4 partition on which to install apps (I know people did this with the HTC Desire, because of the really low amount of onboard storage), the best tool for the job is a Linux based partition editor called GParted. Just download the live CD iso, burn it to a CD and boot from that.
You should get a new SD card yes.
A 32gb card will run you ~$20 brand new on ebay, just make sure your phone supports that capacity
Link2sd says to make sure you have a partition created on the SD card for whatever reason...I uninstalled it, and forgot what it said, but yeah....same reason. 512mb onboard storage = pure sh*t.
Edit: it says to do that for "symbolic link" whatever that means.
Sent from my Wildfire S A510e using xda app-developers app
Sure, well most apps like that will want an ext4 partition, which like I said can be created using GParted. Plenty of tutorials on youtube I'm sure for using GParted
Ok, thanks for all your help! It's greatly appreciated!
Sent from my Wildfire S A510e using xda app-developers app

[Q] Someone, Anyone...please, help!

I apologize in advance if this is in the wrong section, feel free to move it if so. I have a Samsung Galaxy Prevail 2 that I would like to swap memory with (internal to external) so that there is more room on my phone for apps. I have tried a few programs from the play store, and so far I'm having no success. My phone is rooted, and has SU access. It's running android 4.1.2 (ICS?) and the model number is SPH-M840. ANY help on this matter would be GREATLY appreciated.This has been driving me crazy, and there has to be a way to do this with my phone...right? Thank you!
Use Link2SD
It works fine on all devices.
forum.xda-developers.com/showthread.php?t=2412319
Someone, Anyone...please, help!
Hi,
use this thread...
http://forum.xda-developers.com/showthread.php?t=1853669
this thread is not for your phone model but procedure is same....
you do not need to use their kernal which is given in thread... just install init.d support use this thread
http://forum.xda-developers.com/showthread.php?t=1933849
or for init.d support for your stock rom, run attached .zip file from recovery...
u can also get some addition info on
http://www.technodify.com/how-to-increase-internal-memory-and-ram/
naman4797 said:
Use Link2SD
It works fine on all devices.
forum.xda-developers.com/showthread.php?t=2412319
Click to expand...
Click to collapse
Like2SD was the first program I tried. When I go to move an app to the SD card, it tells me:
"app2sd is not supported by your device. Because your device has a primary external storage which is emulated from the internal storage."
I can link the files if I want, but doing that doesn't do much on saving space. Thanks!
rkk253755 said:
Hi,
use this thread...
http://forum.xda-developers.com/showthread.php?t=1853669
this thread is not for your phone model but procedure is same....
you do not need to use their kernal which is given in thread... just install init.d support use this thread
http://forum.xda-developers.com/showthread.php?t=1933849
or for init.d support for your stock rom, run attached .zip file from recovery...
u can also get some addition info on
http://www.technodify.com/how-to-increase-internal-memory-and-ram/
Click to expand...
Click to collapse
Thank you, I will give this a shot and let you know if it worked or not!
rkk253755 said:
Hi,
use this thread...
http://forum.xda-developers.com/showthread.php?t=1853669
this thread is not for your phone model but procedure is same....
you do not need to use their kernal which is given in thread... just install init.d support use this thread
http://forum.xda-developers.com/showthread.php?t=1933849
or for init.d support for your stock rom, run attached .zip file from recovery...
u can also get some addition info on
http://www.technodify.com/how-to-increase-internal-memory-and-ram/
Click to expand...
Click to collapse
Sorry, it did not work. I followed the instructions carefully, and I keep getting the same error that I cannot move apps to the sd card because my device doesn't support apps2sd because my external storage is emulated from internal storage. Thanks anyway, though
Someone, Anyone...please, help!
StraTTtheRippeR said:
Sorry, it did not work. I followed the instructions carefully, and I keep getting the same error that I cannot move apps to the sd card because my device doesn't support apps2sd because my external storage is emulated from internal storage. Thanks anyway, though
Click to expand...
Click to collapse
Hi,
just give one more shot...
repartition your sd card....
first check your kernal support swapping or not with swapper script....
if doesn't support, search for a kernal for your device which support swapping & follow the procedure... it must work...
-rkk
Assuming you have root, search the store for "FolderMount [ROOT]".
rkk253755 said:
Hi,
just give one more shot...
repartition your sd card....
first check your kernal support swapping or not with swapper script....
if doesn't support, search for a kernal for your device which support swapping & follow the procedure... it must work...
-rkk
Click to expand...
Click to collapse
Don't worry, I'm not giving up so easily...there HAS to be a way to do this with my phone. Maybe I should try using a different partition, like ext4 or ext3? I know ext2 is the one that is said to work the most, but it's obviously not working. Do you the partitions have to be set as "active" for this to work? Where can I find the kernal script? Thanks for the help!
StraTTtheRippeR said:
Don't worry, I'm not giving up so easily...there HAS to be a way to do this with my phone. Maybe I should try using a different partition, like ext4 or ext3? I know ext2 is the one that is said to work the most, but it's obviously not working. Do you the partitions have to be set as "active" for this to work? Where can I find the kernal script? Thanks for the help!
Click to expand...
Click to collapse
http://androidforums.com/rush-all-things-root/739747-mod-app-swap-external-sd-internal-mempry.html have you tried this technique while I look it over?
Sent from my Nexus 7 using Tapatalk
InkSlinger420 said:
http://androidforums.com/rush-all-things-root/739747-mod-app-swap-external-sd-internal-mempry.html have you tried this technique while I look it over?
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Actually, that was the very first one I tried. I followed the instructions exactly and still no luck. That program doesn't really give clear directions on how you're supposed to use it. I tried a few other methods from this message board and still nothing...
rkk253755 said:
Hi,
just give one more shot...
repartition your sd card....
first check your kernal support swapping or not with swapper script....
if doesn't support, search for a kernal for your device which support swapping & follow the procedure... it must work...
-rkk
Click to expand...
Click to collapse
Where can I find the swapper script to see if my kernel has swap support?
InkSlinger420 said:
http://androidforums.com/rush-all-things-root/739747-mod-app-swap-external-sd-internal-mempry.html have you tried this technique while I look it over?
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
What's strange about using that method, is when I swap, my memory card changes to 1.96 GB (which is what the internal normally is) but the internal stays at 1.96 GB. So than I have both of my memory, internal and external at 1.96 GB and I have to to uninstall the program and reset my phone for the external to go back to 7.96 GB which is the size of the card I have. It's a scandisk card...do you think that makes a difference?
StraTTtheRippeR said:
What's strange about using that method, is when I swap, my memory card changes to 1.96 GB (which is what the internal normally is) but the internal stays at 1.96 GB. So than I have both of my memory, internal and external at 1.96 GB and I have to to uninstall the program and reset my phone for the external to go back to 7.96 GB which is the size of the card I have. It's a scandisk card...do you think that makes a difference?
Click to expand...
Click to collapse
Then it is detecting the wrong partition..
Sent from my Nexus 7 using Tapatalk
InkSlinger420 said:
Then it is detecting the wrong partition..
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
That's what I thought. Any luck with that file I gave you?
I enjoy the same hell also need help.
Link2sd does almost nothing
About ready to return this thing.
Ps app2sd does work for applications over 1gb according to Samsung
Also wil never buy another Samsung phobe since both yhis and the intercept both lscked app2sd
Sent from my SPH-M840 using xda app-developers app

[Q] Help me revive LG Optimus L9 P760

Hello guys.
I just bought a brand new LG P760 (aka Optimus L90 , firmware 4.1.2. I have rooted it with Cydia Impactor. So far so good. I wanted to make my device install as default on SD card, so I started playing with Aparted from Google Play Store. I dont know exactly what I did, but i can tell you that I have attached 2 pics with the menu that I have interacted with. I made 2 partitions, PART: 1 has size of 1500 MB, PART: 2 has size of ~12000MB. I used ADB to make SDCard default storage device (db shell pm setInstallLocation 2) the restarted. After it has restarted, I tried to install something big from the Store, but it said that I had insuficient space. I tried to reverse PART1 with PART2, replace sizes I mean, but when I tried to delete PART2 it said that it is in use and I could not. After that, I started playing with the /dev/block/mmcblk0 and mmcblk1m, without knowing what they do. I tried to restart the device and... poof. It didn't. It is dead now. I tried all combinations of keys. The device is detected in windows as OMAP4430. I tried fastboot, it said ok but...it did not start. It doesn't start anymore. I have attached 2 pics with the program...
PLEASE HELP ME.
Just to clear up everything, is it your SD card that has been partitioned? And can you get to recovery at all?
Sent from my MB886 using xda app-developers app
Gizzy666 said:
Just to clear up everything, is it your SD card that has been partitioned? And can you get to recovery at all?
Sent from my MB886 using xda app-developers app
Click to expand...
Click to collapse
Yes, it was my SD card that has been partitioned. I wanted to be able to install directly to it. It didn't work too well so I started messing up with those setting Aparted soft has... If it matters, it is a GoodRam 16GB Class 10.
That's a pretty good SD card xD have you tried placing you card into a pc!/ laptop card reader and formating completely, removing the partitions, formating again then re doing the partitions an installing on to SD.... May I also ask why you decided to do this?
Sent from my MB886 using xda app-developers app
Gizzy666 said:
That's a pretty good SD card xD have you tried placing you card into a pc!/ laptop card reader and formating completely, removing the partitions, formating again then re doing the partitions an installing on to SD.... May I also ask why you decided to do this?
Sent from my MB886 using xda app-developers app
Click to expand...
Click to collapse
Well...i tried, but had no luck. The reason ) is that wanted to install apps directly on SD card from the store, but in order to do so, i needed two partitions on the SD card, one smaller and one larger, the probles was that I made the smaller one bigger, and the bigger one smaller and needed to swap them, but one of them was is use, by the OS i presume, but i had flyies into my had and did ugly stuf...
Ahh right! Now that sucks, sorry I honestly wouldn't know what to suggest to you, maybe someone else could help ?
Sent from my MB886 using xda app-developers app

Problems after Rebooting

After doing a hard reboot, there is a 50% chance the phone will soft reboot again within 5 minutes if I don't clear the cache/dalvik. After doing a soft reboot, my SD card is not recognized and then I have to hard reboot... You see my problem. Do you have any suggestions on what to do so I don't have to clear my cache/dalvik every time I need to reboot? Thanks!
I am running CM 13 Nightlies
Try to reboot your Phone without your SD Card. Maybe your SD is faulty. If your Phone is working ok without SD, then Backup your Data on your SD in PC, format it to FAT32 and try again to reboot with SD Card.
Sorry I forgot to mention Im using my SD card as adoptable storage. Am I able to still format is as FAT32 and also use it as adoptable?
Sent from my MotoG3 using XDA-Developers mobile app
thekuom said:
Sorry I forgot to mention Im using my SD card as adoptable storage. Am I able to still format is as FAT32 and also use it as adoptable?
Sent from my MotoG3 using XDA-Developers mobile app
Click to expand...
Click to collapse
You can still try rebooting your phone without the SD card to test it. Some of the apps may not appear but that's about it. Be sure and turn your phone off before removing or inserting the SD card. I would suggest using the phone to change the card back to a removable media card before putting it in the PC to format.
Just a few questions before I do anything. Will reformating my SD card wipe all its data? Can a FAT32 formatted SD card be used as adoptable storage? Will a FAT32 formatted card be able to have a swapfile on it? I use a ram expander
Sent from my MotoG3 using XDA-Developers mobile app
thekuom said:
Just a few questions before I do anything. Will reformating my SD card wipe all its data? Can a FAT32 formatted SD card be used as adoptable storage? Will a FAT32 formatted card be able to have a swapfile on it? I use a ram expander
Sent from my MotoG3 using XDA-Developers mobile app
Click to expand...
Click to collapse
Yes, formatting the SD card will wipe all data on the card.
No, a FAT32 card cannot be used as adopted storage, only a card adopted by the device can be, that process formats the file system as an encrypted ext4 system.
Maybe, but I'm not sure Android normally use a swap file, so you might have to make some manual changes which would be overwritten every time you flash a nightly build.
TBH, the RAM Expander is probably your whole problem, the low processing power and I/O speeds of the device plus using an SD card are probably causing delayed writes and extreme lag and cache corruption. You should have at least a UHS3 card, even then I would suspect the RAM Expander is the root cause of your problems.
Sent from my MotoG3 using Tapatalk
acejavelin said:
Yes, formatting the SD card will wipe all data on the card.
No, a FAT32 card cannot be used as adopted storage, only a card adopted by the device can be, that process formats the file system as an encrypted ext4 system.
Maybe, but I'm not sure Android normally use a swap file, so you might have to make some manual changes which would be overwritten every time you flash a nightly build.
TBH, the RAM Expander is probably your whole problem, the low processing power and I/O speeds of the device plus using an SD card are probably causing delayed writes and extreme lag and cache corruption. You should have at least a UHS3 card, even then I would suspect the RAM Expander is the root cause of your problems.
Sent from my MotoG3 using Tapatalk
Click to expand...
Click to collapse
Ive had this rebooting problem shortly after i flashed CM and didnt get the ram expander for a few weeks after that. Ideally, I wouldnt have to flash another ROM.
Sent from my MotoG3 using XDA-Developers mobile app
thekuom said:
Ive had this rebooting problem shortly after i flashed CM and didnt get the ram expander for a few weeks after that. Ideally, I wouldnt have to flash another ROM.
Sent from my MotoG3 using XDA-Developers mobile app
Click to expand...
Click to collapse
Try another rom then... CM is hardly the only option, and some devices do better with different ROMs.
Otherwise, give us something concrete like a logcat or something.
Sent from my MotoG3 using Tapatalk
acejavelin said:
Try another rom then... CM is hardly the only option, and some devices do better with different ROMs.
Otherwise, give us something concrete like a logcat or something.
Sent from my MotoG3 using Tapatalk
Click to expand...
Click to collapse
Ok I'll upload a logcat as soon as I get it to break again.
Here is a logcat I got. I'm not sure if I caught the first failed reboot but it soft rebooted a good 3-4 times so hopefully there's something worth looking at. Thanks for your help!
BTW - it's in a zip because it's exceeds the file limitations for .txt files on xda.
thekuom said:
Here is a logcat I got. I'm not sure if I caught the first failed reboot but it soft rebooted a good 3-4 times so hopefully there's something worth looking at. Thanks for your help!
BTW - it's in a zip because it's exceeds the file limitations for .txt files on xda.
Click to expand...
Click to collapse
I did a quick glance though the file, I'm at work and will look through it more later, but two things stuck out to me... there seems to be a lot of package errors, and the theme is not happy.
When is the last time you did a clean install, and then reinstalled your apps from the Play Store (not restored from TB or similar app)? Also, does the problem still occur when you use default theme?
acejavelin said:
I did a quick glance though the file, I'm at work and will look through it more later, but two things stuck out to me... there seems to be a lot of package errors, and the theme is not happy.
When is the last time you did a clean install, and then reinstalled your apps from the Play Store (not restored from TB or similar app)? Also, does the problem still occur when you use default theme?
Click to expand...
Click to collapse
I did a clean install about a week ago (and reinstalled my apps from the Play Store). I haven't tried it with the default theme but I can do that this afternoon.
Just rebooted with the default theme and it booted up fine but then i rebooted with my previous theme and it also booted up ok so basically idk if its the theme yet.
Sent from my MotoG3 using XDA-Developers mobile app
Update: Im fairly certain it was the theme now. I have since replaced it and my phone is much more stable. Thanks for your help! Now whenever I reboot, it will probably soft reboot once and then it works fine.

Categories

Resources