yashsingh1/xdaforums huggingface dataset:
[Android] sandix:
Have you ever had a phone where the space just wasn't enough for your apps or data, but you had an SD Card that you wished worked like the manufacturers advertise?

Well, today I will be teaching you how to create a modded kernel for almost ANY android device to allow all userspace data to be put on the sd card.

#### You will need the following:

* An Ubuntu based distribution in a Virtual Machine, or installed direct to disk.

* Superr's Kitchen [From here](http://xdaforums.com/chef-central/android/kitchen-superrs-kitchen-t3202296)

* A way to backup your current boot.img from your phone (Some ways include: TWRP, CWM, Terminal Emulator, etc)

* Basic understanding of Linux(Specifically Ubuntu) commands like nano, unzip, etc.

* A phone that has an unlocked bootloader to flash the new boot.img (Some phones do not require this, but always good to have when making custom kernels and ROMs)

#### Basic Setup

After installing Superr's kitchen you can launch it and create a new project. I usually name mine "nameOfProject_DeviceModel_Version" to keep it pretty simple. Example: "ExtDataKernel_a32eul_1".

So, backup the boot.img of your phone, I used twrp because it keeps the image decompressed, and original. Then follow these steps to get the boot.img decompressed on ubuntu, and edit files to work on the mod:

Put the boot.img into the project folder in superrs kitchen, then launch the Kitchen.

Select Boot/Recovery options

Select Unpack, this should take less than 10 seconds.

Now go back into the boot.img folder and find all files that have the extension of .fstab

In the file you will see a line that is something like "/dev/platform/block/mmcblk0pX /data"

a. Be sure the line in question has /data in it because that is all user data.

