F2FS and Windows 10 - OnePlus 7 Pro Questions & Answers

So I had changed my OP7Pro data to F2FS upon trying out a new Kernel(arter) but Windows now won't allow me to copy anything to or from my phone. It does read it but the data transfer from one end to another is just non existent. Has anyone else done this and faced the same or similar issue?

I think it's possibly related to sdcardfs using vfat.
---------- Post added at 01:01 PM ---------- Previous post was at 12:19 PM ----------
You may want to troubleshoot by flashing the blu_spark and seeing if the same issue occurs. https://forum.xda-developers.com/oneplus-7-pro/development/kernel-t3944179

jhofseth said:
I think it's possibly related to sdcardfs using vfat.
---------- Post added at 01:01 PM ---------- Previous post was at 12:19 PM ----------
You may want to troubleshoot by flashing the blu_spark and seeing if the same issue occurs. https://forum.xda-developers.com/oneplus-7-pro/development/kernel-t3944179
Click to expand...
Click to collapse
thanks I will give it a try today I'd prefer to use F2FS because of the noticible performance increase lol

falconmoonpunch said:
thanks I will give it a try today I'd prefer to use F2FS because of the noticible performance increase lol
Click to expand...
Click to collapse
there should be no noticeable performance increase...
ive had not problems using f2fs on my windows machine

virtyx said:
there should be no noticeable performance increase...
Click to expand...
Click to collapse
I definitely noticed it the first time I had converted it to F2FS... obviously the 7 pros performance is already near perfect but a jump to changing the data format was very noticeable to me anyway

falconmoonpunch said:
I definitely noticed it the first time I had converted it to F2FS... obviously the 7 pros performance is already near perfect but a jump to changing the data format was very noticeable to me anyway
Click to expand...
Click to collapse
what did you notice? are you on stock kernel?
i did benchmarks before and after and there no difference (with EXT4 nobarrier option) the benchmarks were the same on stock kernel.
i didnt notice any fast app openings or anything, and im fairly sensitive to things like that
have you also removed encryption?
i remember doing that on my OP6, i think i kept it on ext4 but removed encryption, noticed a nice bump.

virtyx said:
what did you notice? are you on stock kernel?
i did benchmarks before and after and there no difference (with EXT4 nobarrier option) the benchmarks were the same on stock kernel.
i didnt notice any fast app openings or anything, and im fairly sensitive to things like that
have you also removed encryption?
i remember doing that on my OP6, i think i kept it on ext4 but removed encryption, noticed a nice bump.
Click to expand...
Click to collapse
I had removed encryption yes, and I definitely noticed faster app openings and when when making selections on menu items even with animations on it was instant. that's why I wanted to keep f2fs, but I tried again and my laptop still won't allow transferring items between it and my phone so I was able to get msmtool to work after a bit of tinkering with drivers(still wouldn't copy but msmtool worked)

falconmoonpunch said:
I had removed encryption yes, and I definitely noticed faster app openings and when when making selections on menu items even with animations on it was instant. that's why I wanted to keep f2fs, but I tried again and my laptop still won't allow transferring items between it and my phone so I was able to get msmtool to work after a bit of tinkering with drivers(still wouldn't copy but msmtool worked)
Click to expand...
Click to collapse
I don't believe f2fs is causing the perceived increase in performance.
I would say it's the encryption status.
however I'd suggest trying another kernel
at least that way you can pull your data and make a back up
have you tried in TWRP?

virtyx said:
I don't believe f2fs is causing the perceived increase in performance.
I would say it's the encryption status.
however I'd suggest trying another kernel
at least that way you can pull your data and make a back up
have you tried in TWRP?
Click to expand...
Click to collapse
I'm going to try Kirasuke kernel(I think that's the name) I'm downloading it now

falconmoonpunch said:
I'm going to try Kirasuke kernel(I think that's the name) I'm downloading it now
Click to expand...
Click to collapse
It might be because of f2fs... I am not able use data in TWRP also when using f2fs.. I had to use OTG to copy files and flash

ram4ufriends said:
It might be because of f2fs... I am not able use data in TWRP also when using f2fs.. I had to use OTG to copy files and flash
Click to expand...
Click to collapse
Data works fine in TWRP using F2FS :good:

virtyx said:
what did you notice? are you on stock kernel?
i did benchmarks before and after and there no difference (with EXT4 nobarrier option) the benchmarks were the same on stock kernel.
i didnt notice any fast app openings or anything, and im fairly sensitive to things like that
have you also removed encryption?
i remember doing that on my OP6, i think i kept it on ext4 but removed encryption, noticed a nice bump.
Click to expand...
Click to collapse
Brother could you suggest me how to remove encryption. I want to try it based on your suggestion.
Please also if possible pls suggest any cons you have in mind in case encryption is removed. Thanks in advance

I've been having issues removing encryption, sometimes it sticks, sometimes it doesn't unfortunately... maybe if you look around on xda you can find someone who knows completely I use tool all in one which you can find in the 0P7 forums

falconmoonpunch said:
So I had changed my OP7Pro data to F2FS upon trying out a new Kernel(arter) but Windows now won't allow me to copy anything to or from my phone. It does read it but the data transfer from one end to another is just non existent. Has anyone else done this and faced the same or similar issue?
Click to expand...
Click to collapse
you did this only by data partion and no anything else??
---------- Post added at 10:16 AM ---------- Previous post was at 10:14 AM ----------
falconmoonpunch said:
So I had changed my OP7Pro data to F2FS upon trying out a new Kernel(arter) but Windows now won't allow me to copy anything to or from my phone. It does read it but the data transfer from one end to another is just non existent. Has anyone else done this and faced the same or similar issue?
Click to expand...
Click to collapse
you did this only by data partion and no anything else??
i see this guid https://forums.oneplus.com/threads/...-without-losing-internal-storage-data.439999/
but it point to change ext4 to f2fs in system partiton

