Post Reply

[KERNEL][Test] KitKat [Fixed Internal SD][TWRP flash from Internal SD]

OP siankatabg

21st March 2014, 10:46 PM   |  #1  
siankatabg's Avatar
OP Senior Member
Thanks Meter: 546
 
433 posts
Join Date:Joined: Sep 2012
More
Hello.

I will be short.
This is test kernel with my work from here:
http://forum.xda-developers.com/show...4&postcount=41

Kernel is purely stock with fix for deep sleep,TWRP recovery with working flash from internal SD and my internal SDcard fix.

Instructions for flash:
1.Flash kernel with Flashtool or fastboot.
2.Flash modules.zip from recovery

Instructions to fix your SD files location:(to see them in /sdcard and /storage/sdcard0) (you need to have root)
First way is with root explorer:
1.Go to /data/media and move all the files and folders without "legacy,obb,0" to /data/media/0

Second way is with terminal:
1.Just tipe:
Code:
su
cd /data/media
mv !(0|legacy|obb) 0
You need to do this once.




If all went well,you will have your 4gb sd back on place.



Download:
Boot.img -> http://www.mediafire.com/download/em...ot-kk-twrp.img
Modules.zip -> http://www.mediafire.com/download/33...at+modules.zip

Test and report,please.

Kernel is tested on CM11,but should work on other KitKat roms too.


I am not responsible for bricked devices.Do it at your own risk.

Аll can use my method or ramdisk, just mention me in your thread.

Credits:
@KillerKink - For DeepSleep issue fix
@vishal_android freak - For the great TWRP recovery,link here -> http://forum.xda-developers.com/xper...rated-t2667370
Last edited by siankatabg; 22nd March 2014 at 08:46 AM.
The Following 11 Users Say Thank You to siankatabg For This Useful Post: [ View ]
22nd March 2014, 01:46 AM   |  #2  
Joel16's Avatar
Senior Member
Thanks Meter: 325
 
599 posts
Join Date:Joined: Sep 2013
More
Nice work.
22nd March 2014, 03:05 AM   |  #3  
nandroidz's Avatar
Senior Member
Flag Thiruvananthapuram
Thanks Meter: 20
 
130 posts
Join Date:Joined: May 2012
More
Will the sd internal fix work without flashing the kernel
or should the kernel be there for the commands to work ?
Anyways thanx for your help
22nd March 2014, 07:23 AM   |  #4  
Shivam Kuchhal's Avatar
Recognized Contributor
Flag Bijnor, Uttar Pradesh
Thanks Meter: 1,287
 
793 posts
Join Date:Joined: Dec 2012
More
The fix lies in ramdisk only or you've done some changes while compiling kernel also?
BTW thanks for one more way fixing storage.
22nd March 2014, 08:07 AM   |  #5  
siankatabg's Avatar
OP Senior Member
Thanks Meter: 546
 
433 posts
Join Date:Joined: Sep 2012
More
Quote:
Originally Posted by Shivam Kuchhal

The fix lies in ramdisk only or you've done some changes while compiling kernel also?
BTW thanks for one more way fixing storage.

Just ramdisk changes.

Quote:
Originally Posted by nandroidz

Will the sd internal fix work without flashing the kernel
or should the kernel be there for the commands to work ?
Anyways thanx for your help

You need to flash it and if you flash other kernel after that you will lose your storage again.

Sent from my C2105 using xda app-developers app
Last edited by siankatabg; 22nd March 2014 at 08:13 AM.
22nd March 2014, 08:34 AM   |  #6  
Shivam Kuchhal's Avatar
Recognized Contributor
Flag Bijnor, Uttar Pradesh
Thanks Meter: 1,287
 
793 posts
Join Date:Joined: Dec 2012
More
Quote:
Originally Posted by siankatabg

Just ramdisk changes.


Sent from my C2105 using xda app-developers app

Any drawbacks of this method noticed so far?
22nd March 2014, 08:43 AM   |  #7  
siankatabg's Avatar
OP Senior Member
Thanks Meter: 546
 
433 posts
Join Date:Joined: Sep 2012
More
Quote:
Originally Posted by Shivam Kuchhal

Any drawbacks of this method noticed so far?

No.All apps and games working fine for me.Only settings>storage dont show correct space,but this is OS bug i think.I will update this kernel today to use /mnt/media_rw/sdcard0 as mount point and fuse,because with this recovery(for stock rom) we dont need to use /data/media.This way i think there will be no problems to wipe data or format sd at all
22nd March 2014, 08:58 AM   |  #8  
Shivam Kuchhal's Avatar
Recognized Contributor
Flag Bijnor, Uttar Pradesh
Thanks Meter: 1,287
 
793 posts
Join Date:Joined: Dec 2012
More
Quote:
Originally Posted by siankatabg

No.All apps and games working fine for me.Only settings>storage dont show correct space,but this is OS bug i think.I will update this kernel today to use /mnt/media_rw/sdcard0 as mount point and fuse,because with this recovery(for stock rom) we dont need to use /data/media.This way i think there will be no problems to wipe data or format sd at all

It looks like I'll wait for your update to merge the fix into my kernel as waiting for 1 day isn't a big deal.
Last edited by Shivam Kuchhal; 22nd March 2014 at 09:09 AM.
22nd March 2014, 09:06 AM   |  #9  
siankatabg's Avatar
OP Senior Member
Thanks Meter: 546
 
433 posts
Join Date:Joined: Sep 2012
More
Quote:
Originally Posted by Shivam Kuchhal

You've made changes in recovery also?
And it looks like I'll wait for your update to merge the fix into my kernel as waiting for 1 day isn't a big deal.

Im done with update i think Now i formated /data and /sdcard survive it Will test sdcard format and will upload it.

For recovery: Im using vishal_android recovery for stock rom.Nothing changed there.
22nd March 2014, 10:09 AM   |  #10  
siankatabg's Avatar
OP Senior Member
Thanks Meter: 546
 
433 posts
Join Date:Joined: Sep 2012
More
Test kernel 2. Changed mount point and fuse to /mnt/media_rw/sdcard0 ,so now you need to move files from there to /mnt/media_rw/sdcard0/0
If you moved them on the previous kernel you dont need to do that again.This needs to be done once on the first use of my fix.

Download here:
http://www.mediafire.com/download/5c...-kk-twrp-2.img

P.S.- Terminal command is same,just use "cd /mnt/media_rw/sdcard0"

I forgot to say that you can wipe /data without problems now.
Last edited by siankatabg; 22nd March 2014 at 07:04 PM.

The Following 7 Users Say Thank You to siankatabg For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Xperia L Android Development by ThreadRank