Edit the line to match your External SD Cards 2nd partition. (Should be partition 2 and setup as described [here.](https://urgero.org/android-projects/htc-desire-626-external-sdcard-data-partition) ) (Also note that partition one for this must be fat32 to work properly.)

Save the file(s) and then repack the boot.img.

Flash to your phone and reboot, wait some time and you should see it come up.

This is a basic how to, but if you have any more questions, please let me know and I will try to answer all of them.
[Android] rakshakb:
I am try this on my android one but is not working.
[E 2015 Q&A, Help & Troubleshooting] cell2011:
I bought a used xt1528 but when i put in my G acct i get a verify acct the device was reset to continue sign in with an acct that was previously synced on the device. What do i do? Please help
[E 2015 Q&A, Help & Troubleshooting] wogeboy:
Happens even if you do a reset or hard reset on this phone..

The original owner needed to remove his account from phone first and then do a factory reset.

Easiest way is to call orig owner and get sign in name and password.. enter it into phone and then delete it under settings/accounts. Then do a factory reset. (at least that's what I had to do)

Or have previous owner go into his google account and remove the device from the google dashboard (may work?)

https://productforums.google.com/forum/#!topic/nexus/S7wtd5j4uwY;context-place=forum/nexus
[E 2015 Q&A, Help & Troubleshooting] cell2011:
Dont i just need to wait 72 hours? Ive also since then changed my gmail password and hoping that might help. Also i got as far as the phone dialer and typed in *#*#4626#*#* but nothing came up. i also see the work around with Google japanese keyboard then privacy policy but i dont have that option i see some people do since Dec 2015. Im stuck do i just wait 72 hrs?. Google japan input missing and cant even do phone dialer to get into testing and eventually usb debugging
[E 2015 Q&A, Help & Troubleshooting] wogeboy:
Wait the 72 hours and see what happens... It should be ok (fingers crossed) :)
[E 2015 Q&A, Help & Troubleshooting] cell2011:
It's a clean ESN phone too I was able to do the meid code in phone dialer
[Sprint  Galaxy Note 4 Q&A, Help & Troubleshooting] ulremember:
Good Day To All

I am requesting someone to provide me with a link as how to recover ALL Data from Note 4 on Sprint to my computer. I broke my screen very badly yesterday and I need to pull data from my phone. I have a replacement coming and would like to have the data recovered when the phone arrives. I searched thru Google and I found no links for XDA instructions.

Also, and how to install data on new phone.

Thank you in advance for any and all assistance.

Blessings
[Android One (First-Generation) Cross-Device Genera] afireon8:
android one is not powering on . this is happen when i was flashing kitkat stoke rom on it . i chose the option download+formate all and connect my phone but after flashing finish its not powering on .

its detecting in sptool and i tried to flash stoke rom , flashing is successful but phone is not booting or power button not working .

in SPTool v5.1552 memory test it showing nand flash memory not detected .

i also showed this phone in service center they said to change motherboard which cost 3000 inr .

please help me is there any way to unbrick this.:confused:
[Android One (First-Generation) Cross-Device Genera] bx2nero:
It is recommended never to use "download+format all" option ......I have many times used sp flash tools for flashing stock rom ....I always used "firmware upgrade" option......I never faced any problem ....
[Android One (First-Generation) Cross-Device Genera] harkirat singhh:
same here bro...

my a1 also dead after flashing and not powering on

not even shows charging....

plz post if found any solution...
[Android One (First-Generation) Cross-Device Genera] harkirat singhh:
found something

i cannot try this because i dont hv fon with me....

http://xdaforums.com/showthread.php?t=1943442
[Android One (First-Generation) Cross-Device Genera] Harsh khatri:
Try latest sptool i also face this problem & flash stock rom lollipop build may it will help you :))* (y)
[Android One (First-Generation) Cross-Device Genera] jatin.rewri:
just use sp flash tool 5.142
[Android One (First-Generation) Cross-Device Genera] Tathyajit:
Guys m facing the same problem... Using sp flash tool version 5.1604 .. Help me plz
[Galaxy Note5 Q&A, Help & Troubleshooting] darweezie21:
I just recently noticed this setting under sounds on the setting menu, does anyone here also have trouble enabling it? and does it work?
[Galaxy Note5 Q&A, Help & Troubleshooting] JKLIMES1:
You have to have headphones plugged in before you can enable it. Not sure exactly about the results you get from it as i don't use it.
[Galaxy Note5 Q&A, Help & Troubleshooting] darweezie21:
Yea I'll have my bluetooth speakers connected but the option isn't made available to switch on.
[Galaxy Note5 Q&A, Help & Troubleshooting] JasonJoel:
Wired headphones
[Galaxy Note5 Q&A, Help & Troubleshooting] darweezie21:
is it a wired only feature? non bluetooth?
[Galaxy Note5 Q&A, Help & Troubleshooting] JKLIMES1:
plug in headphones and turn it on. when you are on bluetooth it will likely still be to the "on" position but greyed out. Not sure if it actually does its thing via bluetooth though. Try it out with it turned on and off and see if it makes any difference in sound when connected to bluetooth.
[Galaxy Note5 Q&A, Help & Troubleshooting] cewrld:
As far as I know you can't actually transfer ultra high quality audio over bluetooth. I haven't seen any bluetooth headphone or speaker that supports over CD quality. (In terms of sample rate, bit depth etc.) but I might be wrong.
[Galaxy Note5 Q&A, Help & Troubleshooting] darweezie21:
that makes sense.
[Wing, P4350 Herald Upgrading] fzzyrn:
I have a tmobile wing with the touch-it 1.1 WWE rom installed. I am unable to connect to activesync. Does anybody else have such a problem? How can i fix such a problem? I have already disassociated all sync partnerships with the old rom.
[Wing, P4350 Herald Upgrading] TylerC161:
1.1 works fine with ActiveSync, theres something particular going in your case its not letting you.

Try uninstalling activesync, rebooting, re installing, then try to partner again.
[Android Q&A, Help & Troubleshooting] CipryIonutz:
Recently , i make an factory reset to my HTC desire 820u. After that , my phone robooted , perfect normaly , but said that Setup Wizard can't start. I already had installed TWRP , and i decided to boot a STOCK Rom. But all say that in TWRP : FAILED. Please help me , i'm scared as hell because of my father who can find out that i lost my guarantee and bricked my phone.

Sorry for my bad english, i hope you will understand.