Related

ROMS?

Has a ROM been made for the device yet?
As soon as one is made I will be one happy user as this tab has soooo much potential to be great
BEST DAMN PHONE BECAUSE WE HAVE THE BEST DAMN DEVELOPERS!
Yeah i know i need one now lol
bkundert21 said:
Yeah i know i need one now lol
Click to expand...
Click to collapse
Why? What would you like a replacement firmware to do? Remove bloat? Do that with titanium backup (or anything else that can 'freeze' pre-installed crud.) Change the launcher? You can already do that (but it seems most of the replacement launchers are designed more for phones.)
What do you want different that you can't already change?
garyd9 said:
Why? What would you like a replacement firmware to do? Remove bloat? Do that with titanium backup (or anything else that can 'freeze' pre-installed crud.) Change the launcher? You can already do that (but it seems most of the replacement launchers are designed more for phones.)
What do you want different that you can't already change?
Click to expand...
Click to collapse
I gotta say I agree with Gary. Now that we have root and CWM (thanks to Gary) there's not much more I feel compelled to change I can already with root. Perhaps a custom kernel we can OC but this danged this flies now. Perhaps someone can come up with something that'll amaze us all (and that would be very cool!) and I'll be all over it. Right now with ICS looming it might be a better allocation of dev resources to just lay back and wait/see what that brings?
Now custom themes.....THAT would right now peek my interest. Learned a few things from hatman41 on the TF. This might be an excuse to dig back in.
Just an opinion.
skeeterpro said:
I gotta say I agree with Gary. Now that we have root and CWM (thanks to Gary) there's not much more I feel compelled to change I can already with root. Perhaps a custom kernel we can OC but this danged this flies now. Perhaps someone can come up with something that'll amaze us all (and that would be very cool!) and I'll be all over it. Right now with ICS looming it might be a better allocation of dev resources to just lay back and wait/see what that brings?
Now custom themes.....THAT would right now peek my interest. Learned a few things from hatman41 on the TF. This might be an excuse to dig back in.
Just an opinion.
Click to expand...
Click to collapse
I'd like to see a r/w external sd card. Having it be read-only is forcing me to change my process of working. But I do agree with the others, with root and cwm the tab is very very good.
otamctech said:
I'd like to see a r/w external sd card. Having it be read-only is forcing me to change my process of working. But I do agree with the others, with root and cwm the tab is very very good.
Click to expand...
Click to collapse
Really? I can change r/o to r/w and back again with Root Explorer in extStorages
skeeterpro said:
Really? I can change r/o to r/w and back again with Root Explorer in extStorages
Click to expand...
Click to collapse
yes i can do that also, but even when it is in r/w, i cant say, save an excel file to the card using quickoffice or any other app for that matter. It will only let me save to the built in storage
otamctech said:
yes i can do that also, but even when it is in r/w, i cant say, save an excel file to the card using quickoffice or any other app for that matter. It will only let me save to the built in storage
Click to expand...
Click to collapse
Interesting. I was just able to copy/paste from root to a folder on the exStorages and copy a file from the internal to the exStorages (an apk and an ePub)
Just re-read your post. From an app to exStorages. Hmmm...will try that.
Don't have quickoffice but polaris has very few options. Almost too few.
otamctech said:
I'd like to see a r/w external sd card.
Click to expand...
Click to collapse
I'd like to see that as well, but it'd probably be a kernel change, not what people here call a ROM change. Let's see, here's how it's currently mounted:
Code:
/dev/block/vold/179:17 /mnt/sdcard/extStorages/SdCard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1023,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
It's already mounted as read-write. The thing that's preventing normal user write access is the uid/gid combo with the fmask/dmask (not sure why samsung didn't just use a umask instead of both of the other masks.) Essentially, what that is doing is say that all the files and directories (including the root of the mount) are readable by anyone, but only writable to the "system" user, or a user in the "media_rw" group. I'm going to take a wild guess that the "camera" application, the "my files" application, and other samsung apps are in that "media_rw" group. (not sure how to check that...)
Interesting... I'm trying to remount it manually (mount -o remount,...) and while it's not giving any error, it's not working either.
I'm not sure how these "vold" mounts work, what options are valid for them, etc. It's an interesting issue, though...
All I want is a deodexed rom. Might have to break out android for dummies and learn how to.
Once we get that then let the theming begin.
Sent from my Insanity powered SGS2
Not to difficult i may give it a try soon.
deodex'ing honeycomb stuff isn't as easy as gingerbread and prior...
garyd9 said:
deodex'ing honeycomb stuff isn't as easy as gingerbread and prior...
Click to expand...
Click to collapse
I know, thats why I havent learned it yet lol.
However I am slowly figuring out theming while the rom is odexed. Got a few things going now
This device is powerful and awesome. Id love to be able to change themes and icons. The bloat ware doesn't get into the way and slow performance down. This devise will do me good for about 1 year to 1 1/2 years than ill upgrade to a new more powerful device.
this may help..
http://forum.xda-developers.com/showthread.php?t=1373131
I will likely wait for a clockwork recovery to start ripping stuff apart.
this is my first sammy product, wife has a cappy that I flash. nota huge fan of touchwiz but its easy on the eyes compared to my past 2 devices, dell streak 7 & 5.
Moving this to a proper forum.
chrisrotolo said:
I will likely wait for a clockwork recovery to start ripping stuff apart.
Click to expand...
Click to collapse
Which model do you have? GT-P6210 (wifi only), GT-P6200 (international 3G) or SGH-T869 (USA/TMobile 3G)?
There's no CWMR for the p6200 (yet), but I've already done them for the other two.
P6200 3G from malaysia. no rush, patiently waiting. Im more than willing to help with any info needed. Thank so much.
chrisrotolo said:
P6200 3G from malaysia. no rush, patiently waiting. Im more than willing to help with any info needed. Thank so much.
Click to expand...
Click to collapse
Are you fluent with a shell prompt? If so, in order to attempt a CWM recovery (based on what I've already done for the p6210 and t869), please run the following two commands as root via adb shell... (and copy the resulting information)
mount
cat /proc/partitions
.. that will give me a hint as to which partition is probably your recovery partition. Send me that info IN A PM. I'll respond via PM with some more commands (based on the info you send me, I'll need you to dump a partition or two and get the images to me.)
Once I have the proper information and images, I can PROBABLY make a successful CWM recovery image (but please understand that I'll have to recompile a kernel BLIND with no possible way to test myself.)
Take care
Gary
---------- Post added at 11:43 PM ---------- Previous post was at 11:40 PM ----------
I should also mention that I'm going to be VERY busy over the next 3 days, so even if I get the images and all works okay, the earliest I'd be able to have a recovery would be Thursday or so.

[TOOL] G2X Cleanup Batch *** WARNING *** WILL FORMAT INTERNAL SD

If you are going to flash and ICS ROM after this tool please make sure to first install a GB then ICS otherwise your SD card will not be accessible. I am trying to find a fix but it has been illusive. This statement will be removed once a fix has been found and OP updated.
Now with CWM Touch!
This method uses NVFLASH to recreate all partitions and formats them, thereby getting rid of the file allocation pointers and hence renders data inaccessible without effort.
Note: I have never seen a file come back to life or its data affect other files without effort on the users part or a temporary glitch once the partitions and pointers have been overwritten. Please post a reply with evidence if you have seen it.
Benefits:
The contents of the zip file can be used to super clean G2X before a new ROM flash. This tool recreates all the partitions in the phone so wipes the pointers to all files (everything). The method it employes has existed from before. The files here will stop short of pushing a ROM, so that you can push your favorite ROM.
Prerequisites:
G2X (Will not work on O2X due to different partition table)
Desire to have a clean install of your favorite ROM
Backup your data
*** WARNING ***​
This tool will wipe both phone internal memory and internal SD card. External SD card content is safe.
Don't say you haven't been warned!
What to do:
Download the attached Zip file.
Take out the battery (assuming you have backed up your data on external SD card, computer or elsewhere), connect the device via USB while holding VOL+ and VOL- together. Don't let go of the volume buttons until the device is recognized.
(I typically leave Device Manager open to see when it shows up in the list under "USB Controllers").
Launch flash.bat, sit back and wait until the process finishes (generally a good idea to open a command prompt, CD to the directory and then run the file).
Unplug, put battery in, reboot into CWM recovery (pushed by this tool) by holding VOL- first, then pressing and holding POWER).
Flash your favorite ROM.
Enjoy!
I made this package because I could not get the bluetooth to work with G2x GB 2.3.3 (and below). The issue was a disconnect problem where both the phone and headset would still think they were connected but in audio would not be routed for a call or media. After this procedure my phone has not had an issue for almost 3 weeks now. I have tried it with two ROMs and 3 different headsets without any issues.
I guess I will not toss this phone after all .
Putting it out there in the hope that it may help others solve some of their issues as well. I suspect bad data stays in places not touched by other methods.
Your comments are most welcome.
[Update]
Klathmon has made an newer version with CWM 5.0.2.8. RP by Klathmon can be found here:
http://forum.xda-developers.com/showpost.php?p=24768294&postcount=66
I have tested the windows version but linux one is untested. Use at your own risk.
[Update]
Now with CWM Touch!
Thanks to everyone who has contributed on this thread with a drive to positive change! You work/comments/suggestions are very much appreciated.
References:
http://forum.xda-developers.com/showthread.php?t=1248644. This link was the inspiration for the current work.
Link to CWM Touch development thread. I took the image posted there: http://rootzwiki.com/topic/22984-recovery-touch-enabled-cwm-5813/
[EDIT] The zip file should be fixed now. Darn work machine does something to the upload.
was just about to flash the new hellfire rom and saw this tool! will try it out and see how things go
edit: yeah corrupt zip on my end too.
The zip file seems to be corrupt. Could you re-upload plz
worked great on my end, no problems.
khanggle said:
worked great on my end, no problems.
Click to expand...
Click to collapse
The real test is how stable your ROM would stay with this method to wipe than any of the other methods.
I guess only time will tell .
wow this method really blaze hellfire much thanks to your( you) & (rom dev)
Ohh I like this. Thank you for sharing .
This thing is faster than nullifier, and I especially like how you don't need to be in CWM to use it. It just seems like doing it in "update mode" would allow better manipulation of the phone's internals.
so this tool DOES format and nullify in addition to recreating the partitions?
deleting and recreating partitions does not remove data. only by writing over existing data can you get rid of it (like nullifier does)
dodgefan67 said:
so this tool DOES format and nullify in addition to recreating the partitions?
deleting and recreating partitions does not remove data. only by writing over existing data can you get rid of it (like nullifier does)
Click to expand...
Click to collapse
He states in OP that it doesn't write anything, therefor doesn't "nullify". It formats and partitions.
dodgefan67 said:
so this tool DOES format and nullify in addition to recreating the partitions?
deleting and recreating partitions does not remove data. only by writing over existing data can you get rid of it (like nullifier does)
Click to expand...
Click to collapse
Actually you are right. Deleting, recreating and formatting partitions does not get did of the 1s and 0s, so in that sense the data is still there. However the pointers are gone, and hence even though the data is still there it can't be accessed without effort.
What do you think the nand has on it when the device is shipped... I can assure you its not ask zeroes!
Sent from my LG-P999 using XDA
mansa_noob said:
Actually you are right. Deleting, recreating and formatting partitions does not get did of the 1s and 0s, so in that sense the data is still there. However the pointers are gone, and hence even though the data is still there it can't be accessed without effort.
What do you think the nand has on it when the device is shipped... I can assure you its not ask zeroes!
Sent from my LG-P999 using XDA
Click to expand...
Click to collapse
Well no, it has a next to worthless version of android Also, the point he was trying to get across is that it would be better for you to present the script for what it is and not try to compare it to other scripts that do something entirely different. You do kind of imply that you accomplish the same thing as the Nullifier script and more, when in fact you simply do something different.
Some may and probably will prefer your script, at least for specific purposes, while others will prefer the Nullifier script.
MWBehr said:
Well no, it has a next to worthless version of android Also, the point he was trying to get across is that it would be better for you to present the script for what it is and not try to compare it to other scripts that do something entirely different. You do kind of imply that you accomplish the same thing as the Nullifier script and more, when in fact you simply do something different.
Some may and probably will prefer your script, at least for specific purposes, while others will prefer the Nullifier script.
Click to expand...
Click to collapse
Done. OP updated to reflect. Thanks for clarifying that. It was not my intention to state that this tool does anything any other does, or does not.
I think we are all trying to do the same thing... get rid of the issues when swapping ROMs like _____. I can't seem to think of a good analogy here .
thanks for clarifying the OP, that makes much more sense
and no i wasnt trying to say you were reinenting the wheel, just trying to understand what your tool is actually doing
and also i do understand that it would take effort to get data off any type of storage device once the partition has been erased. i deal with wiping hard drives in a data center all the time. we use a DOD wipe tool that writes 1s and 0s over a drive a minimum of three full times to eradicate the data
but with this tool doing it outside of CWM, it sounds like it may do a better job of it
but i must ask, why do you need to push CWM? what if i have a newer version of it already on my phone?
dodgefan67 said:
but i must ask, why do you need to push CWM? what if i have a newer version of it already on my phone?
Click to expand...
Click to collapse
There is no need to push CWM 5.02. As I said in the OP it is a mod of the script found in the reference. In that script it was pushing default recovery. Since the recovery partition is being overwritten as well you will loose existing one and you need a recovery to be able to push a new ROM. Hence the need to push recovery (instead of using super one click).
As long as the recovery is not bigger than the partition that holds it we should be able to push a newer version. However I can't leave it empty or people will look for me with a shotgun (myself included ).
dodgefan67 said:
but i must ask, why do you need to push CWM? what if i have a newer version of it already on my phone?
Click to expand...
Click to collapse
I was thinking the same thing but seems easy enough .. add the cwm img to the dir and edit the .cfg file. Hopefully that should get the new CWM flashed
So would it be benefitial or pointless to nullify to clear the data then run this script for a... super clean?
Sent from my LG-P999 using XDA
mansa_noob said:
There is no need to push CWM 5.02. As I said in the OP it is a mod of the script found in the reference. In that script it was pushing default recovery. Since the recovery partition is being overwritten as well you will loose existing one and you need a recovery to be able to push a new ROM. Hence the need to push recovery (instead of using super one click).
As long as the recovery is not bigger than the partition that holds it we should be able to push a newer version. However I can't leave it empty or people will look for me with a shotgun (myself included ).
Click to expand...
Click to collapse
ahhhhhh now i understand. my eyes have been opened LOL
---------- Post added at 07:36 PM ---------- Previous post was at 07:35 PM ----------
PL0X_Kleiner said:
So would it be benefitial or pointless to nullify to clear the data then run this script for a... super clean?
Sent from my LG-P999 using XDA
Click to expand...
Click to collapse
i think it would be pointless unless you are super paranoid
dodgefan67 said:
ahhhhhh now i understand. my eyes have been opened LOL
---------- Post added at 07:36 PM ---------- Previous post was at 07:35 PM ----------
i think it would be pointless unless you are super paranoid
Click to expand...
Click to collapse
Nobody is twisting any arms here... Use it if you want to, don't if you don't want to.
I saw benefit so posted so that others may benefit as well.
Sent from my LG-P999 using XDA
Ok so question, why are you killing all the data on your internal SD card? Why not just the individual partitions that the phone uses? Your destroying data that don't need to be destroyed before flashing a rom...
Sent from my LG-P999 using xda premium
It does not have to be destroyed. I just haven't had a chance to test without recreating emmc yet.
Next step. Likely tomorrow. Would like to test before release.
Sent from my LG-P999 using XDA
[edit] BTW, I do want to restate that there is some data that needs to be destroyed which is not being taken care of by other methods. I don't believe it is in the emmc, but rather it resides in one of the other partitions. Most methods out there are only working in the /data, /system and /cache domain.
My original problem (bluetooth disconnect) which happens to be a problem for some in the community even now was only completely fixed by this method.

How to securely delete the memory before rma?

I'm concerned with the privacy of my data and I want to avoid any accidental recovery from the flash in my phone once returned for rma.
Is there any way to attempt to make the recovery harder? Something that can overwrite the whole userdata and system partition with 0 or any other pattern?
Thank you
Download an app called forevergone from the play store
sent from my HAMMERHEAD neXus
---------- Post added at 02:51 PM ---------- Previous post was at 02:46 PM ----------
Just realized it's not on the market anymore. Let me see if I have it backed up
sent from my HAMMERHEAD neXus
---------- Post added at 02:57 PM ---------- Previous post was at 02:51 PM ----------
Here you go https://copy.com/UHEjr
sent from my HAMMERHEAD neXus
Thank you
I've done a factory reser and i think it already does a zero fill for the entire data partition. In fact it takes a lot of time and i found someone on internet supporting this behaviour after a checkup in the sources for any evidence.
A factory reset done from the android menus (if you have stock recovery) will wipe everything you put on the device (except system apps).
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
I want only to know if my data is securely deleted. A zero fill makes impossible the recovery without special equipment. So if the android factory reset does also a zero fill I can sell my phone or rma it without privacy issues
CyberPK said:
I want only to know if my data is securely deleted. A zero fill makes impossible the recovery without special equipment. So if the android factory reset does also a zero fill I can sell my phone or rma it without privacy issues
Click to expand...
Click to collapse
A factory reset doesn't go through and obscure the data like that. It removes the table of contents so the files aren't visible to the file system, but the data is still there (as you know). I actually just went through this with my previous phone before I sold it. I formatted all partitions with twrp and also formatted internal storage in Windows but a couple of free recovery programs were still able to find some deleted files.
I just ended up copying my entire music library over to fill up the partition so all blocks were overwritten. After that, the programs weren't able to recover anything. Not very high tech, but effective. You could even make a couple of passes if you want to be extra sure.
Sent from my Nexus 5
CRIME INC. said:
Download an app called forevergone from the play store
sent from my HAMMERHEAD neXus
---------- Post added at 02:51 PM ---------- Previous post was at 02:46 PM ----------
Just realized it's not on the market anymore. Let me see if I have it backed up
sent from my HAMMERHEAD neXus
---------- Post added at 02:57 PM ---------- Previous post was at 02:51 PM ----------
Here you go https://copy.com/UHEjr
sent from my HAMMERHEAD neXus
Click to expand...
Click to collapse
I was looking for an app like this but there's a warning.
DON’T USE THIS APP ON ANDROID 4.3+.
There are some reports that after running this app on Android 4.3, their devices are become slower than usual.
Use at your own risk.
Click to expand...
Click to collapse
http://free-apps-android.com/forever-gone/
Edit - found another app. No idea if it's any good.
http://www.appszoom.com/related-apps/forever-gone-sd-card-cleaner_bxtrf_5#nav=related
https://groups.google.com/forum/#!msg/android-security-discuss/DB6k_hnVk0E/iMR1N_ugPeEJ
CyberPK said:
Is there any way to attempt to make the recovery harder? Something that can overwrite the whole userdata and system partition with 0 or any other pattern?.
Click to expand...
Click to collapse
I would factory reset the device. Pull the sim and go through the normal setup without setting up any networking or accounts. Once the device is running, encrypt the device. Last, factory reset the device and then send it for rma.
Sent from AOSP koeMod 4.4.2 w/ Franco kernel
koe1974 said:
I would factory reset the device. Pull the sim and go through the normal setup without setting up any networking or accounts. Once the device is running, encrypt the device. Last, factory reset the device and then send it for rma.
Sent from AOSP koeMod 4.4.2 w/ Franco kernel
Click to expand...
Click to collapse
Read my previous post, and take a look @ https://groups.google.com/forum/#!msg/android-security-discuss/DB6k_hnVk0E/iMR1N_ugPeEJ
Is it true?
CyberPK said:
Read my previous post, and take a look @ https://groups.google.com/forum/#!msg/android-security-discuss/DB6k_hnVk0E/iMR1N_ugPeEJ
Is it true?
Click to expand...
Click to collapse
I don't know, but I do know that if you do what I suggest, the only data to recover would be encrypted default settings with no personal information.
Sent from AOSP koeMod 4.4.2 w/ Franco kernel

CyanogenMod 12.0 for Photon Q

Public service announcement: Official cm-12.0 nightlies for Photon Q have been enabled.
Download link: http://download.cyanogenmod.org/?device=xt897
Gapps (use gapps-lp-...): http://d-h.st/users/dhacker29/?fld_id=27426#files
Recovery TWRP 2.8.5.0 for xt897: http://d-h.st/2e6S
Device specific source repos:
https://github.com/CyanogenMod/android_device_motorola_xt897/tree/cm-12.0
https://github.com/CyanogenMod/android_device_motorola_msm8960_jbbl-common/tree/cm-12.0
https://github.com/CyanogenMod/android_device_motorola_qcom-common/tree/cm-12.0
https://github.com/CyanogenMod/android_kernel_motorola_msm8960-common/tree/cm-12.0
Please note:
In CM12, the Motorola 2012 msm8960 device line has been de-unified again, so moto_msm8960/moto_msm8960_jbbl builds are dead from now on.
Please check the xt897 device link for new Photon Q builds.
New features with caveats:
f2fs file system for /data and /cache partition can be used now.
You can switch to it in TWRP (don't forget to backup data and also the content of internal sdcard before changing the /data file system to f2fs in TWRP).
GSM users (SIM card mod):
Please switch the Settings>Mobile networks>Preferred network type to 'GSM/WCDMA auto' or 'GSM/WCDMA preferred' from 'Global' for correct modem functionality on GSM networks.
Known issues:
- USB audio output (analogue) via USB>audio Y-cable (Motorola Car Dock/EMU audio) is not working correctly yet
- USB audio DACs/sound cards connected as USB OTG peripheral do not work correctly yet
Awsom thank you
Planned a clean install today and just checked gapps where up to date. Just to find out cm 12.0 is out
nice
Edit:
Warning: No file_contextsdetected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system
detected filesystem ext4 for for /dev/block/platform/msm_sdcc.1/by-name/userdata
detected filesystem ext4 for for /dev/block/platform/msm_sdcc.1/by-name/system
Click to expand...
Click to collapse
can I Ignore that, since update went successfully?
EDIT2
Somehow /system partition got broken had to install twrp recovery (from first post) and reformat /system partition with it.
---------- Post added at 12:50 PM ---------- Previous post was at 11:59 AM ----------
kabaldan said:
[...]
New features with caveats:
f2fs file system for /data and /cache partition can be used now.
You can switch to it in TWRP (don't forget to backup data and also the content of internal sdcard before changing the /data file system to f2fs in TWRP).
[...]
Click to expand...
Click to collapse
What are those caveats or hat are the benificials?
Thanks in advance
kecksk0enig said:
Awsom thank you
Planned a clean install today and just checked gapps where up to date. Just to find out cm 12.0 is out
nice
Edit:
can I Ignore that, since update went successfully?
EDIT2
Somehow /system partition got broken had to install twrp recovery (from first post) and reformat /system partition with it.
Click to expand...
Click to collapse
You have to use recovery with full selinux support.
What are those caveats or hat are the benificials?
Thanks in advance
Click to expand...
Click to collapse
Caveat is that there's no option in TWRP to backup the internal emulated sdcard (data backups skip /data/user folder where the internal sdcard resides) but when changing from etx4 to f2fs, the entire data partition has to be formatted.
Another thing is that you have to use a recovery with f2fs support in kernel, which is currently only the TWRP 2.8.5.0 linked above or CM recovery that comes with CM12 (its installation is however disabled by default, can be enabled under Develeper options.)
Benefit of f2fs compared to ext4 is faster I/O, more responsive device and higher benchmark results.
My Antutu score with f2fs (run only once as I'm not that interested in benchmarks) was 20694 (Storage I/O 719, Database I/O 630).
installing it right now, be back soon with reports of first impressions
- video cam doesnt work
- music app doesnt rotate to landscape and i get a lot of errors saying "music doesnt work anymore"
ill keep testing..
November91 said:
installing it right now, be back soon with reports of first impressions
- video cam doesnt work
- music app doesnt rotate to landscape and i get a lot of errors saying "music doesnt work anymore"
ill keep testing..
Click to expand...
Click to collapse
video recording seems to be working good
but I can't launch camera app by long-pressing the camera button, even though I got a tactile feedback...
palmwangja said:
video recording seems to be working good
but I can't launch camera app by long-pressing the camera button, even though I got a tactile feedback...
Click to expand...
Click to collapse
I think this is also an "issue" with CM11 because none of the other JBBL devices have a dedicated camera button.
Also, I think you mean "haptic" feedback. Tactile is the type of feedback having a great keyboard provides. Haptic feedback is vibration
long-press camera to launch cam app doesnt work for me either.
i'm also experiencing a lot of trouble with my wifi, it connects only occationally, but most of the time its offline
arrrghhh said:
I think this is also an "issue" with CM11 because none of the other JBBL devices have a dedicated camera button.
Also, I think you mean "haptic" feedback. Tactile is the type of feedback having a great keyboard provides. Haptic feedback is vibration
Click to expand...
Click to collapse
It's weird, I didn't have any problem with the camera-button launch on CM11....
---------- Post added at 01:40 AM ---------- Previous post was at 01:36 AM ----------
Up until CM11, I replaced keypad_8960.kl and keypad_8960.kcm to customize my keyboard, but CM12 didn't want to let me do that?
I double-checked but no-effect at all....
1. I really need to replace SYM with Search just to re-enable Quick Launch functionality.
2. CAPS for Shift, and Shift for CTRL.
Hi I am experiencing random wifi disconnects.
Catlog attached: http://pastebin.com/qV6kZfyT
Any advise? I allready changed to different wifi channels and also reinstalled cm12 (with reformat of course)
Ty
Everything seems to be working fine for the most part, although battery usage seems to be rather high (with wifi and my screen on, it lost ~1% every 3 minutes while plugged in).
palmwangja said:
It's weird, I didn't have any problem with the camera-button launch on CM11....
---------- Post added at 01:40 AM ---------- Previous post was at 01:36 AM ----------
Up until CM11, I replaced keypad_8960.kl and keypad_8960.kcm to customize my keyboard, but CM12 didn't want to let me do that?
I double-checked but no-effect at all....
1. I really need to replace SYM with Search just to re-enable Quick Launch functionality.
2. CAPS for Shift, and Shift for CTRL.
Click to expand...
Click to collapse
Oops, never mind.
layout file we used for KitKat and before does not necessarily work well with Lollipop.
You have to recreate them.
palmwangja said:
Oops, never mind.
layout file we used for KitKat and before does not necessarily work well with Lollipop.
You have to recreate them.
Click to expand...
Click to collapse
wrt Camera,
install Motorola Camera apk prior to version 4: you can solve two problems at once
1. you can save directly to SD card
2. you can launch via the shutter button
I tried version 4 & 5 which employed material design, but it fc'd with the following error:
java.lang.RuntimeException: createContext failed: EGL_BAD_ATTRIBUTE
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1192)
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1183)
at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1033)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1400)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239)
Click to expand...
Click to collapse
Here is the working version : http://www.ibtimes.co.uk/moto-x-2nd-gen-stock-camera-gallery-apps-moto-g-how-install-1465213
but you can use the most recent moto gallery though : http://forum.xda-developers.com/moto-g/themes-apps/apps-motorola-camera-gallery-apps-t2965282
kabaldan said:
Yes, you can restore a data backup made from ext4 file system to the new f2fs file system in TWRP.
Click to expand...
Click to collapse
I tried that and it did not work for me. I used TWRP 2.8.5.0, installed CM12 on ext4, installed my apps, did a backup, changed to f2fs and then restored my backup. TWRP complained about the filesystem-change (something like "backup was made on ext4, it may not boot eventually") but restored my data.
The next boot took very long and then the "Android is upgrading" window came, telling me it is updating >170 apps. That's about twice as much as normal. When that finished I got many FCs and not a single non-system app was working. Starting it from the launcher gave me a FC every time.
I tried it two times, same result.
I even have some more problems with F2FS. Under heavy usage it corrupted my filesystem three times in two days. It starts with errors during app-install (error-codes 500, 503, 506 and/or 509, as far as I remember). Restoring these apps with Titanium doesn't work either.
Then there will be an inaccessible folder in /data/app/ with the name of the app causing the install errors. You can find out which folder it is easily by booting into TWRP and see the messages. It will tell you "Unable to stat /data/app/appname". Sometimes also something called /data/system/dropbox-[randomnumber] has the same error (and I don't have dropbox installed!).
Then it is getting worse and worse. You won't see this folder with normal file managers, but it will show up in the console with "ls -la". You can't remove this folder with "rm -rf" on the console, even with superuser rights. You can't remove the folder in TWRP because you can't select it. Wiping /data does not work, neither, because it will only remove all folders and files but can't remove this broken thing. It's also not possible anymore to make and restore backups. Do a filesystem check will result in an error and an unbootable system. Save with "restore permissions".
The only thing working is changing the filesystem to do a full format and then change it back to f2fs and then do a clean install. Until it happens again.
I switched back to ext4 now for /data and /cache and everything works again But f2fs felt great, it was responding faster.
tobby88 said:
I tried that and it did not work for me. I used TWRP 2.8.5.0, installed CM12 on ext4, installed my apps, did a backup, changed to f2fs and then restored my backup. TWRP complained about the filesystem-change (something like "backup was made on ext4, it may not boot eventually") but restored my data.
The next boot took very long and then the "Android is upgrading" window came, telling me it is updating >170 apps. That's about twice as much as normal. When that finished I got many FCs and not a single non-system app was working. Starting it from the launcher gave me a FC every time.
I tried it two times, same result.
I even have some more problems with F2FS. Under heavy usage it corrupted my filesystem three times in two days. It starts with errors during app-install (error-codes 500, 503, 506 and/or 509, as far as I remember). Restoring these apps with Titanium doesn't work either.
Then there will be an inaccessible folder in /data/app/ with the name of the app causing the install errors. You can find out which folder it is easily by booting into TWRP and see the messages. It will tell you "Unable to stat /data/app/appname". Sometimes also something called /data/system/dropbox-[randomnumber] has the same error (and I don't have dropbox installed!).
Then it is getting worse and worse. You won't see this folder with normal file managers, but it will show up in the console with "ls -la". You can't remove this folder with "rm -rf" on the console, even with superuser rights. You can't remove the folder in TWRP because you can't select it. Wiping /data does not work, neither, because it will only remove all folders and files but can't remove this broken thing. It's also not possible anymore to make and restore backups. Do a filesystem check will result in an error and an unbootable system. Save with "restore permissions".
The only thing working is changing the filesystem to do a full format and then change it back to f2fs and then do a clean install. Until it happens again.
I switched back to ext4 now for /data and /cache and everything works again But f2fs felt great, it was responding faster.
Click to expand...
Click to collapse
Interesting.
I had no trouble to restore the data from ext4 TWRP data backup to the newly created f2fs userdata file system.
And I haven't experienced any data corruption since the switch to f2fs so far...
kabaldan said:
Interesting.
I had no trouble to restore the data from ext4 TWRP data backup to the newly created f2fs userdata file system.
And I haven't experienced any data corruption since the switch to f2fs so far...
Click to expand...
Click to collapse
Um... no problem at all on my side either.
f2fs migration and data restore were both very smooth and no pain at all.
Overall, CM12 experience was way better than what I originally expected. with an antutu 20K > score.
CPU Governor setup doesn't seem to be sticky after reboot, it comes back to 'interactive' whenever I set them up for others.
I am not able to disable the LED light when the battery is being charged.
Do I overlook some option?
palmwangja said:
CPU Governor setup doesn't seem to be sticky after reboot, it comes back to 'interactive' whenever I set them up for others.
Click to expand...
Click to collapse
Confirm that.
Loader009 said:
I am not able to disable the LED light when the battery is being charged.
Do I overlook some option?
Confirm that.
Click to expand...
Click to collapse
My LED settings are still working out as expected by probably having inherited the value from the previous installation of CM11.
CM12 simply lacks the settings dialog?
@palmwangja, the settings dialog is there but I cannot set the color (completely missing), pulse length and speed (both are there but greyed out). (Well, the last two settings have also been greyed out in CM11.)
So the settings are kind of useless. We are only able to enable/disable "battery light" and "pulse if battery low".
But I think it is just a CM12 issue being in early development. It will probably be fixed in the next few months.
palmwangja said:
CPU Governor setup doesn't seem to be sticky after reboot, it comes back to 'interactive' whenever I set them up for others.
Click to expand...
Click to collapse
looks like CPU Governor setting section gone for a while. since 0221 nightlies.

[J710FN] need help, TWRP crypto footer and unmout data. (SOLVED)

Hi, you can see my question.
I've try wipe, but only data works. And no change.
I've try to réinstall the custom rom, you can see result.
Ttry to flash stock rom with odin, odin failed.
and try to réinitialise with smart switch ( he say me i havent tow slot for sim, i know). And ... nothing change.
The device has been already root, and i've already change for this custom rom with no problem.
Thanks for your help.
Edit: with format data after wipe data and after reboot on twrp, no red line, i've install the rom. good : i've the rom, bad : the problem is come back.
Just for to be sur, this screenshoot is just a example. Other installation make me the same error.
This rom work really good and other people haven't any problems.
Send me the kernel and I disable /data ecncrypting for you
DThrawn said:
Hi, you can see my question.
I've try wipe, but only data works. And no change.
I've try to réinstall the custom rom, you can see result.
Ttry to flash stock rom with odin, odin failed.
and try to réinitialise with smart switch ( he say me i havent tow slot for sim, i know). And ... nothing change.
The device has been already root, and i've already change for this custom rom with no problem.
Thanks for your help.
Edit: with format data after wipe data and after reboot on twrp, no red line, i've install the rom. good : i've the rom, bad : the problem is come back.
Click to expand...
Click to collapse
do't worry it is normal i explain you
when you format with twr the data is readable
and the first time starting system Samsung encrypt the file so txr can't mount again data
but don't care about it
DThrawn said:
Edit: with format data after wipe data and after reboot on twrp, no red line, i've install the rom. good : i've the rom, bad : the problem is come back.
Click to expand...
Click to collapse
It's all because kernel has encrypted /data and data encrypts after a reboot. Some changes in the kernel solve your problem. Data will mount always after some changes in the kernel
maxx35000 said:
do't worry it is normal i explain you
when you format with twr the data is readable
and the first time starting system Samsung encrypt the file so txr can't mount again data
but don't care about it
Click to expand...
Click to collapse
Forgetten said:
It's all because kernel has encrypted /data and data encrypts after a reboot. Some changes in the kernel solve your problem. Data will mount always after some changes in the kernel
Click to expand...
Click to collapse
Ok, I understand more why it's all my recovery is down. my device work good also with what you said i'm more quiet.
But why reinitialisation with switch, let the same problem. The kernel is not reinitialised to ?
I've try to modify selinux permissions before to install a sound mod and create an folder init.d. Is it possible the problem stay cause that?
​
DThrawn said:
Ok, I understand more why it's all my recovery is down. my device work good also with what you said i'm more quiet.
But why reinitialisation with switch, let the same problem. The kernel is not reinitialised to ?
I've try to modify selinux permissions before to install a sound mod and create an folder init.d. Is it possible the problem stay cause that?
Click to expand...
Click to collapse
I don't sure about that but you should mount your /data using patched kernel. Send it to pm and I patch them to mount data fully
Forgetten said:
I don't sure about that but you should mount your /data using patched kernel. Send it to pm and I patch them to mount data fully
Click to expand...
Click to collapse
I'm a old beginner, I don't know where is the kernel and I don't know if it's sur to give mine cause i don't know what information of my device is in.
I appreciate your help but i can't give anything what a I don't know.
DThrawn said:
I'm a old beginner, I don't know where is the kernel and I don't know if it's sur to give mine cause i don't know what information of my device is in.
I appreciate your help but i can't give anything what a I don't know.
Click to expand...
Click to collapse
OK. Say. Which ROM do you use?
Forgetten said:
OK. Say. Which ROM do you use?
Click to expand...
Click to collapse
I use the evo-grace V1.2 J7 2016, but I ve never had problem before trying install sound mod with modification of selinux permission.
Unmount data always but not important, but some install, wipe or backup impossible it's new.
Flash before formatting data.
https://www.androidfilehost.com/?fid=24591000424951049
ashyx said:
Flash before formatting data.
https://www.androidfilehost.com/?fid=24591000424951049
Click to expand...
Click to collapse
Thanks, work realy fine. no red line at all.
Also i lose root and the problem come back when i try to reinstall the rom evo-grace, cause she's rooted and she has its own no encrypted file, i think.
DThrawn said:
Thanks, work realy fine. no red line at all.
Also i lose root and the problem come back when i try to reinstall the rom evo-grace, cause she's rooted and she has its own no encrypted file, i think.
Click to expand...
Click to collapse
When you flash anything that modifies or replaces the boot partition you need to reflash the patch afterwards or the data partition will be re-encrypted.
ashyx said:
When you flash anything that modifies or replaces the boot partition you need to reflash the patch afterwards or the data partition will re-encrypted.
Click to expand...
Click to collapse
Yes, i've can make some backup and install like that. It's help me. And now i've install permanetly the rom of max35000, , he have make some good modification. Problem solved with help of you to.
Thanks for have take a time for look that.
Forgetten said:
Send me the kernel and I disable /data ecncrypting for you
Click to expand...
Click to collapse
Hi my bro
Please help me
How can i make disablr / data ecncrypting ??
I have j710f frp on with pattern
Can i open it without losing data ??
---------- Post added at 10:09 PM ---------- Previous post was at 10:00 PM ----------
How can i make a kenel to disable data ecncrypting ??

Categories

Resources