yashsingh1/xdaforums huggingface dataset:
[Android General] The-Immortal:
[ Lava Magnum X604 Rooting Guide & General Discussion ]​

Key Features:

Lava Magnum X604 is a Smart Phone Powered by 6.00-inch HD 720x1280 pixels with 245 Pixels per inch (PPI) display,Android 4.4 KitKat,8 MP Auto Focus with with BSI Sensor for low light imaging and Broadcom 1.2GHz Quad Core processor coupled with Videocore IV GPU alongside 1GB RAM.

​

Rooting & Unlocking:

[B][SIZE="4"][COLOR="DarkRed"]Before You Begin[/COLOR][/SIZE][/B]
1. This will void the warranty of your device. We won’t be held responsible if you end-up bricking or damaging your device. Do it at your own risk.
2. This should only work on Windows based PCs Preferably Windows-7
3. There should be at least 65% charge in your
4. Make a Backup of Your Contacts,SMS,And Whats App data in SD Card

[B][SIZE="5"][COLOR="DarkRed"]Downloading Required Files:[/COLOR][/SIZE][/B]

Download Lava Magnum X-604 Root Toolkit [B][URL="https://drive.google.com/file/d/0B7OdRw3ALPgGdWcxOUx0c0llMGs/edit?usp=sharing"]Click Here To Download[/URL][/B]

[B][SIZE="5"][COLOR="DarkRed"]Preparing Your Windows PC And Magnum X604 for Rooting:[/COLOR][/SIZE][/B]

Extract Downloaded Lava Magnum X604 Root Tool Kit to your Windows PC Desktop

Go to Settings >> Backup & Reset >> Factory data Reset in your Lava Magnum X-604 and Do a factory data Reset and Complete setups after it re-boots

Enable USB Debugging On your Device You can find this option in Settings >>Developer Option >>USB Debugging.

Enable Allow Installation of Apps from Unknown Sources under Settings >> Security >> Unknown Sources also Disable verify apps bellow Unknown Sources

Now Connect your device via USB cable to windows PC and Start installing programs which is provided in tool kit in same order
1.) Adb Driver Installer 2) BRCM_Driver_Package 3.)For Windows x64 Bit/For Windows x32 Bit 4.)VRoot_1.7.8.7753_Setup

[SIZE="5"][COLOR="DarkRed"][B]Rooting :[/COLOR][/SIZE][/B]

Open installed V-Root Program and Grant USB Debugging Authorization when a pop-up pops in your device Remember to tick always allow option.

When connection is established between V-Root program and your device it will display your device model and Root Button in Opened V-Root Program