Edit: Now it is stuck at HTC logo, f*u*c*k my life......
[Android Q&A, Help & Troubleshooting] nagalun:
Can you boot to TWRP?

I need the full error other than 'Failed', failed what?

Did you download a stock ROM and flashed it in TWRP?

Try what's explained in the 3rd post of this thread:

http://xdaforums.com/desire-820/development/rom-lollipop-htc-desire-820n-a51ul-t3239074

(CHECK if it's compatible with your phone first)
[Android Q&A, Help & Troubleshooting] CipryIonutz:
I downloaded that firmware and say

E: Unable to open zip file

Error Flashing zip 'sdcard/fimware.zip'

Now i download that backup

Edit: I don't fully understand what CID is , but i can say that i have the phone from Orange , Romania

Edit2: I found my CID , is HTC_032, my CID is on that list , and still , don't work.
[Android Q&A, Help & Troubleshooting] nagalun:
Literally on the third post:

THEN : Rename firmware.zip to 0PFJIMG.zip and put it in your sd-card and go to hboot then it will verifying the zip file then you accept to update

Boot into "hboot" whatever that is, not flash in recovery.
[Android Q&A, Help & Troubleshooting] CipryIonutz:
but now my phone is stuck at HTC Logo
[Android Q&A, Help & Troubleshooting] nagalun:
Is your bootloader unlocked?

if so boot into fastboot and do "fastboot oem lock", then flash the firmware by booting to hboot
[Android Q&A, Help & Troubleshooting] CipryIonutz:
I relock it , now i download an OTA for A51_UL , hope will work

Edit: After Checking 0PFJIMG say to reboot, not if i accept update. WHYY

EDIT 2 : After downloading other firmware , it is working , THANK YOU SO MUCHH , YOU're a lifesaver , without that thread I would never Repair my Phone , and My father still don' know that i bricked my phone :P :) Thank you so much!
[Android Q&A, Help & Troubleshooting] nagalun:
Did you try the same firmware.zip of before? The thread I linked? This one?:

https://mega.nz/#!h00xgT5I!ZEpr24iGvsIOPjrohZJ5NszIfvfmBVJ0gnDfgDPAqhE
[Android Q&A, Help & Troubleshooting] CipryIonutz:
Yes, that is , but now , aftes Updating All 135 Apps, say Unfortunately , Setup Wizard has Stopped, the background is black . That's the reason why i breaked my phone at the first time , and persist, What can i do?? How can i install that Backup??

Edit: All i can Acces is Kid Mode :) Fkin' awesome, and , if i press back button say "Unfortunately , Setup wizard has Stopped
[Android Q&A, Help & Troubleshooting] nagalun:
Remove all things, like microsd and sim, boot into recovery and Factory reset, then boot the phone and when it shows the animation of htc hold volume down until it fully boots up, it should say "Safe Mode" at the left corner of the screen if that doesn't do it, I don't know what will.
[Android Q&A, Help & Troubleshooting] CipryIonutz:
I see there safe mode , but still, don't work. I remember when i bought the phone , i need to charge it with his charger , to unlock it , that can be?

The charger in now to a friend , that why i ask you:)
[Android Q&A, Help & Troubleshooting] nagalun:
The charger should not make any difference, if that didn't work then its fault of the guys who made the phone. I'll try to see if I can help you more, wait.
[Android Q&A, Help & Troubleshooting] CipryIonutz:
Can you tell me a good custom room to install , that may be the single solution
[Android Q&A, Help & Troubleshooting] CipryIonutz:
I will go to Orange , i hope there is no problem in beeing Relocked, because now i have no root and no TWRP, i hope i still have guarantee
[Android Q&A, Help & Troubleshooting] nagalun:
If there isn't any warning or anything obvious that tells you have unlocked it then it should be okay
[Xperia Z3 Q&A, Help & Troubleshooting] LynnB:
Sorry to have to ask which may seem a simple question...I today got an Z3.....i installed messenger and wanted to save an image....it stated imaged saved BUT WHERE??? The same with a photo via text message......Not in album or photos.....someone please help me...Thank you.
[Xperia Z3 Q&A, Help & Troubleshooting] Madzix:
It usually creates an additional folder, where the images get stored.

