SM-N910C internal storage encryption - Galaxy Note 4 Original Android Development

When trying to encrypt internal storage, phone takes some time processing and then reboots without doing it.
Firmware is the latest, original, from Sammobile.
How address this?

Worked after a full ODIN flash, now using repartition with a downloaded PIT file for it and Nand Erase.
I hope that this could help someone else.

Related

[Q] Re-Partition with Odin PIT File

Hey Boardies,
I´m wondering for a while if it´s possible to repartition the storage of my Ace 2. I´m using an external SD Card where i save music and so on. The Filemanager of Android shows me 2 SDCards.
I think one of them is the phone internal space for data and the other is my real SDCard.
I do not need the internal space for data, but it would be great to have a bigger internal phone space to install apps and something like that.
In conclusion i want to add the internal data space to the system space.
I saw Odin is offering the possibility to re-partition the phone, but to do so you need a PIT file in which the partition information is saved.
Now my question is how to flash then latest stock rom (I8160XXNB1) with odin and repartition it. And then flash CyanogenMod 11 TeamCanjica.
Where can i get a proper PIT file and how can i change the values of the PIT file so that the fit my needs?
Thank you.
I have 2,93 gb from really internal memory but isn't made with pit file, it have make this with CMD.
You must try thread from busote, repartition memories in ace 2 development forum ( I can't put the link, sorry)
Sent from my GT-I8160 using Tapatalk
It´s a pitty, but the download link of busote´s scripts is offline.
Does anybody got the files and can reupp them?

[Q] Problem with the partitions on TabPRO?

I own a Galaxy Tab PRO 10.1" Wifi (SM-T520).
I have the stock ROM, rooted and with TWRP. And SDfix...
I have tried fat32 and ext4 on MicroSD, and without MicroSD. No difference.
I cannot boot any custom rom (Stuck at Samsung logo). Sometimes when I try to install a rom, it fails, or reboots TWRP.
I also encountered problem when trying to restore a nandroid. No DATA partition can be written to, restore fails. (after reboot recovery, its no problem to restore)
Angry Birds Epic does not work. It stops at "Loading Levels", and sometimes it fails to start, and says its not installed.
Spotify says that that it cannot be used because it has no storage.
I can access the partitions, but they are not writable. A reboot is getting the internal/external SD to be writabe again.
So, what is the problem with the partitions on TabPRO? or is it the Samsung android rom thats the problem?
Can it be fixed?
Regards,
-Exlo
Try installing FolderMount from the PlayStore. It can detect and fix issues with your partitions. You just need to run it, then reboot. I seem to get issues writing to my data partition after I install TWRP, on my SM-P900. FolderMount fixed it quickly and easily.
https://play.google.com/store/apps/details?id=com.devasque.fmount
Sent from my SM-P900 using Tapatalk
FolderMount did find an error, and fixed it, but same result
And it "fixed" the same problem as the SDfix app did.
But, I still made some progress. I managed to install a custom rom without error, and fully booted.
Team Freeze Rom installed fine. The rom is just under 800Mb. So i thought maybe it was some faulty memory sector on my tab.
Then I tried to flash GigaWatts ROM, and it failed. Same with ProPlus Rom.
When restoring my last nandroid, it fails when writing DATA partition.
Then I tried to restore my first nandroid, from "stock" rom, and it restored just fine.
First nandroid was from internal SD, and latest was from external SD. Made me wondering, so switched yet again another MicroSD, took a nandroid to it, and tried to restore. It fails again at DATA.
Then I tried t install GigaWatts ROM from internal SD, instead of external. Works without error.
Sooo.... I can flash custom ROM`s from Internal Memory, and restore from Internal Memory
Not from external SD.
Still, I do get internal/external SD dropouts, and getting "no space left/no memory to install on", which can be "fixed" by a reboot.(Still, it should`t be like this, and are quite annoying.
But, still no luck on getting past the "Loading Levels" on AngryBirds Epic
Where is the root of the problems? Faulty device? Android ROM? TWRP making trouble?
Please guide me if any logs should be provided to find out where the problems is, if i`m not the only one with these problems.
Regards,
Exlo
You can try flashing a stock ROM via Odin, and start from scratch. Factory Reset, Reroot, install twrp, etc. If you still can't write to /data properly, you may need to find a .PIT file and repartition your internal memory using Odin.
Sent from my SM-P900 using Tapatalk
I have had to reflash stock with Odin 4 times by now, and it has been the same pain every time.
I was hoping not to use re-partition, so I will wait and see if some new info will come by from other users, as I see there are more of the users that struggles with flashing custom rom. (Stuck at samsung logo, installation fails)
So, will hold off for a few days, and if no new info about partitions, rom flashing, low memory, sd cards not mounting correctly, etc, then I will try re-partition...
meanwile, I`ll investigate som more on my own, read overall the internet
Ok, so i have tried and failed, and learned something on the way
Ext SD is useless for flashing rom, nandroid, etc within TWRP. It does not mount partitions correctly.
If I make sure DATA partition is mounted in recovery, and only use Internal SD, everythin flashes, backups and restores just fine
(Mabye an issure with TWRP?)
SDfix, or FolderMount fixes write permissions to Ext SD in rom to use TitaniumBackup, games, downloads, etc.
Hopes this can help others in simular problems.
And thanks to all that have helped on the way
Regards,
-Exlo

[Q&A] [Mod][Guide] Re-Partition Internal Memory For T-989! (Confirmed Working)

Q&A for [Mod][Guide] Re-Partition Internal Memory For T-989! (Confirmed Working)
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [Mod][Guide] Re-Partition Internal Memory For T-989! (Confirmed Working). If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Works great!
I just wanted to report back saying that the pit file provided in the original post works great! For any interested in my setup/procedure, it was:
1) Flash the provided pit file using Odin 3.09
I wanted to switch to a Lollipop ROM, and another person in the main thread had good results with Validus, so I used that. Validus supports and recommends the F2FS filesystem, which requires a different recovery to install. So I followed the instructions found on the XDA Thread and the Google+ page for Validus install instructions.
2) Flash Chet's recovery
Chet's recovery, as downloaded from the above link, can be flashed from inside your current recovery. At least, I could from flash it from inside TWRP 2.7.1.0. Flashed it, rebooted back into recovery, and it loaded up the new one, nice as you please.
3) Format data, cache, and internal sdcard as F2FS. TWRP also gave me an error about preload, so I formatted that as ext4.
If you switch to a different ROM in the future, you'll have to remember to check if the new ROM supports F2FS. If it doesn't, you'll need to reformat those partitions to EXT4, or another filesystem the new ROM does support.
4) Flash Validus
5) Flash Gapps
Validus recommends the Paranoid Android Gapps, but the XDA threads have been closed. You can find the appropriate Gapps packages with a Google search; my search led me here. Since the /data partition is now so large, I don't have to try and squeeze apps into the /system partition just to save space, I can install them normally. Thus, I installed the pico gapps, and just installed the other apps via the market. I recommend you do the same.
The result is a dark themed lollipop ROM that already seems pretty stable. I've been using it for less than a day, but I've noticed very few stability problems or other hitches. My thanks to Lorien_Silmaril and chris4284!
How to change Recovery in semi-bricked phone?
Hello, Noob here and was trying to re-partition my T989 T-Mobile S2 memory. It would appear I need to properly reformat the partitions however the recovery I am using does not support the more advanced "wipe" options the "Re-Partition Internal Memory For T-989! (Confirmed Working)" thread discusses.
As this phone will not boot into Android anymore but I can get into the recovery mode, how would I put something like TWRP onto my phone? It would appear that I can only do it through ODIN if the recovery file is a .tar file rather than a .zip file. So are the various TWRP recovery files available anywhere as .tar files? And if not, then what is my other option (as I can not get the phone to show up as a USB drive to load in the .zip versions)?
Thank you,
P.
EDIT EDIT EDIT EDIT EDIT
Yes, I am an idiot. After posting realized that I could put the zip files onto a SD card and then use the recovery file currently on my phone to install the zip off the SD card.
Confirming Pit file sizes
I never did get to work correctly but I might give it another go. One thing I noticed was after un-zipping the two ZIP files in the main thread (the stock PIT and the 8GB partitioned one), the 8GB PIT file was only 4k while the back to stock one is 500k. Makes me wonder if the modified one being only 4k means I got a bad file/download? Can anyone who has successfully installed the Modified_8GB pit verify that it is indeed only 4k in size?
Thank you,
P.
Can i flash this on the AT&T variant and if so how do i repartion ?
Everything seems work,but only problem is my laptop does not recognize my phone anymore. I installed driver and the phone is on debug mode. I tried different cables and laptops. Still does not work, at least Odin recognizes it.
patrick2015 said:
Everything seems work,but only problem is my laptop does not recognize my phone anymore. I installed driver and the phone is on debug mode. I tried different cables and laptops. Still does not work, at least Odin recognizes it.
Click to expand...
Click to collapse
Try to reinstall the usb drivers and disable debug
Tried it on a at&t variant and works fine and connects to pc aswell
Which partitions do I have to reformat
Great guide!... Please, I need help. I got confused at the moment I have to format the partitions. Which partitions do I have to reformat after the process? I see "dalvik cache, data, system, cache, internal sd card, android secure, micro sd card, and preload"... Do I have to reformat all of them? or just "data, and internal sd card"?.... do i have to reformat with file system "ext4" or with another one?
BTW, do you know what are the default file system for the partitions?... in case I do something wrong, this might help me to factory reset my t989...
Sorry, my english it's not that good, i know.
Please help me.
So I did this using your modified pit file, and it seems to have worked. I'm having a few issues now though. When I start google camera it tells me to mount an sd card first. I rebooted, unmounted and mounted the external sd card, and cleared data/cache. Nothing works. I also can't create a folder on the internal SD.
edit: I fixed it by formatting the internal SD to FAT. Now to look into increasing the /system partition size
mike.weiss503 said:
Great guide!... Please, I need help. I got confused at the moment I have to format the partitions. Which partitions do I have to reformat after the process? I see "dalvik cache, data, system, cache, internal sd card, android secure, micro sd card, and preload"... Do I have to reformat all of them? or just "data, and internal sd card"?.... do i have to reformat with file system "ext4" or with another one?
BTW, do you know what are the default file system for the partitions?... in case I do something wrong, this might help me to factory reset my t989...
Sorry, my english it's not that good, i know.
Please help me.
Click to expand...
Click to collapse
It won't let you do davlik. I was a bit confused by this, too, so I hope the OP clarifies. For me, formatting system, preload, cache, and data to ext4, and internal sd to FAT seems to work. I didn't touch micro sd.
Keep it simple!
Hi,
This is my very first post on this forum and what brought me to this thread was a Google search on increasing memory on my Galaxy SII.
My Galaxy SII is an SGH-T989D that can't get any app updated for a while because of insufficient memory. Put simple, all I want to do is re-partition so I can get more "/data" memory. I don't want to install any fancy ROM or root or anything else, anyway I don't have a clue of what that means lol! So I'm not expecting having any trouble following the instructions or getting the PIT file as really I'm good with computers and that kind of stuff, but here come the newbie questions:
- Do I have to perfrom any kind of backup of my device before performing the re-partition steps? If yes, then how do I do this? And once done, how do I restore the backup back into the re-partitioned device?
- If there is no need to perform a backup, does that mean that once the re-partitioning and wipe and reformatting is done, all I have to do is reboot in normal mode again and everything should be fine and as before? If not, then what steps are missing to get my device as it was before re-partitioning (with the exception that now the partitions are different sizes, of course)?
- The last step states: "After you have done the above steps, you can then proceed with ROM installation or recovery. " What does that mean and what should I do then?
Please advise... Thanks for your help!
Regards,
Pat
New PIT File
Is it possible you could create a PIT file that repartitions only 5 gb from the internal sd card, so that the internal memory is at 5 gb rather than 2?
If not, could you redirect me to a working PIT Magic Tool download as the original link doesn't work.
unpartition.
Hi I'd like you to help me un partition my phone.. I want to re install the rooting process a fresh but I found out when I tried reinstalling my stock ROM I couldn't start it up it would go to stock recovery and show data error,cache error . I tried using your un modified pit it didn't help .. Please help me unpartition .
Only Dalvik partition after PIT file flash
All of the posted info and files were much appreciated. I flashed the OC PIT file provided with success according to ODIN and rebooted into TWRP but only the Dalvik cache is showing so I can't partition anything. I tried flashing different variants of the PIT file but I never have any other partition show up. Has anyone come across this?
I can not see system cache data partitions after flash
I am using twrp 2.8.7.0. I did flash SGH-T989-PIT.pit after,but I still can not see system cache data partitions in twrp.
---------- Post added at 10:25 PM ---------- Previous post was at 10:10 PM ----------
agaliarept1 said:
All of the posted info and files were much appreciated. I flashed the OC PIT file provided with success according to ODIN and rebooted into TWRP but only the Dalvik cache is showing so I can't partition anything. I tried flashing different variants of the PIT file but I never have any other partition show up. Has anyone come across this?
Click to expand...
Click to collapse
I have same problem. I am using twrp2.8.7.0. I only can see Dalvik cache in twrp. I even did flash the unmodified pit ,but it is still doesnt work.
t989 re-partition - not recognized by windows
Hey! Thanks for the guide! This is the perfect solution. I was able to flash the new PIT with no obstacles. Phone is working fine.
My only issue is that my new internal storage is not recognized by windows when I use USB mount in TWRP. It says the partition must be formatted to be used, and of course Windows wants to format it into FAT or ntfs. It opened fine before the re-partition, even as ext4.
Any thoughts on how to get it readable by windows again?
Chet's Recovery F2FS
Hey does anyone have a copy of Chet's Recovery mentioned in the post. I have the same issue as most now that only the dalvik is showing up, but i think we need that recovery to mount and repair the partitions.
Predicus said:
Hey does anyone have a copy of Chet's Recovery mentioned in the post. I have the same issue as most now that only the dalvik is showing up, but i think we need that recovery to mount and repair the partitions.
Click to expand...
Click to collapse
same issue here