If You See Green Colored Root button in V-Root Program Just click it and Wait silently with out touching your device .After some Times Your
Device will reboot (Remember Don't Disconnect USB cable until and Unless V-Root Program show success in your PC )

When you see Success message in PC remove USB Cable and Reboot Your Phone

Now Your Lava Magnum X604 is Rooted

For more Development visit this thread

http://xdaforums.com/showthread.php?t=2875274

If you guys have any doubt regarding This particular device please drop a comment here in this thread I will try to clear it to my best of knowledge...

Please Don't say thanks in words Simply press Thanks Button Which is more Meaning full?

The-Immortal.
[Android General] boysha8:
Thanks a ton man

Thanks man, this is great. I was desperately in need of this. Will try this over the weekend and let you know if i have any issues.

Looks like you have completed the rooting on your phone, any tips on steps to optimize the phone after the rooting. Its pretty laggy for a 1.2Ghz quad core processor, not sure why? I am planning to remove all the bloatware, and see if i can increase system space for apps. Besides that any further suggestions to improve the speed and responsiveness, that can be achieved by rooting or otherwise?
[Android General] The-Immortal:
Ya you are 100% correct device is laggy out of box because of unwanted bloats and scraps provided by lava as system application ...

Major problem I have seen in device is the default volume level in headset is not at all up to the mark and also the software is not good enough ...

Its clear the mentality of lava is only to push devices to market and achieve their business target. They r not bothered about customer support,updates,and GPL also...

You can refer this thread which I have provided some steps to make default ROM faster .

http://xdaforums.com/showthread.php?t=2875274

Removing unwanted apps listed by me will definitely help you to increase system memory along with lag reduction ..

I will post a SElinux enabled busybox so that we can enable SElinux. Like this.

Also you can try the Fly-On mod to optimise more once you have installed busybox and init.d support ...

I have contacted some of developers to compile CWM Recovery but it seems take a bit time to port it for breadcom chip set

Once this job is done I will be able to produce some custom ROMs as per our requirement .[emoji6]
[Android General] yogii111:
unable to download the file keep on getting Sorry, you can't view or download this file at this time.

Too many users have viewed or downloaded this file recently. Please try accessing the file again later. If the file you are trying to access is particularly large or is shared with many people, it may take up to 24 hours to be able to view or download the file. If you still can't access a file after 24 hours, contact your domain administrator. error.
[Android General] The-Immortal:
Simple its google limitations.....

In India try to download between 11am to 2.30pm ....

Who ever downloaded contact me to make a mirror [emoji12]

It will help other users too....
[Android General] vasantec:
Not able to root x604

Hi, Immortal

I tried to root my x604 with the steps you described here, but not able to root it at all !

To hell with vRoot - can't understand those chinese junks ! Even if I have downloaded vRoot 1.7.3 english version, only few lines in english.

Irritation, irritation and irritation - nothing else !

Please suggest some other methods or ways, this one was completely disastrous for me !
[Android General] The-Immortal:
Dude we have twrp + philz recovery so just flash it via adb and flash super user ....that's it all done .....
[Android General] sathish.vadivel:
Memory problem

Hi i have to say thank to you. Recently i reviewed your article and i rooted my phone with help of your tutorial. But after rooted my internal memory comes to 1.63GB (Previously the internal memory was 5.2GB). Snapshot attached. Please help me on this.

Also can you please let me know how to upgrade my OS to lollipop. Awaiting reply for your reply.
[Android General] xdababby:
[MENTION=6301306]sathish.vadivel[/MENTION] hey buddy did you manage to sort this out?

I don't understand how Lava can produce such a nice phone with such a lousy implementation of the OS.
[Android General] sathish.vadivel:
Please reply for me quotes. I'm waiting for your response.

---------- Post added at 03:15 AM ---------- Previous post was at 02:50 AM ----------

Hi i have to say thank to you. Recently i reviewed your article and i rooted my phone with help of your tutorial. But after rooted my internal memory comes to 1.63GB (Previously the internal memory was 5.2GB). Snapshot attached. Please help me on this.
[Android General] Asif Hussain:
X604 Not booting up

Sir

I did flashing of my Lava magnum X604 with Flashify app. With this tool i tried to flash the boot.img and recovery.img that is mentioned in this site. Now Neither my phone is not booting up nor it is going into recovery. When i press on the power button is vibrates and then nothing appears.

Please help....

:crying:
[Microsoft Surface] bsined:
My work's guest Wi-Fi password changes monthly for security reasons. Normally, you right-click the network name in the connections charm, select "View connection properties" and change the password there. However, this menu option was left out of Windows RT, which makes changing the password using the command prompt netsh wlan set profileparameter name="%ssid%" keyMaterial="%key%" quite the hassle. I got tired of this and created a simple batch script that makes this much simpler.

Open Notepad, copy-paste the code below, and save the file with any name you like with the extension .bat (in order to do this, make sure to select All files in Save as file type).

@echo off

set /p ssid= SSID:
set /p key= New key:
netsh wlan set profileparameter name="%ssid%" keyMaterial="%key%"
echo

This script will prompt you for the network's SSID, then the new password, and then execute the password change command. You need to hit enter at the end of each string and the password is being handled as plain text locally.
[8525, TyTN, MDA Vario II, JasJam General] sahuja:
I tried installing the Yahoo Go (ygo_sp.exe). It installs successfully as the message says. But there's no icon in the Programs menu to access Yahoo. I restarted the Vario II and got a message YConnections.exe not found.

Please suggest IM clients(and there pros/cons with respect to others) to access Yahoo Messenger.

Thanks.
[Moto G Q&A, Help & Troubleshooting] Goldenmeadow:
Hi everybody!

I just got used Moto G, cheap :) There is problem with the unit: bottom half of the screen doesn't work (the digitizer). Guy told me he dropped it but I don't see any cracks or scratches...