If you can't see them trough album, then try File commander-pictures.

They should show somewhere there.

Have you tried restarting the phone?

Try to download an additional galery app from playstore.

If they are still not displayed, then just doa factory reset on the phone, of course backup any important data before that and then see what happens. I've never heard of something like that, but it might just be a glitch. :)
[Xperia Z3 Q&A, Help & Troubleshooting] lamacun:
Try a different gallery app like Quickpic

https://play.google.com/store/apps/details?id=com.alensw.PicFolder&hl=en
[Your Portfolio] OMSoftwareLLC:
Announcement: Attention Android users, it is my pleasure to introduce the all new game app, Oppy! After months of development, it is finally here!

Oppy is a multi-mode arcade and race against the clock brain game. The objective of the game is to go against your natural reactions of swiping in the direction that is heard and read and to do the exact opposite. If it says up, swipe down, left, swipe right, etc. Includes Achievements and Leaderboards capabilities.

Available for Android on Google Play Store and Amazon App Store.

Just search "Oppy", the icon is a blue O with an arrow coming out of the top.

[IMG="App Icon"]https://i.imgur.com/xg7YqGD.png[/IMG]

I can't link yet as I am a new member.
[G 2014 Q&A, Help & Troubleshooting] alfredxx300:
first of all, thank you very much XDA for possible answers

my phone is dead, this hard brick , the PC recognizes it as ZEUS flash device , but can not get the files to recover

Is there any solution?

G is a motorola 2014 xt1063

The problem occurred when updated from 4.4.4 to 5.0.2 via OTA
[Galaxy S6 Edge Q&A, Help & Troubleshooting] Serhatisb:
I have the turkish model for the S6 Edge(SM-G925FQ)

Can I do the thing what the title says?

Thanks.

-Serhat ;)
[Galaxy S6 Edge Q&A, Help & Troubleshooting] faridra:
i suggest you no to...

just wait couple of weeks and you'll get it over OTA

im waiting like many other peoples....
[Sony Cross-Device General] dontbelive:
Hello everyone,

HERE IS A SCRENSHOT FOR YOU in 55 mins in 11%

Download XPERIA PowerSaving Mod

Revert back to Stock Settings

CHANGES

Changed INTERACTIVE Governor to CONSERVATIVE

Disabled TOUCH BOOST

Disabled Sync Frequency

Did more changes I don't know how to explain Hahaha :D

Should work on all XPERIA's Please test on your device and I add

I would appreciate a small Donation, u can but u dont need to its up to you if u want :D thanks to all who are supporting me since Z1 generation :D

SUPORTED DEVICES
[Sony Cross-Device General] dontbelive:
Thank this post if mod improves battery ?
[Sony Cross-Device General] dontbelive:
Thanks this post if mod don't make changes ?
[Sony Cross-Device General] dontbelive:
Thank this post if this mod made it battery worse ?
[Sony Cross-Device General] rubiicon59:
Haha this guys off his head, love it :D

Will give it a try and let you know in a couple of days.
[Sony Cross-Device General] GudduAmbi052829:
u wrote all xperia

n then supported

xz2

xz3

xz3

does it support xz1?
[Sony Cross-Device General] DorianX:
I think those are the TESTED DEVICES

Enviado desde mi D6646 mediante Tapatalk
[Sony Cross-Device General] dontbelive:
These are tested devices,

Others I did not test,

if it works give me a reply and I will add it to list

Hahaha what u mean by off his head? ??

thanks

Totally right ?
[Sony Cross-Device General] The Bankshooter:
I will leave my mark here