Is it bricked?

Hello, I was on a meeting and I turn off Note 2. After this it was stuck on boot logo. My TWRP is v 2.8.0.1 It says there is no os; Internal storage is 0mb, External storage is 0mb. I tried sd card on other phones. It worked. My PC can't recognize my phone. Also:
- unable to mount ''/system; data; cash; efs; internal and external; no valid storage partition found for MTP etc.
Is there anything I can do about it? Thanks in advance!
Lavchev said:
Hello, I was on a meeting and I turn off Note 2. After this it was stuck on boot logo. My TWRP is v 2.8.0.1 It says there is no os; Internal storage is 0mb, External storage is 0mb. I tried sd card on other phones. It worked. My PC can't recognize my phone. Also:
- unable to mount ''/system; data; cash; efs; internal and external; no valid storage partition found for MTP etc.
Is there anything I can do about it? Thanks in advance!
Click to expand...
Click to collapse
Change the file system to ext4 (for every partition possible). I had the same issue. You will loose all your data in internal storage. And you probably have to flash new rom.
You could try flashing a stock ROM with Odin but you will lose your data.
Ok... thanks... I change he file system to ext4 (for every partition possible). In recovery i wipe everything - loosing data is not important. Now I have problem with Odin. I tried to flash stock 4.4.2 but i have sbootbin fail. My latest ROM (i think) was 4.4.4. What can I do?
Did you confirm the model # in download mode? Sboot.bin is not flashing in Odin because the ROM is not made for the phone.
Did you try using different USB cables and USB ports? Tried using Odin 3.07?
The ROM is official, and latest for my country and carrier. I dont know if there is a problem with custom rom that was on my phone before - which is 4.4.4. I tried with Odin 3.12.3. Now i downloaded Odin 3.07. and now it says NAND write start! FAIL!
Lavchev said:
The ROM is official, and latest for my country and carrier. I dont know if there is a problem with custom rom that was on my phone before - which is 4.4.4. I tried with Odin 3.12.3. Now i downloaded Odin 3.07. and now it says NAND write start! FAIL!
Click to expand...
Click to collapse
Try flashing any custom rom. When i faced this issue, i just changed every partition to ext4 and then flashed a custom rom of my choice. And everything went normal.
How can I flash custom rom when I cant see my internal and external storage (it says = 0mb and all folders are empty). I tried different Roms with different ODIN's- mostly Nand write fail! I cant change internal storage to ext4 because :"Invalid partition selection"! Can I flash custom rom with Odin?
Lavchev said:
How can I flash custom rom when I cant see my internal and external storage (it says = 0mb and all folders are empty). I tried different Roms with different ODIN's- mostly Nand write fail! I cant change internal storage to ext4 because :"Invalid partition selection"! Can I flash custom rom with Odin?
Click to expand...
Click to collapse
The 0mb issue isnt fixed by changing file system??
Remove any sd card if you have inserted. Try again to change them.
In my case i fixed 0mb issue by changing file system to ext4. Nothing else.
No... I have 0mb.. I changed available file systems to ext4 with and without sd card.. Is there any way to do something?
Your only hope may be flashing the phone with a jtag cable. If that doesn't fix the problem, the memory is defective.
https://forum.xda-developers.com/showthread.php?t=2093599

Reinstalled stock image and now it thinks my 32GB phone is only a 16GB?

I messed up my boot.img and had to totally revert to stock, but when I was preparing to flash my custom rom back with TWRP I ran out of space. This phone is a 32GB phone, which meant I usually got at least 20G in storage space, which is evident when I look at my last sdcard backup that takes exactly 20G. However, looking at the internal storage settings after resetting, it says I only have 16G of data, with 10G of that as usable sdcard data.
What the hell? How is it possible that the phone only thinks I have half the data? There isn't even a 16GB variant of this phone... :/ I'm very confused and I have no idea what to do. Please help.
EDIT
Okay, I solved the problem but I'll just edit this in case anyone else has the same issue. When I was flashing stock image with Odin I could use the CSC file (clean wipe) or the USERDATA file (keep files and apps). I selected USERDATA, but discovered it had erased my data and apps anyway. However what it seemed to have done was kept them on the device, just on a different partition or something, I don't know. But they were still there using up the space even though I had no access to them. So I reflashed the stock image and used CSC clean wipe, and now my phone is once again a 32GB phone lol.

Categories

Resources