So I followed video from youtube and disassembled it.

Now. My unit doesn't have two pieces: it doesn't have blue cover tape over LCD/digitizer connector and it doesn't have LCD Rear Metal Plate between board and digitizer...

Is it normal? Or looks like somebody took apart before me?...

It's Canadian unit, from Telus (if it matters).

And next question: what place do you recommend to get replacement screen/digitizer from?

Thanks!
[Moto G Q&A, Help & Troubleshooting] eckwheet:
Etradesupply. Or phonepartsusa if they have them. Last I looked they were $30-40 US or so. I Am unsure of the aluminum shielding. My assumption would be for conductivity to ground the digitizer but that's just a hunch. There were early model touch screen phones that would not register touch when you laid the phone down without holding it. I think my old HTC eris was that way. Before buying a display, I would watch the videos again and check where the tape is during disassembly and use masking tape on those areas and put back together. Worth a shot I would think.
[Moto G Q&A, Help & Troubleshooting] Goldenmeadow:
Thanks for reply!

Yes, I checked etradesupply. They have this part only in HK warehouse. And during ordering procedure they show some message about custom fees for private customers and suggest to register company with them...

Anyway. I found couple on eBay from one seller. But he calls this part "inner heat shield". So it cost me $7 plus $7 for shipping from LA to Canada (still cheaper than etradesupply).

So now I'll order new screen+digitizer from aliexpress and start my trial :)

Thanks again!
[Android Themes] True $tar:
Hello guys i am back with easy and very useful guide for newbies

This is a guide on how to mod your Settings.apk to make it like an ICS's one !!​

Screenshot of modified ics settings:p
[General Questions and Answers] dorfkids:
Is there any way to rename or copy data with a CWM Recovery Script?
[General Questions and Answers] demkantor:
More than likely yes, but can you be more specific?
[General Questions and Answers] dorfkids:
The thing below i must fix. Summed it's like this. I can not install a CyanogenMod update without problems because after each update i removed apps from the directories system/app and system/priv-app do not need. so-called bloat / bloatware. pay in words, before the cleanup there are about 120 apps, according to the cleanup only 51 apps. are just 70 apps I saving on me and thus also memory and resources.

To resolve this status 7 error, it should be enough, according to Michelsberg the /data/system/packages.xml file to rename or move, then start the update and after the update turn or rename the file back. This is what I would like my recovery scripts do, because I do not want to connect with every update my phone to the PC and run a ADB script.

I would be very happy when you can help me.
[General Questions and Answers] demkantor:
i got ya, to make those adb commands into something edify will understand do this

run_program("/sbin/busybox", "cp", "/data/system/packages.xml /data/system/packages.xml.bak");

then when its time to move back just reverse

run_program("/sbin/busybox", "cp", "/data/system/packages.xml.bak /data/system/packages.xml");

if this isnt what you're asking let me know, but it should at least get rid of those adb commands
[General Questions and Answers] dorfkids:
Thanks for answer. It doesnt work. I have test it with two different scripts. Can anyone find a failure?

-- Installing: /sdcard/0/cmupdater/variante1.zip
Finding update package...
I:Update location: /data/media/0/cmupdater/variante1.zip
Opening update package...
Installing update...
I:Using legacy property environment for update-binary...
I:Legacy property environment initialized.
about to run program [/sbin/busybox] with 3 args
BusyBox v1.22.1 static (2014-09-13 18:48 -0700) multi-call binary.

Usage: cp [OPTIONS] SOURCE... DEST

Copy SOURCE(s) to DEST

