Related
I've been getting a lot of messages asking, 'How do you create ROM's?' Well, I got so many I decided to make this. This process is called cooking a ROM.
The first thing you have to do is get a ROM that's already been created and signed that you'd like to change around. Make sure it's a signed update.zip. Then, you unzip the rom, and you should see directories, like data/ and system/. If you want to add/remove applications in the ROM, you would goto data/app/. In there you will find the apk's of files that will be pre-installed on the ROM. You can add or remove the apk's there. Another place for the apk's is in /system/app. You really shouldn't put new apk's in here, but you can remove the system apk's. So, if you wanted to remove Sprint TV, delete Sprint_tv.apk. Also, the apk's can be treated as zip's; you can unzip them and look inside, and if you wanted to, change around the icon's and stuff like that. After you are done changing around the ROM, you might want to edit the build.prop (This part is optional!) You would find it in system/build.prop. Look for a line that says 'ro.build.description='. You can edit that with the name of your ROM. When your all done, you would zip it all back up, and sign the update.zip. On windows, this is pretty easy. Download flipz pre-kitchen, and use a setting in tools called something like sign apk/update.zip. Navigate to where you put your rom, and sign it. Then, your rom should be ready to flash.
This is also a good post to read:
http://forum.xda-developers.com/showthread.php?t=551711
Notes:
*DO NOT* TRY TO FLASH A GSM ROM TO A CDMA HERO!
If you edited a apk, make sure to sign it before zipping it and signing the update.zip.
If you have any problems, I created a IRC channel for this, so I can give live support:
server: irc.bikcmp.info port 6667 (port 6670 for SSL)
channel #hero-cdma
If you don't have a IRC client, use mibbit:
http://widget.mibbit.com/?server=irc.bikcmp.info&channel=%23hero-cdma
Told ya! But, seriously -- thanks a whole hell of a lot, this is very much needed!!
pseudoremora said:
Told ya! But, seriously -- thanks a whole hell of a lot, this is very much needed!!
Click to expand...
Click to collapse
You're welcome! If you have any problems, get me on IRC.
This should be a Sticky!!! Was thinking about doing it but not best speller.......
Thanks for the guide, what I really like is the irc, I think we should have had one of these up for awhile now, it would help keep the clutter in the forums down.
theoottesen said:
Thanks for the guide, what I really like is the irc, I think we should have had one of these up for awhile now, it would help keep the clutter in the forums down.
Click to expand...
Click to collapse
What's even better is it's being DDoSed. . Anyone got a spare server? LOL.
But seriously, DDoS'es ARE NOT COOL.
Alright, I've got my ROM made and everything -- signed it as well. I put it on my SD Card, and its flashes successfully -- but now I'm stuck at the HTC Screen?
I took the battery out; went back into recovery and Wiped and formatted my SD Card, and flashed again (successful), but still stuck on HTC screen?
Any ideas?
bikcmp said:
What's even better is it's being DDoSed. . Anyone got a spare server? LOL.
But seriously, DDoS'es ARE NOT COOL.
Click to expand...
Click to collapse
I think this is crazy awesome to give a small how to on 'cooking' ROMS....I've always been interested! However what are DDoS'es....if it's all good to ask?
I don't have linux on my windows laptop...but do I need to get a dual boot/OS on my laptop to get this running. Last I knew, Linux and Windows were not friends...?
pseudoremora said:
Alright, I've got my ROM made and everything -- signed it as well. I put it on my SD Card, and its flashes successfully -- but now I'm stuck at the HTC Screen?
I took the battery out; went back into recovery and Wiped and formatted my SD Card, and flashed again (successful), but still stuck on HTC screen?
Any ideas?
Click to expand...
Click to collapse
What ROM did you start with...? Did you do all kinds of crazy stuff to it? I found a ROM, downloaded it and opened it....saw a bunch of stuff in there that the OP described. Not quite sure what is game to pull and what is cool to add...?
Konikub said:
What ROM did you start with...? Did you do all kinds of crazy stuff to it? I found a ROM, downloaded it and opened it....saw a bunch of stuff in there that the OP described. Not quite sure what is game to pull and what is cool to add...?
Click to expand...
Click to collapse
Alright -- this is what I did.
1. I made a new folder called Penguin
2. Took Gumbo1.5c and unzipped it
3. Moved all the stuff from Gumbo to Penguin
4. Began removing apps I didn't want in /system/app
5. Added some apps in /data/app
6. Added a white taskbar to its respective dir
7. Added Espresso -- again to its respective dir
8. Added the 2.1 Icons
9. SIGNED the new zipped folder (Penguin) successfully
10. Copied to SD Card
11. Flashed successfully
12. When I reboot, I stuck at the HTC Screen (I waited about 2 and half minutes)
Steps I've taken to solve:
1. Removed battery
2. Wiped
3. Formatted card
4. Flashed again
5. Stuck again at HTC (again 2 minutes or so, until removing battery again)
5. Stuck again
Konikub said:
I think this is crazy awesome to give a small how to on 'cooking' ROMS....I've always been interested! However what are DDoS'es....if it's all good to ask?
I don't have linux on my windows laptop...but do I need to get a dual boot/OS on my laptop to get this running. Last I knew, Linux and Windows were not friends...?
Click to expand...
Click to collapse
DDoS is a denial of service attack. They are attacking my server and also my home network. I've got a lot of it cleared out, but still a lot of IP's doing it. Also, try Wubi for that Linux and windows issue.
Should you have waited longer than 2 and a half mins? I flashed Godzson Dialer and rebooted and it took 5 or 6 mins to boot, and when it did...I was happy.
Not sure if you took too much out or added something you shouldn't have, or just perhaps didn't wait long enough for it to boot.
...OH Wait, you mean that HTC symbol at the very begining..........gotcha now! I at least was on the nexus bootscreen when I waited.
Hope you get an awnser soon, I am looking forward to playing around and perhaps cooking up something good of my own
Konikub said:
Should you have waited longer than 2 and a half mins? I flashed Godzson Dialer and rebooted and it took 5 or 6 mins to boot, and when it did...I was happy.
Not sure if you took too much out or added something you shouldn't have, or just perhaps didn't wait long enough for it to boot.
...OH Wait, you mean that HTC symbol at the very begining..........gotcha now! I at least was on the nexus bootscreen when I waited.
Hope you get an awnser soon, I am looking forward to playing around and perhaps cooking up something good of my own
Click to expand...
Click to collapse
Exactly what I was saying, 2 minutes isn't enough for the first boot. It takes 5 or maybe even 10!
bikcmp said:
Exactly what I was saying, 2 minutes isn't enough for the first boot. It takes 5 or maybe even 10!
Click to expand...
Click to collapse
Well -- I've reflashed and am now playing the waiting game -- going to wait 15 minutes. Started at 2:17 (central)... we'll see in a little bit.
Here is a good list of Apps/Apks I found to help out some who don't know what to remove without causing a slew of FC's......if anyone knows of anymore that are safe, please keep this "How To" going strong!
APPS that are SAFE to remove
Question....where would the respective 'dir' be for throwing 2.1 icons into a ROM while cooking...? data/apps?
I'm honestly trying to google all my questions as well as search this forums threads....but sometimes I don't get the answer I need
Konikub said:
Here is a good list of Apps/Apks I found to help out some who don't know what to remove without causing a slew of FC's......if anyone knows of anymore that are safe, please keep this "How To" going strong!
APPS that are SAFE to remove
Question....where would the respective 'dir' be for throwing 2.1 icons into a ROM while cooking...? data/apps?
I'm honestly trying to google all my questions as well as search this forums threads....but sometimes I don't get the answer I need
Click to expand...
Click to collapse
The directory that the 2.1 icons should go in is /system/app/
Lets say I want to change the Browser.apk icon. I would pull it, open it as a zip file, look for ic_laucher.png (or something of this sort) -- and replace this file with the newly created icon (has to be the SAME name as the original file), you'll copy this new "icon" into the original dir, overwriting the changes -- and that's it.
If you need some help:
This will help you changing icons:
http://forum.androidcentral.com/htc-hero-roms-hacks/6070-changing-hero-application-icons.html
ROM FAQ/Building
http://forum.androidcentral.com/hacking/6037-general-rom-faq.html
I waited 15 minutes and still nothing -- so I just did a nandroid. I'll work on it some more tomorrow.
pseudoremora said:
The directory that the 2.1 icons should go in is /system/app/
Lets say I want to change the Browser.apk icon. I would pull it, open it as a zip file, look for ic_laucher.png (or something of this sort) -- and replace this file with the newly created icon (has to be the SAME name as the original file), you'll copy this new "icon" into the original dir, overwriting the changes -- and that's it.
If you need some help:
This will help you changing icons:
http://forum.androidcentral.com/htc-hero-roms-hacks/6070-changing-hero-application-icons.html
ROM FAQ/Building
http://forum.androidcentral.com/hacking/6037-general-rom-faq.html
I waited 15 minutes and still nothing -- so I just did a nandroid. I'll work on it some more tomorrow.
Click to expand...
Click to collapse
Any luck...? Anyone out there having success in trying to get this to work?
pseudoremora said:
The directory that the 2.1 icons should go in is /system/app/
Lets say I want to change the Browser.apk icon. I would pull it, open it as a zip file, look for ic_laucher.png (or something of this sort) -- and replace this file with the newly created icon (has to be the SAME name as the original file), you'll copy this new "icon" into the original dir, overwriting the changes -- and that's it.
If you need some help:
This will help you changing icons:
http://forum.androidcentral.com/htc-hero-roms-hacks/6070-changing-hero-application-icons.html
ROM FAQ/Building
http://forum.androidcentral.com/hacking/6037-general-rom-faq.html
I waited 15 minutes and still nothing -- so I just did a nandroid. I'll work on it some more tomorrow.
Click to expand...
Click to collapse
Have you tried just opening the zip,editing the name and files inside the zip,then resign it an flash. I ran into problems when I tried to take the files out and make my own.
[email protected] said:
Have you tried just opening the zip,editing the name and files inside the zip,then resign it an flash. I ran into problems when I tried to take the files out and make my own.
Click to expand...
Click to collapse
What files exactly are you saying I should edit? I'm up for any ideas -- I'm definitely going to get this to work, I want to contribute damn it!!
I just downloaded a ROM and took some apks that were on the "SAFE" list to remove from the link in the above post. Replaced some apk files with the 2.1 icons....using the same name as the ones I replaces (so I'm not 'adding' anything new)
Renaming my ROM and then zipping it up to flash. (doing it now, and if that works....then I will play with it a little more and see how far I can get until it does not boot)
HOPEFULLY this boot with what I've just done....lol. I should, I've done nothing really...
THIS GUIDE HAS BEEN REDONE. PLEASE VISIT THIS THREAD:
http://forum.xda-developers.com/showthread.php?t=761819
Just reading through the document now, seems the first link, http://www.soft‐go.com/get/Samsung‐Kies_79632.html isn't working. Not sure if the site is just down right now or if there's a mistake.
Rad_Fishy said:
Just reading through the document now, seems the first link, http://www.soft‐go.com/get/Samsung‐Kies_79632.html isn't working. Not sure if the site is just down right now or if there's a mistake.
Click to expand...
Click to collapse
Thank you I didn't actually add that link it was from systoxity, but i will fix it.
nbs11 said:
Thank you I didn't actually add that link it was from systoxity, but i will fix it.
Click to expand...
Click to collapse
I Fixed it
A few small things:
Intel should be intel.
Under CPU Optimization:
"Samsung’s CPU is set by default the run at 1gHz."
The should be to.
Sideloading:
"(don’t forget that after you install it from the market you still have to go to your app drawer and run busybox once so it installs)."
Should this be after you download it from the market?
ClockworkMod Recovery:
"ClockworkMod written for us by a developer that goes by the name of Koush"
Missing is.
"This gent puts a ton of work into helping us captivate owners out"
Replace puts with put and Capitalize Captivate.
Changing Your Messaging Ringtone:
"well the ones that matter anyway.."
Extra period.
Other than that, excellent guide. I'll definitely be using it when my Captivate arrives.
Rad_Fishy said:
A few small things:
Intel should be intel.
Under CPU Optimization:
"Samsung’s CPU is set by default the run at 1gHz."
The should be to.
Sideloading:
"(don’t forget that after you install it from the market you still have to go to your app drawer and run busybox once so it installs)."
Should this be after you download it from the market?
ClockworkMod Recovery:
"ClockworkMod written for us by a developer that goes by the name of Koush"
Missing is.
"This gent puts a ton of work into helping us captivate owners out"
Replace puts with put and Capitalize Captivate.
Changing Your Messaging Ringtone:
"well the ones that matter anyway.."
Extra period.
Other than that, excellent guide. I'll definitely be using it when my Captivate arrives.
Click to expand...
Click to collapse
Thanks! I fixed all those errors but I'm not gonna upload the new version just yet because I will keep finding more errors so it just seems wasteful. I did not actually write most of the guide myself I just formatted it so there may be some mistakes I didn't pick up on.
i used this guide today and it delivered.
orlandoxpolice said:
i used this guide today and it delivered.
Click to expand...
Click to collapse
If there was anything you found difficult or anything you would like to change just tell me and I will add it to tonight's update.
Hi,
Thanks for publishing this. It looks very useful, similar to Energy ROM.. But I am very new to Android phones (trying this on Samsung Captivate from AT&T, bought yesterday). I am running windows 7 ultimate 64bit and I exactly followed this guide. But somehow I am still not able to see the sd card. I tried placing the update.zip at Computer\SGH-I897\Phone and shut down the phone and tried restarting the phone by holding the up/down keys as well as power button. But after selecting reinstall packages it said could not find /sdcard/update.zip.. Pls held. Again very sorry if I did some mistake..
ask_j said:
Hi,
Thanks for publishing this. It looks very useful, similar to Energy ROM.. But I am very new to Android phones (trying this on Samsung Captivate from AT&T, bought yesterday). I am running windows 7 ultimate 64bit and I exactly followed this guide. But somehow I am still not able to see the sd card. I tried placing the update.zip at Computer\SGH-I897\Phone and shut down the phone and tried restarting the phone by holding the up/down keys as well as power button. But after selecting reinstall packages it said could not find /sdcard/update.zip.. Pls held. Again very sorry if I did some mistake..
Click to expand...
Click to collapse
The SD card is simply the root directory of your phone. You do not need to open a folder, it is the highest folder you can place it in. Hope that helps
Somehow it was not able to find the sdcard root. Then I realized that you mentioned something called as Droid Explorer, I searched for it and installed it on my PC. But when I opened Droid Explorer, my device was not recognized, then I clicked on link on the explorer window, upon watching that video I enabled the USB Debugging, then I was able to see my device, then I selected connect to my device. After that I saw an explorer but it had empty root and I was not able to copy anything. There was a menu button at the top row named "Transfer to device or Copy to device" I selected that and selected update.zip file and tried to transfer. Something happened but still explorer was empty. Then from my phone Top slide down menu I selected mount USB storage and I started seeing windows explorer on my PC. Then apart from other folders I could see a folder sd in the root. Then I again put update.zip in the root.
Then followed the restart sequence, this time it found the file but exited after Signal 7. It was trying to asert something but could not find the correct model number I guess. My cell phone's model number is Samsung i897.
Please help
ask_j said:
Somehow it was not able to find the sdcard root. Then I realized that you mentioned something called as Droid Explorer, I searched for it and installed it on my PC. But when I opened Droid Explorer, my device was not recognized, then I clicked on link on the explorer window, upon watching that video I enabled the USB Debugging, then I was able to see my device, then I selected connect to my device. After that I saw an explorer but it had empty root and I was not able to copy anything. There was a menu button at the top row named "Transfer to device or Copy to device" I selected that and selected update.zip file and tried to transfer. Something happened but still explorer was empty. Then from my phone Top slide down menu I selected mount USB storage and I started seeing windows explorer on my PC. Then apart from other folders I could see a folder sd in the root. Then I again put update.zip in the root.
Then followed the restart sequence, this time it found the file but exited after Signal 7. It was trying to asert something but could not find the correct model number I guess. My cell phone's model number is Samsung i897.
Please help
Click to expand...
Click to collapse
I did not write the PC instructions, so I can not help you (I only have a Mac). But the person who did can probably help you his username is systoxity.
Because not enough errors were found to make it worthwhile to update the PDF i will wait till tomorrow to fix the minor errors.
Good source of information
Thank you for putting this together. I am going to sticky this for the time being.
For installing the latest version of busy box, you should include that before the instructions for running titanium backup...the latest version of busybox installed from the market will work with titanium backup so theres no need to have to click the "problems" button...this way you wont have to do the busybox download step twice...should also save a few megs since titanium backup wont have its own copy of busybox installed BTW nice guide
You can also just mount the phone memory using windows explorer and move the file over. I was never able to get droid explorer to transfer the file. It always said it went but then was never there.
Anyway all I did was connected just as I was going to connect to kies but then when windows asked me what I wanted to do I clicked on open file view and dropped updated.zip on my phone.
Only issue that I had with rooting was I accidentally opened the file in windows(winrar). After I moved the file over it found it and attempted to install it but then exited with an error(do not remember exact error), but had to do with mounting. Anyway I re-downloaded file and saw file size was different. After I moved the file over again everything went great. I still haven't removed bloat-ware and such but thats next on the agenda.
Also I was on windows 7 64 bit, saw some other users in other threads saying they had issues connecting the phone. Everything so far has worked great for me
Thank you very much for this handy pdf file!
Somelinks aren't working
First of all I have to say very good guide for noobs!
1. when I downloaded the update.zip folder I didn't work I guess because the name of Samsung captivate is not in the folder or something. So I just downloaded the other file from the forums.
2. Link to CPU optimization doesn't work.
3. I downloaded the droid explorer. It connected to my phone but I was unable to transfer anything. So I just tapped on the USB connected in the notification bar and mounted the phone. This allowed me to use windows explorer to transfer files. I believe one can transfer files by selecting the option of Samsung Kies under USB settings.
I got all your feedback. It will all be corrected by tomorrow night.
Cool guide however the rumor is the GPS only gets turned on when pulling up an App that uses it, so that step in the "battery saving" section might not be necessary.
Also you may want to replace Market Enabler with Market Access. It's a rehash of Market Enabler but also has a Set on Boot option that keeps it persistent versus being reset each time.
You also Might want to add a Tips/Tricks Section..
Here You can put some cool tips like the one i found out about backlight control.
(found here: http://forum.xda-developers.com/showthread.php?t=735394 )
Hello
It was pretty hard to send/receive files, mount,remount to and from Android Mobile Phones (developed against Galaxy S) while in debug mode so i have made a application to do this.
Visit mainsite
http://www.softdevs.se
Features
*Reboot to recover/download and reboot buttons.
*Send or receive files from/to device
*Send folder to device
*Delete files/folder on the device.
*Bulk installation of apps to internal/external sd
*Bulk uninstall apps
*Drag&Drop file support to sendlistbox
*Mount/remount RO,RW capabilities
*Show mount table
*Add your own mount commands to listbox permanent
*Use of mount preconfigs
*Execute commands
*Delete/copy files and apps from:
/sdcard/, /, /system/, /system/app/, /system/csc/, /system/etc/, /system/fonts/
/system/framework/, /etc/init.d/, /data/app/
Request additions & improvements in this thread or at the mainsite
Visit mainsite
http://www.softdevs.se
cool.
why not just use ftp??
it's so much faster... all u have to do i open ftp server on phone and then client on pc connenct....transfer
Nice work! This will probably come in handy. Can you publish the source I'd like to look at it for educational purposes
crazykiddo said:
cool.
why not just use ftp??
it's so much faster... all u have to do i open ftp server on phone and then client on pc connenct....transfer
Click to expand...
Click to collapse
ADB is faster than FTP especially for large files
Nice work pal. Please include cut copy paste and delete option to and from phone. Thanks again.
Really nice (I might even try it out), but question - what is wrong with simple drag and copy? =)
im using android commander
gonna try it, nice work
Im using Qtadb, good work though! Keep it coming.
any advantage over androidSamba?
I'd like copy past running files on windows explorer with samba all the time.
Edit: Sry My Fault...ADB File Pushing, That is interesting.
dupel said:
Really nice (I might even try it out), but question - what is wrong with simple drag and copy? =)
Click to expand...
Click to collapse
This application transfer files when telefone is in debug mode so you cant use drag & drop.
Thanks for all feedback.
I am working on the next version wich will tell when select files has been sent to telefone.
A-son
Nice, but why reinvent the wheel? Did you try android commander?
Sent from my GT-I9000 using XDA App
1.0.0.12
Updated first post with the new version 1.0.0.12
shawn_pro said:
Nice work pal. Please include cut copy paste and delete option to and from phone. Thanks again.
Click to expand...
Click to collapse
Now there is support for Drag & Drop files to sendlistbox.
mr_at_sgs said:
Nice, but why reinvent the wheel? Did you try android commander?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Not the whole wheel, just the bars from center to rimb -
crazykiddo said:
cool.
why not just use ftp??
it's so much faster... all u have to do i open ftp server on phone and then client on pc connenct....transfer
Click to expand...
Click to collapse
I dont want to have to install ftpserver before i can transfer files.
This is a really good application.
Thanks
morefood said:
This is a really good application.
Thanks
Click to expand...
Click to collapse
Im glad you like it!
Thank you
Muspelheim 1.0.0.16
New Museplheim release
First post updated with 1.0.0.16
The program does not start on my computer. Also, the installation wizard was in a language I don't know, hehe.
(Windows 7 x64. ADB works for me. Phone connected or not connected makes no difference.)
jjwa said:
The program does not start on my computer. Also, the installation wizard was in a language I don't know, hehe.
(Windows 7 x64. ADB works for me. Phone connected or not connected makes no difference.)
Click to expand...
Click to collapse
Hi
Sounds strange that it does not start.
What version are you trying, 1.0.0.26 is relased.
Im also on W7 X64 and it do works fine.
Well the installtion language is in spanish , but as always, its only Next, Next and Next......
EDIT: Do you have Microsoft .net framework 4.0 installed?
EDIT: The problem is for x86 computers, its working ok in x64
Although application is build for x86 it doesnt work, very strange...
Working on this....
A-son
Muspelheim 1.0.0.28
Posted on December 14, 2010
*Now working on both x86 and x64
Sorry for the inconvenience
Just a quick question from someone who isn't that experienced with all of these things:
Could this program be used to remove bloatware? As in, the preinstalled carrier/regional apps?
I used to do this with Root Explorer, but this seems no longer possible under froyo and this looks like a fairly easy solution to that problem.
Thanks for your help.
Daan518 said:
Just a quick question from someone who isn't that experienced with all of these things:
Could this program be used to remove bloatware? As in, the preinstalled carrier/regional apps?
I used to do this with Root Explorer, but this seems no longer possible under froyo and this looks like a fairly easy solution to that problem.
Thanks for your help.
Click to expand...
Click to collapse
Hello
No it can not be used to remove bloatware. But you can remount /system to RW with this app.
But perhaps it could be, i take a look into this.
a-son
hey all,
i been using custom ROM since i got my nexus 5. Never really had any problem so far. i started testing Carbon hammerhead few days ago on 20140325 nightly.. didn't had any problem and update to 20140328 by copying the zip file to the root and now i am trying to update to their new release but having problem copying files on phone, keeps giving me error saying "Cannot copy item - The device has either stopped responding or has been disconnected". i have Android Debugging is enabled, checked on unknown sources, checked on Media device (MTP). Anyone know how to solve this problem !!!
thanks
tenzi said:
hey all,
i been using custom ROM since i got my nexus 5. Never really had any problem so far. i started testing Carbon hammerhead few days ago on 20140325 nightly.. didn't had any problem and update to 20140328 by copying the zip file to the root and now i am trying to update to their new release but having problem copying files on phone, keeps giving me error saying "Cannot copy item - The device has either stopped responding or has been disconnected". i have Android Debugging is enabled, checked on unknown sources, checked on Media device (MTP). Anyone know how to solve this problem !!!
thanks
Click to expand...
Click to collapse
Try unchecking Android Debugging. I can't seem to copy files unless that is unchecked.
marleyfan61 said:
Try unchecking Android Debugging. I can't seem to copy files unless that is unchecked.
Click to expand...
Click to collapse
Thanks, tried your suggestion unfortunately it didn't worked .. even tried changing the wire and the port
tenzi said:
Thanks, tried your suggestion unfortunately it didn't worked .. even tried changing the wire and the port
Click to expand...
Click to collapse
Try and reboot the phone and the PC. Then reconnect the phone to the PC with USB debugging disabled.
If not maybe check your PC drivers.
You could also use adb to push the ROM.
xdrc45 said:
Try and reboot the phone and the PC. Then reconnect the phone to the PC with USB debugging disabled.
If not maybe check your PC drivers.
You could also use adb to push the ROM.
Click to expand...
Click to collapse
can't figure out .. tried through adb but its keep giving me error. So unroot the phone and now back to stock.. and will try again from here .. But anyways, thanks guys for comments and suggestion.
p.s. just quick question ... does this problem had to do anything with the rom ? i never had such problem before !!
thanks
tenzi said:
can't figure out .. tried through adb but its keep giving me error. So unroot the phone and now back to stock.. and will try again from here .. But anyways, thanks guys for comments and suggestion.
p.s. just quick question ... does this problem had to do anything with the rom ? i never had such problem before !!
thanks
Click to expand...
Click to collapse
It's possible that it could be the ROM but I'd think it has something more to do with your PC if it was working before.
Do you know of some update or change recently on the PC?
What error did you get when trying to push the ROM?
Let us know if it works once your back to stock.
tenzi said:
hey all,
i been using custom ROM since i got my nexus 5. Never really had any problem so far. i started testing Carbon hammerhead few days ago on 20140325 nightly.. didn't had any problem and update to 20140328 by copying the zip file to the root and now i am trying to update to their new release but having problem copying files on phone, keeps giving me error saying "Cannot copy item - The device has either stopped responding or has been disconnected". i have Android Debugging is enabled, checked on unknown sources, checked on Media device (MTP). Anyone know how to solve this problem !!!
thanks
Click to expand...
Click to collapse
I have few suggestions. If you are trying to copy zip file to phone, then dont do it. Put all the files you need in a folder and then copy to phone.
if it still gives error then try to copy to Downloads folder.
I had issues copying rar,zip files to phone. Due to filename length sometimes it doesnt allow you to copy.
Zaib
When i had such an issue i put in the folder i copied the files to a ".nomedia" file. You can find this kind of files on your device storage, copy your files to this location. I think what happens is that the phone is trying to index the files and fail. The ".nomedia" file prevent it from indexing.
Sent from my Nexus 5 using Tapatalk
I heard somewhere that temporarily changing the filename extention to something else, e.g., ".bak", will solve the problem.
Why not just download it straight to the phone?
Sent from my GT-N7105 using xda app-developers app
xdrc45 said:
It's possible that it could be the ROM but I'd think it has something more to do with your PC if it was working before.
Do you know of some update or change recently on the PC?
What error did you get when trying to push the ROM?
Let us know if it works once your back to stock.
Click to expand...
Click to collapse
I really don't think i had any new updates on my laptop. The error that it gives me when i drag and drop the .zip file on the root folder of the phone was "Cannot copy item - The device has either stopped responding or has been disconnected".
Well, flashed back to stock and rooted back again to the latest nightly released from " Carbon Hammerhead nightly ". Still wondering what went wrong !! i did the same procedure that i did last time .. hmmmmm. Will update when i do next update
thanks
zaibrockstar said:
I have few suggestions. If you are trying to copy zip file to phone, then dont do it. Put all the files you need in a folder and then copy to phone.
if it still gives error then try to copy to Downloads folder.
I had issues copying rar,zip files to phone. Due to filename length sometimes it doesnt allow you to copy.
Zaib
Click to expand...
Click to collapse
will surely keep that in mind, next time i do the update
thanks
The phone isn't the problem, the zip file is most likely corrupted. Try downloading it again. I ran into this exact same issue last week
Sent from my Nexus 5 using xda app-developers app
update
this is my fourth update now , since i went back to stock, root and running the same ROM. I am not sure what went wrong last time. Only thing i did extra that i remember is that i went to the advance to wipe and select all except for the system. other than that i follow the same procedure !!! could be corrupt zip file or may be something else .. really have no clue whats the main reason ....
Thanks for all the suggestion
When I first got my phone last week I tried to put some custom ROMs and mods on the internal storage but it wouldn't let me do it... so I copied a jpg image to the phone first and then it let copy the zip files
tenzi said:
this is my fourth update now , since i went back to stock, root and running the same ROM. I am not sure what went wrong last time. Only thing i did extra that i remember is that i went to the advance to wipe and select all except for the system. other than that i follow the same procedure !!! could be corrupt zip file or may be something else .. really have no clue whats the main reason ....
Thanks for all the suggestion
Click to expand...
Click to collapse
This happens to me almost allday because im consantly copying pulling the plug right out .When this happen go to device manager portable devices and uninstall the driver while your phones plug in, when done go notifaction panel and uncheck mtp, recheck mtp , let windows reinstall driver and your good. Now somtimes you can unplug your phone from pc than uncheck mtp/ recheck and plug phone back up and wula.
Solved!
daman215 said:
This happens to me almost allday because im consantly copying pulling the plug right out .When this happen go to device manager portable devices and uninstall the driver while your phones plug in, when done go notifaction panel and uncheck mtp, recheck mtp , let windows reinstall driver and your good. Now somtimes you can unplug your phone from pc than uncheck mtp/ recheck and plug phone back up and wula.
Click to expand...
Click to collapse
I just tried to copy a JPG file and it worked i had the same error message while copying .zip files.
i just renamed the file to .JPG on PC then revert back to .zip on the Nexus 5.
it's actually very weird behavior , what's the point ?!
PreambleI oft find in various forums that people are so filled with the milk of human kindness that they just can't wait to help, ( or may gain a few more badges~) ignoring everything but the heading.
And in doing so ask foolish questions.
So, please DO READ to the end.
UPDATE
Thanks to @ jwoegerbauer I now know I can't install the Lantern APK via recovery. I must use ADB which I have previously tried but failed.
Obviously, therefore I do not know what I am doing with ADB.
My tasks focus now is to install Lantern APK via ADB with the devices , tools and systems already mentioned. (below)
Unless someone, somewhere knows where I can find a Lantern ZIP file which I can flash. (seems I am good at that now at least~)
Please DO read everything below ladies and gents, my sense of humour and patience does have a limit~
Mobile Device DetailsSamsung note 3 originally 9006 Chinese ROM
Rooted via Odin to 9005
Upgraded to Lineage ROM 18
Uploaded pico Gapps
Uploaded Magisk v23
Desktop Machine
Asus P5BSE / Core2 Duo E4400 @ 2.00GHz / 4GB ram / 2TB storage / Linix; Zorin Core 15.3
Project in briefTo install Lantern. (getlantern.org)
Lantern is usually installed via Google play store.
Google is blocked in China.
Downloaded Lantern APK to upload to phone via recovery from SD card.
Recovery does not show the APK in the SD card.
Stuck.
Further info - useful?During one of my many attempts to install Lineage following a blog, I wiped the disk in error.
I also suspect I removed the backup of the original Samsung system as when I tried to reboot, TWRP mentioned there was no O/S.
Nothing I could do restored the original.
What was it Macbeth said about being in blood stepped so far?
On my final install of Lineage 18 I seem now to have their Recovery, not TWRP.
I am happy with that, seems no big deal for me, I was able to successfully install the new OS + Gapps. And it is one less APP to install
I also have Magisk installed, the device is in dev mode and - seemingly rooted. (although the App does not explicitly say so)
Using a borrowed SIM card I can connect to the China mobile network system.
I now have a fully functional, working , English language device with Lineage 18.
Brilliant!
My last task is to figure out how to get the Lantern App sorted.
I have downloaded the APK from their official site, several others as well as a supposedly zip file.
Saved to SD card, visible when viewed on Linux, invisible when card is installed in mobile.
I really do not know quite how to proceed from here.
If I have missed anything, sorry, please ask.
Huge thanks to RAIZ from this forum for getting me to this stage and the guys who made Lineage 18 so darn easy to install and seemingly impossible to mess up.
And boy oh boy, believe me, I have really tried over the past few months~!
thebic said:
Mobile Device DetailsSamsung note 3 originally 9006 Chinese ROM
Rooted via Odin to 9005
Upgraded to Lineage ROM 18
Uploaded pico Gapps
Uploaded Magisk v23
Desktop Machine
Asus P5BSE / Core2 Duo E4400 @ 2.00GHz / 4GB ram / 2TB storage / Linix; Zorin Core 15.3
Project in briefTo install Lantern. (getlantern.org)
Lantern is usually installed via Google play store.
Google is blocked in China.
Downloaded Lantern APK to upload to phone via recovery from SD card.
Recovery does not show the APK in the SD card.
Stuck.
Further info - useful?During one of my attempts to install Lineage following a blog, I wiped the disk in error.
I also suspect I removed the backup of the original Samsung system as when I tried to reboot, TWRP mentioned there was no O/S.
Nothing I could do restored the original.
What was it Macbeth said about being in blood stepped so far?
On my final install of Lineage 18 I seem now to have their Recovery, not TWRP.
Seems no big deal for me, I was able to successfully install the new OS + Gapps.
I also have Magisk installed, the device is in dev mode and - seemingly rooted. (although the App does not explicitly say so)
Using a borrowed SIM card I can connect to the China mobile network system.
I now have a fully functional, working , English language device with Lineage 18.
Brilliant!
My last task is to figure out how to get the Lantern App sorted.
I have downloaded the APK from their official site, several others as well as a supposedly zip file.
Saved to SD card, visible when viewed on Linux, invisible when card is installed in mobile.
I really do not know quite how to proceed from here.
If I have missed anything, sorry, please ask.
Huge thanks to RAIZ from this forum for getting me to this stage and the guys who made Lineage 18 so darn easy to install and seemingly impossible to mess up.
And boy oh boy, believe me, I have really tried over the past few months~!
Click to expand...
Click to collapse
What recovery are you using? Have you tried different recoveries?
What version of twrp are you running?
An APK will never get installed via Recovery.
You typically install an APK ( sideload method ) by means of ADB.
Code:
adb devices
adb install <FULL-PATHNAME-OF-APK-ON-PC-HERE>
Yeah you could use adb sideload in twrp.
jwoegerbauer said:
An APK will never get installed via Recovery.
You typically install an APK ( sideload method ) by means of ADB.
Click to expand...
Click to collapse
Hehe, I can verify your first statement!
Do you have a link you can direct me to please as to how to do it via ADB in Lineage recovery as I did try that (side loading) via TWRP and it threw back an error. I can't recall but I think it was permissions or similar?
Sorry, I forgot to mention that in my post.
Thx for your constructive feedback - much appreciated.
P
Re-read my cited post: I've edited it.
jwoegerbauer said:
An APK will never get installed via Recovery.
You typically install an APK ( sideload method ) by means of ADB.
Code:
adb devices
adb install <FULL-PATHNAME-OF-APK-ON-PC-HERE>
Click to expand...
Click to collapse
Ohhhhh Kayyyyyy - coping.
Just.
You have added code?
Before I go ahead and destroy New York, I use that where?
How?
and errr... why?
I am guessing in Terminal, but I am not really sure what I am trying to achieve here.
Sorry, not arguing or being difficult, I just find it helps me if I know what EXPECTED outcomes are. Just in case it isn't what I should expect. :>(
Thx for your patience.
p
I think the understandable answer is given here:
adb install - Android ADB Shell Commands Manual
adbshell.com
Of course it's required ADB got installed on Windows computer if not done yet: if not then you may use the installer script linked to in my signature.
jwoegerbauer said:
I think the understandable answer is given here:
adb install - Android ADB Shell Commands Manual
adbshell.com
Of course it's required ADB got installed on Windows computer if not done yet: if not then you may use the installer script linked to in my signature.
Click to expand...
Click to collapse
Thx not so helpful.
I've edited my post with a preamble, please check it when you have time.
Have a nice weekend.
thebic said:
Thx not so helpful.
I've edited my post with a preamble, please check it when you have time.
Have a nice weekend.
Click to expand...
Click to collapse
[email protected]:~$ adb install test.apk
can't find 'test.apk' to install
[email protected]:~$
I seem to be going in ever decreasing circles.
Please help me out- what is protocol.
Do I keep updating my progress - or lack of- here, in this dialogue, or should I continue to update my original post?
Which one best communicates to everyone where I am at?
Cheers
thebic said:
[email protected]:~$ adb install test.apk
can't find 'test.apk' to install
[email protected]:~$
Click to expand...
Click to collapse
You forgot to add the exact file directory.
Keno_I said:
You forgot to add the exact file directory.
Click to expand...
Click to collapse
Did it work after adding the file directory?
You are right.
I am not sure how this forum works, so it was more of a post to jwoegerbauer.
Anyway, even opening the folder with terminal and using adb install lantern-installer failed with a CLOSE error message. I guess that meant close as in shut not closes as in almost!
I can, using Lineageos recovery access ADP on my phone with the instruction: " now send the package you want to apply to the device with "adb sideload <filename>"
However that triggers a screed of data in terminal which, frankly, is well beyond my rudimentary level of comprehension.
I have tried following 3 other on line tuts which suggest using ADB on my computer. All goes well until the instruction: <adb devices> which returns:
$ adb devices
List of devices attached
In other words, computer can't find phone!
I initially tried it in DOWLOAD mode, with the usual "download in progress, do not disconnect source."
Then reading the tuts again, none mentioned download mode so I tried with just the device attached to the machine in normal phone usage mode. Checked that SAMSUNG was visible and I could open the folders but again failed. ( sorry I forget what that error message was)
So far the most positive has been the direct ADB via Lineageos, but I have no idea where to go from there.
It is knocking on 37* here, too hot to think so I am taking a break.
Thx for your latest efforts.
Cheers
P
OK Finally!
[email protected]:~$ adb devices
List of devices attached
438f904d device
[email protected]:~$ adb install /home/bicyu/Sam-upgrade/lantern-installer/lantern-installer.apk
Performing Streamed Install
Success
[email protected]:~$
I have read so many posts all end with the <adb devices> and on each one I see zilch.
So, for anyone else in this boat, here is my solution.
In developer OPTIONS on your LINEAGEos device scroll down to
DEFAULT USB CONFIGURATIONVery likely it is set to FILE TRANSFER - mine was.
Change it to USB TETHERING
Then enter < adb devices> in terminal.
You should then see your Android listed.
Proceed with: adb install <FULL-PATHNAME-OF-APK-ON-PC-HERE>
You should see a SUCCESS flag!
NOTES: This works in Lineageos ROM on Linux, ( Ubuntu / Zorin O/S)
I dunno about others.
You need to have dev options activated.
Change the USB setting back when done, otherwise it tends to mess up your Internet! (did mine anyway!)
This is the best background tut to ADB I found.
He talks about a USB3 bug which, apparently, creates the same problem - maybe THAT is your issue? It was that article which put me on the USB CONFIG train.
Hope this helps someone.
A REALLY HUGE thank you to jwoegerbauer for putting me
on the right track - wrong train, - but right track.
Cheers mate!
Glad to hear you solved it.
Only to have mentioned it, there is a workaround - as always because many ways leads to Rome:
Copy the APK of interest onto MicroSD-card, plug the card into phone, afterwards using any File Manager application that is installed on phone, navigate to the location on MicroSD where the APK file is located and finally double-click on the APK file: this will install the APK.
Yep! Well good luck
jwoegerbauer said:
Glad to here you solved it.
Only to have mentioned it, there is a workaround - as always because many ways leads to Rome:
Copy the APK of interest onto MicroSD-card, plug the card into phone, afterwards using any File Manager application that is installed on phone, navigate to the location on MicroSD where the APK file is located and finally double-click on the APK file: this will install the APK.
Click to expand...
Click to collapse
NOW he tells me!
That was where I began 2+ weeks back, downloading to SD card and trying to find a way inside the phone to do it. Never thought of File Manager! Duh~
Take care buddy, enjoy your weekend, wherever you are.
p
thebic said:
NOW he tells me!
That was where I began 2+ weeks back, downloading to SD card and trying to find a way inside the phone to do it. Never thought of File Manager! Duh~
Take care buddy, enjoy your weekend, wherever you are.
p
Click to expand...
Click to collapse
Aroma File Manager, how nostalgic~
Now to wait till a mod closes this post