hope this works with Z1
[Sony Cross-Device General] wulfiss:
It works fine in z3 tablet compact, now I'm testing the duration of the battery, thanks for the work.
[Sony Cross-Device General] Alvian_P:
how about performance when Governor set to Conservative..?
[Sony Cross-Device General] maple_mak:
Tested, getting worse at Asphalt 8 than before. :(
[Sony Cross-Device General] dontbelive:
If u don't play games, und just do chit chats etc then u don't notice any performance loss, if u play games then it will be bad ?

Ofc it will be bad, it's not for playing games, it's for powersaving
[Sony Cross-Device General] dontbelive:
Revert back to Stock Settings
[Sony Cross-Device General] Ningyou Higeki:
I'm going to try this... But I think you should remind the users to back up the original file, OP.
[Sony Cross-Device General] dontbelive:
No need I already added revert back zip on OP
[Sony Cross-Device General] ardentis:
Does this mod require having Conservative governor?
[Sony Cross-Device General] dontbelive:
All kernels have it, even stock kernel so yeah u can flash, I'm using stock kernel too
[Sony Cross-Device General] dontbelive:
For demonstration here is my Screenshot of battery life so far, will post at the end of the day again one more
[Sony Cross-Device General] GigaSPX:
Wow, this mod works wonders. I'm 10 hours off the charger, with normal usage, and it's down to 60% with 2.5 Hours of Screen on time at this time of 18:30. I would have hit 50% around 12:00 and getting 2 hours of Screen on Time with the normal usage I do. Thanks a lot for the mod!

And I noticed that playing games would worsen the use of this mod, but what about watching videos? Such as Youtube or watching videos on BSPlayer/MXPlayer?
[Sony Cross-Device General] wulfiss:
here my report after to flash the mod on my z3tc SGP611.. for chrome, facebook, music, youtube that is the usage general that i do,the work was fluid and without lag.. thanks

Sorry for my english.
[Sony Cross-Device General] dontbelive:
Videos are normal, no impact to these
[Sony Cross-Device General] MaHDi2LoNE:
hi

This is for custom ROMs?
[Sony Cross-Device General] AlanDS:
You can use it on stock roms also. But you need root and recovery.
[Sony Cross-Device General] MaHDi2LoNE:
just stock roms? or custom roms and stock roms?

if custom, What ROMs?

tnx
[Sony Cross-Device General] dontbelive:
On every ROM :D
[Sony Cross-Device General] ryandxter:
Let's see if this mod will make my phone getting colder and save more power battery!! ? for comparison I've attached my SOT usage for 6 hours++ from 100% to 1% before use this mod I expect more later
[Sony Cross-Device General] dontbelive:
Hahaha you already have nice SOT XD hope work for you ?
[Sony Cross-Device General] GigaSPX:
Which Xperia do you have? You already got the best battery life already.
[Sony Cross-Device General] Funkmasterchilla:
I bet it's a Z3 Compact !
[Sony Cross-Device General] ryandxter:
I'm using Xperia Z3
[Sony Cross-Device General] GigaSPX:
This is why I can't have nice things when Verizon tricked all its customers about getting a Z2 instead of the Z3.
[Sony Cross-Device General] ryandxter:
Then IMHO guess let's be smart user (customers) when using smartphone ?.. Some cases a country will limits it's network provider ie: US Verizon or Japan Docomo = means fewer dev

Anyway This is my SOT today,, improve 1hours usage than before ?
[Sony Cross-Device General] cloakdrone:
Trying this on Z1 C6902, MX rom v8, Advanced kernel v16, will post results.

i disabled kernel adiutor settings so your zip does it's magic (:D)

Hoping it does on z1 too!

some screenshots of battery life on this thread are hard to believe, insane! i get 3hrs 45mins to 4hrs 5 mins on the best of days. LOL.

Thanks!
[Sony Cross-Device General] zirado:
Z3, eXistenZ v7.0.0 without any mods
[Sony Cross-Device General] ryandxter:
lol I can see there you always using power saver mode :p

mine without power saving about 6,22h and then using this mod about 7,12hours... I knew my SOT could better as yours if I'm use power saving mode too, nice share
[Sony Cross-Device General] cloakdrone:
are you rooted? and do you use xposed, greenify, amplify?
[Sony Cross-Device General] RyTekk:
I got 1 h 0x minx in first 10% with my tunable interactive on Z2 :D. I experience laggy when using conservative (tune its value to lionheart, got better performance a lot but also drain battery faster).
[Sony Cross-Device General] dubist:
flashed on Xperia Z C6603 with Existenz Rom, lost over night 0% without Stamina Mode .
[Sony Cross-Device General] zirado:
Under the mods I didn't think Sony, off course that is normal STAMNIA allways on.[emoji2]
[Sony Cross-Device General] ryandxter:
of course I'm rooted with xposed & greenify (but I'm disabling its automatic hibernation) in other words I rarely sleep / hibernate my phone