-a	Same as -dpR
-c	Preserve security context
-R,-r	Recurse
-d,-P	Preserve symlinks (default if -R)
-L	Follow all symlinks
-H	Follow symlinks on command line
-p	Preserve file attributes if possible
-f	Overwrite
-i	Prompt before overwrite
-l,-s	Create (sym)links

run_program: child exited with status 1
script result was [256]
I:Legacy property environment disabled.

Install from sdcard complete.

-- Installing: /sdcard/0/cmupdater/variante2.zip
Finding update package...
I:Update location: /data/media/0/cmupdater/variante2.zip
Opening update package...
Installing update...
I:Using legacy property environment for update-binary...
I:Legacy property environment initialized.
about to run program [/tmp/busybox] with 3 args
about to run program [/tmp/busybox] with 3 args
mount: mounting /dev/block/platform/msm_sdcc.1/by-name/userdata on /data failed: Device or resource busy
run_program: child exited with status 255
about to run program [/tmp/busybox] with 3 args
mount: mounting /dev/block/platform/msm_sdcc.1/by-name/cache on /cache failed: Device or resource busy
run_program: child exited with status 255
about to run program [/tmp/busybox] with 3 args
BusyBox v1.20.2-MIUI (2012-08-20 20:59:32 CST) multi-call binary.

Usage: cp [OPTIONS] SOURCE... DEST

Copy SOURCE(s) to DEST

-a	Same as -dpR
-R,-r	Recurse
-d,-P	Preserve symlinks (default if -R)
-L	Follow all symlinks
-H	Follow symlinks on command line
-p	Preserve file attributes if possible
-f	Overwrite
-i	Prompt before overwrite
-l,-s	Create (sym)links

run_program: child exited with status 1
about to run program [/tmp/busybox] with 3 args
about to run program [/tmp/busybox] with 3 args
umount: can't umount /data: Device or resource busy
run_program: child exited with status 1
script result was [256]
I:Legacy property environment disabled.

Install from sdcard complete.
[General Questions and Answers] demkantor:
So these are OTA updates that don't install if you removed apps? I guess I have never ran into this issue myself,

The command I gave you before was simply to copy a file from one place to another, you can either try to move it with mv or after the copy delete the file from original place
[General Questions and Answers] demkantor:
Can you also upload the original updater-script that comes with the OTA
[General Questions and Answers] dorfkids:
I think you mean this?!

http://download.cyanogenmod.org/?device=serranoltexx

At the moment my internetconnection is very slow. Later i will only upload the updater script from the cyanogenmod serranoltexx...
[General Questions and Answers] demkantor:
Post #7 is a copy of the updater-script that you made correct?

Can you post a copy of the original updater-script from the OTA as well?
[General Questions and Answers] demkantor:
If all you want to do is be able to download ota, then flash from phone just erase the ota sig check from the updater-script prior to flash, all can be done with a root explorer, no PC required

Otherwise if you don't want to change this at each update run the copy command of the/system/data/packages.... In the beginning of your updater-script and then delete it, then have it flash and then copy it back as final lines in updater-script

If you want I'll write it up for you
[General Questions and Answers] dorfkids:
When you will write it, it would be very very nice. All scripts i write doesnt work. I am very excited. Thanks allot!
[General Questions and Answers] demkantor:
No problem, it shouldn't take more than a couple minuets but its been a long day and I'm just getting in. Only a few hours to rest and need to work tomorrow.... I'll get to it after work.. Say 16hrs from now or so
[General Questions and Answers] demkantor:
i have less time than i think... so real quick

either delete these lines from OTA updater-script or just through a # in front like so

#mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");

#package_extract_file("system/bin/otasigcheck.sh", "/tmp/otasigcheck.sh");

#package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");

#set_metadata("/tmp/otasigcheck.sh", "uid", 0, "gid", 0, "mode", 0755);

#run_program("/tmp/otasigcheck.sh");

#sha1_check(read_file("/tmp/releasekey"),"7241e92725436afc79389d4fc2333a2aa8c20230") && abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");

#unmount("/data");

then it should let you flash the OTA no problem

then if you want to flash your script you should be ok, just looked it over and it is fine

this thread may help you a bit though -- http://xdaforums.com/showthread.php?t=2290009

otherwise let me know if you still get stuck
[General Questions and Answers] dorfkids:
When i remove the lines the OTA update works perfectly. Update went through without problems. How we can do it automatically every time that I doesnt have to edit the OTA updater script? That would be very nice!

So big thanks until now!

EDIT////

I have looked at the removed lines in more detail. Inter alia the "otasigcheck.sh". And what i have found?

#!/sbin/sh

# Validate that the incoming OTA is compatible with an already-installed
# system

if [ -f /data/system/packages.xml -a -f /tmp/releasekey ]; then
relCert=$(grep -A3 'package name="[B][COLOR="Red"][U]com.android.htmlviewer[/U][/COLOR][/B]"' /data/system/packages.xml | grep "cert index" | head -n 1 | sed -e 's|.*"\([[:digit:]][[:digit:]]*\)".*|\1|g')

grep "cert index=\"$relCert\"" /data/system/packages.xml | grep -q `cat /tmp/releasekey`
if [ $? -ne 0 ]; then
echo "You have an installed system that isn't signed with this build's key, aborting..."
# Edify doesn't abort on non-zero executions, so let's trash the key and use sha1sum instead
echo "INVALID" > /tmp/releasekey
exit 1
fi
fi
a
exit 0

So when i didnt remove the unuseful HTMLviewer.apk it works very fine without a error! I didnt remove any lines any more from the OTA updater script.

But I would like the file does not have!

Anyone a good idea what can be done?

So the HTMLviewer.apk is the only thing why we have the Status 7 error.

If I am not mistaken, we are back at the beginning. We need a script that moves the packages.xml before the update or rename it! Has anyone any idea how this can be realized?
[Xiaomi Mi 4] Ivyn87:
[IMG="paranoid"]http://hrbt.it/wp-content/uploads/2014/09/paback.jpg[/IMG]

I try to Install the Xiaomi Mi3 version of Paranoid Android ROM on my Xiaomi Mi4 and for now it's seem to be all working.

That you can found on xda (http://xdaforums.com/xiaomi-mi-3/general/rom-aospa-4-t2870826) or en.miui.com (http://en.miui.com/thread-42417-1-1.html)

For me work:

- Camera (photo and video)

- WiFi

- 3G/2G

- Radio

- Bluetooth

- Voice call

Don't work:

- GPS

- HDR on Camera don't work

- little bit a battery drain (3h SOT)

- IR

Now I test all other function of the smartphone and than update the thread

Installation guide (I follow this step):

- Enter to CWM recovery

- Manage System 1

- Full Wipe (format devilk cache, cache, system, data)

- Format data/factory reset

- Install the ROM

- Install the Gapp

- Reboot and enjoy

N.B. I have already backup the MIUI v6 with CWM, for now i have empty system 2.. I will try to restore Miui v6 and I will look if all work or nothing work

If someone want to test it here it's the link for the mi3 version

DOWNLOAD LINK

paranoid_cancro-4.6-BETA4

https://drive.google.com/file/d/0B5F9-GLRMrNhTXNqMHlBQm9sVlk/view?usp=sharing

pa gapp_mini 4.4.4

https://www.androidfilehost.com/?w=files&flid=15803

All thanks go to [MENTION=4898058]audahadi[/MENTION] & [MENTION=5162591]Shahan_mik3[/MENTION]

Me and the xda-forum are not responsibly for any kind of damage on your phone
[Xiaomi Mi 4] Ivyn87:
Paranoid Android 4.6 Beta 2 IT'S ONLINE :)

https://www.androidfilehost.com/?fid=23622183712472339

Changelog

*No new PA released this week, no new feature

*Merged device commit from Mi3-dev

*Stock video record should fix for now (remove 4k recording)

*Add mobile plan (for user that have it)
[Xiaomi Mi 4] m0e_03:
Beta2? Nice!! Change log please.. ;)
[Xiaomi Mi 4] Ivyn87:
This is the answer from the dev about my question on change log