FYI you'll get more battery life & stability if without xposed (in my case & I've tested before)

my ROM eXistenZ v7
[Sony Cross-Device General] JanoGT:
Great job! It work awesome in my Xperia Z2 MM "575" ???
[Sony Cross-Device General] Gshrestha:
Will it work in my Xperia Sp [ CM13 ] ?:confused:

Further here's my initial SOT [ before flashing your mod ]

M gonna try your mod Now :) Hope it juices up :o
[Sony Cross-Device General] Gshrestha:
Got BootLoop :crying:
[Sony Cross-Device General] Mohamed Elhadad:
which rom u use ???
[Sony Cross-Device General] FreshlyBaked 420:
Stating that you got bootloop is pretty pointless, why don't you state what phone, software version or rom as well. People aren't mind readers and cant help with out the proper info.
[Sony Cross-Device General] Magdy Yassen:
Works Fine On Xperia Z2 MM 575 Lose 2% 16 Min (Y)
[Sony Cross-Device General] ProudRed:
Not working on Xperia Z. No changes in the kernel
[Sony Cross-Device General] Gshrestha:
Here's the screenshot of detailed info of my phone.Its CM13.

Apart from this , I have flashed PurePerformance X.

I wish the Powersavingmod would work in mine too.
[Sony Cross-Device General] noobp:
Anyone tested on Xperia L?? I am running MM AOSP+PRO latest.
[Sony Cross-Device General] Vortelf:
I simply can say that I love you. This is just awesome tweak. I have twice SOT than before while constantly playing Pokemon GO
[Sony Cross-Device General] freaky2xd:
well i prefer using a custom kernel for undervolting and a kernel tuner but your mod isnt that bad. i havent seen any battery life changes yet but lets see... what other changes did you make?
[Sony Cross-Device General] speedy56:
Which one of these lines disables Touchboost?

Is it input boost freq (bolded) :confused:

rm /data/system/perfd/default_values
echo "conservative" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "conservative" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo "conservative" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo "conservative" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
echo 50 > /sys/devices/system/cpu/cpufreq/conservative/down_threshold
echo 1 > /sys/devices/system/cpu/cpufreq/conservative/freq_step
echo 0 > /sys/devices/system/cpu/cpufreq/conservative/ignore_nice_load
echo 1 > /sys/devices/system/cpu/cpufreq/conservative/sampling_down_factor
echo 200000 > /sys/devices/system/cpu/cpufreq/conservative/sampling_rate
echo 200000 > /sys/devices/system/cpu/cpufreq/conservative/sampling_rate_min
echo 95 > /sys/devices/system/cpu/cpufreq/conservative/up_threshold
echo 500 > /sys/module/cpu_boost/parameters/boost_ms
echo 0 > /sys/module/cpu_boost/parameters/sync_threshold
echo 500 > /sys/module/cpu_boost/parameters/input_boost_ms
[B]echo 0 > /sys/module/cpu_boost/parameters/input_boost_freq[/B]
start mpdecision
# VM Tweaks:
echo 95 > /proc/sys/vm/dirty_ratio
echo 60 > /proc/sys/vm/dirty_background_ratio
echo 1000 > /proc/sys/vm/dirty_expire_centisecs
echo 2500 > /proc/sys/vm/dirty_writeback_centisecs
echo 20 > /proc/sys/vm/swappiness
echo 50 > /proc/sys/vm/vfs_cache_pressure
[Sony Cross-Device General] dontbelive:
Input mode and touch boost mode is disabled to save battery bro :)
[Sony Cross-Device General] theduke7:
this cause extreme lag on z3 on SliMM MM 2.1 Rom