I think it's only a optimized version of beta1
[Xiaomi Mi 4] bor3d2damax:
Nice!! Can't wait for my device to come in.
[Xiaomi Mi 4] pandasa123:
Do you happen to have a device tree?
[Xiaomi Mi 4] Ivyn87:
No we don't have.. This ROM isn't base on the new aosp ROM with xiaomi kernel, maybe in the next release
[Xiaomi Mi 4] AshRoller:
if cancro build is worked for mi4 ( i don't know mi4 codename), so you can use cancro device tree to start.
[Xiaomi Mi 4] audahadi:
Mi4 also share same codename...cancro..but don't know which version. So you can use cancro device tree to start with. By one told me..Mi3 and Mi4 share lot of spec.
[Xiaomi Mi 4] jackeagle:
Hmmm So it looks like Mi3 device tree can be used to build Rom for Mi4 ... Does it has Issues which Mi3 has ? Because I m willing to develop some Rom's to mi4 :)
[Xiaomi Mi 4] AshRoller:
you must already knowing this, that Xiaomi doesn't release kernel source code (some say they will release it on end of 2014). you can only use prebuilt kernel. it'll have issues, mostly sensors issues.
[Xiaomi Mi 4] jackeagle:
Yeah i know that :) The company is not releasing the source due to which already mi3 forum is in danger ....its breaking GPL Rules by law..
[Xiaomi Mi 4] schspa:
I tryed it, it's fine for daily use thanks.

来自我的 MI 3W 上的 Tapatalk
[Xiaomi Mi 4] sivabommakanti:
Can anyone tell me if the recents panel have card style like in android l? And the dynamic notifications is working?
[Xiaomi Mi 4] rajatsolanki007:
you can check roms of one plus one one as it has same processor and gpu i think will work flawlessly

and has same ram and camera
[Xiaomi Mi 4] schspa:
IR infrared can't use. please fix.

来自我的 MI 4W 上的 Tapatalk
[Xiaomi Mi 4] audahadi:
Not top priority but will be.
[Xiaomi Mi 4] Ivyn87:
Paranoid Android 4.6 beta4 It's Online

https://drive.google.com/file/d/0B5F9-GLRMrNhZXRWX05HblRZZHc/view?usp=sharing

The change log:

- Make all Quick Settings tiles act similarly in edit mode

- Add a new default AOSPA wallpaper

- Improve speed and stability of the core

- Adapt to the Peek standalone application package name change

No boot.img according to xda rules
[Xiaomi Mi 4] Hadi al-Haiqal:
What about the random reboot?..
[Xiaomi Mi 4] Ivyn87:
I use beta3 for two days and I don't have reboot.. I don't have test beta4 yet
[Xiaomi Mi 4] Hadi al-Haiqal:
What do you mean by no boot.img?.. Do i need to flash previous pa rom first?.. Now i'm on polska miui v5 build 4.8.15... On the way download..

---------- Post added at 01:02 AM ---------- Previous post was at 12:15 AM ----------

Ok.. Done flash.. Feel faster and smooth.. Thanks man..
[Xiaomi Mi 4] Hadi al-Haiqal:
Build 4
[Xiaomi Mi 4] DroidBot:
I flashed it. Rom is fastest one. but had random reboot in first hour after flash. overall I am very happy with rom. thanks :) ... just want to get relief from these reboots.

And please suggest any trick for eliminating reboots, if anyone know any trick.
[Xiaomi Mi 4] Hadi al-Haiqal:
Captivate keep awake.. But mine no random reboot.. Only reboot while installing lucky patcher..
[Xiaomi Mi 4] Hadi al-Haiqal:
Now confirm that random reboot only occur if put phone in pocket.. Not sure why..
[Xiaomi Mi 4] Ivyn87:
Becouse the issue it's a proximity sensor related